Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2010-05-12 12:34:15 +0400
committerDalai Felinto <dfelinto@gmail.com>2010-05-12 12:34:15 +0400
commite5445302266323a5961350e2a8f465961680219d (patch)
treee4383ac632ef1a9b79bf188692efc4a2e39696ea /source/blender/makesdna
parent4cc49ad899ee02aed6e42d6f4a76673b322c6018 (diff)
Logic UI: Controller State
http://www.pasteall.org/pic/show.php?id=3255 New design, with an option to hide/unhide it. Matt: 1) the way I managed to have the I selected is kind of nasty :) but I think it will have to wait for proper icons. 2) the ALL is so far only working visually, It's still have to change the code to make all sensors and actuators visible when ALL is on. I think this is better than actually marking all states as before (2.49). Maybe it's even nicer nice to have not only have the states disactivated (in gray as they are now), but also to show them as temporary marked. Is that interesting/possible? 3) Can't centralize it :( 4) I think you are right, the icons are nice, but uninformative ... for someone else curious: http://www.pasteall.org/pic/show.php?id=3254
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_object_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 698492e6715..f50909e641b 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -496,9 +496,10 @@ extern Object workob;
#define OB_ADDCONT 512
#define OB_ADDACT 1024
#define OB_SHOWCONT 2048
-#define OB_SETSTBIT 4096
+#define OB_ALLSTATE 4096
#define OB_INITSTBIT 8192
#define OB_DEBUGSTATE 16384
+#define OB_SHOWSTATE 32768
/* ob->restrictflag */
#define OB_RESTRICT_VIEW 1