[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [16530] trunk/blender/source/gameengine/ Ketsji/KX_VisibilityActuator.cpp: Fix for bug #4859: once a visibility actuator was set it was not

Brecht Van Lommel brechtvanlommel at pandora.be
Mon Sep 15 02:34:51 CEST 2008


Revision: 16530
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16530
Author:   blendix
Date:     2008-09-15 02:34:43 +0200 (Mon, 15 Sep 2008)

Log Message:
-----------
Fix for bug #4859: once a visibility actuator was set it was not
possible to change the visibility again through python for example.
This is because the actuator kept setting the visibility again each
frame, as a workaround for there being no separate visible and
viewport culling flag, but that was added some time ago.

Modified Paths:
--------------
    trunk/blender/source/gameengine/Ketsji/KX_VisibilityActuator.cpp

Modified: trunk/blender/source/gameengine/Ketsji/KX_VisibilityActuator.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_VisibilityActuator.cpp	2008-09-15 00:11:30 UTC (rev 16529)
+++ trunk/blender/source/gameengine/Ketsji/KX_VisibilityActuator.cpp	2008-09-15 00:34:43 UTC (rev 16530)
@@ -80,7 +80,7 @@
 	obj->SetVisible(m_visible, m_recursive);
 	obj->UpdateBuckets(m_recursive);
 
-	return true;
+	return false;
 }
 
 /* ------------------------------------------------------------------------- */





More information about the Bf-blender-cvs mailing list