[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30106] trunk/blender/source/blender/ editors/space_logic/logic_window.c: Logic UI: small commit - set visible flag for sensor and actuator ( so it works with the move logic bricks operator to be committed)

Dalai Felinto dfelinto at gmail.com
Thu Jul 8 11:25:18 CEST 2010


Revision: 30106
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30106
Author:   dfelinto
Date:     2010-07-08 11:25:18 +0200 (Thu, 08 Jul 2010)

Log Message:
-----------
Logic UI: small commit - set visible flag for sensor and actuator (so it works with the move logic bricks operator to be committed)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_logic/logic_window.c

Modified: trunk/blender/source/blender/editors/space_logic/logic_window.c
===================================================================
--- trunk/blender/source/blender/editors/space_logic/logic_window.c	2010-07-08 09:06:49 UTC (rev 30105)
+++ trunk/blender/source/blender/editors/space_logic/logic_window.c	2010-07-08 09:25:18 UTC (rev 30106)
@@ -4564,6 +4564,9 @@
 			{	// gotta check if the current state is visible or not
 				uiLayout *split, *col;
 				
+				/* make as visible, for move operator */
+				sens->flag |= SENS_VISIBLE;
+
 				split = uiLayoutSplit(layout, 0.95, 0);
 				col = uiLayoutColumn(split, 1);
 				uiLayoutSetContextPointer(col, "sensor", &ptr);
@@ -4627,6 +4630,9 @@
 			{	// gotta check if the current state is visible or not
 				uiLayout *split, *col;
 				
+				/* make as visible, for move operator */
+				act->flag |= ACT_VISIBLE;
+
 				split = uiLayoutSplit(layout, 0.05, 0);
 				
 				/* put inlink button to the left */





More information about the Bf-blender-cvs mailing list