src/glRenderer.cc

changeset 821
a67b1201942a
parent 818
748ba8818af8
child 823
1a2f593f0c02
equal deleted inserted replaced
820:ea8360fe7c8b 821:a67b1201942a
835 835
836 // Draw the actual icons 836 // Draw the actual icons
837 for (CameraIcon& info : m_cameraIcons) 837 for (CameraIcon& info : m_cameraIcons)
838 { 838 {
839 // Don't draw the free camera icon when in draw mode 839 // Don't draw the free camera icon when in draw mode
840 if (&info == &m_cameraIcons[EFreeCamera] && editMode() != ESelectMode) 840 if (&info == &m_cameraIcons[EFreeCamera] && not eq (editMode(), ESelectMode, EMagicWandMode))
841 continue; 841 continue;
842 842
843 paint.drawPixmap (info.destRect, *info.img, info.srcRect); 843 paint.drawPixmap (info.destRect, *info.img, info.srcRect);
844 } 844 }
845 845

mercurial