- draw the free camera icon when in magic wand mode

Fri, 04 Jul 2014 00:09:37 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 04 Jul 2014 00:09:37 +0300
changeset 821
a67b1201942a
parent 820
ea8360fe7c8b
child 822
556c6bfe64d9
child 823
1a2f593f0c02

- draw the free camera icon when in magic wand mode

src/glRenderer.cc file | annotate | diff | comparison | revisions
--- a/src/glRenderer.cc	Fri Jul 04 00:05:23 2014 +0300
+++ b/src/glRenderer.cc	Fri Jul 04 00:09:37 2014 +0300
@@ -837,7 +837,7 @@
 		for (CameraIcon& info : m_cameraIcons)
 		{
 			// Don't draw the free camera icon when in draw mode
-			if (&info == &m_cameraIcons[EFreeCamera] && editMode() != ESelectMode)
+			if (&info == &m_cameraIcons[EFreeCamera] && not eq (editMode(), ESelectMode, EMagicWandMode))
 				continue;
 
 			paint.drawPixmap (info.destRect, *info.img, info.srcRect);

mercurial