Revision: 37773
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37773
Author:   dfelinto
Date:     2011-06-23 22:29:02 +0000 (Thu, 23 Jun 2011)
Log Message:
-----------
revert commit 27133: Committing patch [#27133] "Fix for for Object Color in 
BGE" by Kupoman
This was causing a lot of backward compatibility problems and side effects.

It has to be done properly, linked with Material ObjectColor shader_flag or at 
least the TF OBCOLOR (which apparently worked at some point so I've been told).
If you need to use OBCOLOR simply keyframe the obcolor and it will work as 
before.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Converter/BL_BlenderDataConversion.cpp

Modified: trunk/blender/source/gameengine/Converter/BL_BlenderDataConversion.cpp
===================================================================
--- trunk/blender/source/gameengine/Converter/BL_BlenderDataConversion.cpp      
2011-06-23 22:23:46 UTC (rev 37772)
+++ trunk/blender/source/gameengine/Converter/BL_BlenderDataConversion.cpp      
2011-06-23 22:29:02 UTC (rev 37773)
@@ -1840,7 +1840,6 @@
        {
                gameobj->SetLayer(ob->lay);
                gameobj->SetBlenderObject(ob);
-               gameobj->SetObjectColor(ob->col);
                /* set the visibility state based on the objects render option 
in the outliner */
                if(ob->restrictflag & OB_RESTRICT_RENDER) 
gameobj->SetVisible(0, 0);
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to