[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38144] branches/soc-2011-pepper/source/ blender/editors/space_view3d/drawarmature.c: Bugfix [#27825] Pose Mode Armatures different fill colors

Joshua Leung aligorith at gmail.com
Wed Jul 6 12:45:26 CEST 2011


Revision: 38144
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38144
Author:   aligorith
Date:     2011-07-06 10:45:25 +0000 (Wed, 06 Jul 2011)
Log Message:
-----------
Bugfix [#27825] Pose Mode Armatures different fill colors

Old light-blue colouring for "keyed" bones is no longer applied, even
if the flags were set in earlier versions of Blender.

This was a legacy feature used to get around some ancient issues,
which isn't needed anymore. Instead, it ends up causing confusion, so
removing.

Modified Paths:
--------------
    branches/soc-2011-pepper/source/blender/editors/space_view3d/drawarmature.c

Modified: branches/soc-2011-pepper/source/blender/editors/space_view3d/drawarmature.c
===================================================================
--- branches/soc-2011-pepper/source/blender/editors/space_view3d/drawarmature.c	2011-07-06 10:36:25 UTC (rev 38143)
+++ branches/soc-2011-pepper/source/blender/editors/space_view3d/drawarmature.c	2011-07-06 10:45:25 UTC (rev 38144)
@@ -201,7 +201,6 @@
 			else if (constflag & PCHAN_HAS_IK) glColor4ub(255, 255, 0, 80);
 			else if (constflag & PCHAN_HAS_SPLINEIK) glColor4ub(200, 255, 0, 80);
 			else if (constflag & PCHAN_HAS_CONST) glColor4ub(0, 255, 120, 80);
-			else if (constflag) UI_ThemeColor4(TH_BONE_POSE);	// PCHAN_HAS_ACTION 
 			
 			return 1;
 		}
@@ -1944,8 +1943,6 @@
 					
 					/* extra draw service for pose mode */
 					constflag= pchan->constflag;
-					if (pchan->flag & (POSE_ROT|POSE_LOC|POSE_SIZE))
-						constflag |= PCHAN_HAS_ACTION;
 
 					/* set color-set to use */
 					set_pchan_colorset(ob, pchan);




More information about the Bf-blender-cvs mailing list