[Bf-blender-cvs] [9b2fff4ff81] blender2.8: UI: On markers alternate between filled/outline camera icon on selection.

Pablo Vazquez noreply at git.blender.org
Sat Nov 3 04:39:45 CET 2018


Commit: 9b2fff4ff8181a05434eab927bdba9057e1fc165
Author: Pablo Vazquez
Date:   Sat Nov 3 04:39:40 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB9b2fff4ff8181a05434eab927bdba9057e1fc165

UI: On markers alternate between filled/outline camera icon on selection.

Instead of between the Camera and Camera Data as they are completely different shapes that don't indicate selection.

===================================================================

M	source/blender/editors/animation/anim_markers.c

===================================================================

diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c
index e44edae22a1..857400b3810 100644
--- a/source/blender/editors/animation/anim_markers.c
+++ b/source/blender/editors/animation/anim_markers.c
@@ -437,7 +437,7 @@ static void draw_marker(
 #ifdef DURIAN_CAMERA_SWITCH
 	else if (marker->camera) {
 		icon_id = (marker->flag & SELECT) ? ICON_OUTLINER_OB_CAMERA :
-		          ICON_OUTLINER_DATA_CAMERA;
+		          ICON_CAMERA_DATA;
 	}
 #endif
 	else {



More information about the Bf-blender-cvs mailing list