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>2011-01-21 11:59:08 +0300
committerDalai Felinto <dfelinto@gmail.com>2011-01-21 11:59:08 +0300
commit0f794b130d57dca49424c153d26ce98a70469fe7 (patch)
treefe67c7256dfdebd53c7cebb83f7ef0ec4426d9a1 /source/blender/editors/space_logic
parent1f099087c3f9e3792d6b3df9d5c5a352a2e0c8f5 (diff)
Logic UI + missing listener in Outliner - changes on Armature Sensor and Visibility Actuator
* fix for armature sensor (Status Changed doesn't use any value to evaluate itself) + renamed "Test Type" to "Test" * visibility tooltip was wrong - now we can change visibility from the physic buttons instead of the outliner * bonus * when you change the visibility from the physics panel the icon in the outliner wasn't changing
Diffstat (limited to 'source/blender/editors/space_logic')
-rw-r--r--source/blender/editors/space_logic/logic_window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_logic/logic_window.c b/source/blender/editors/space_logic/logic_window.c
index c8766f5c4c1..ec8f21065f5 100644
--- a/source/blender/editors/space_logic/logic_window.c
+++ b/source/blender/editors/space_logic/logic_window.c
@@ -3263,7 +3263,8 @@ static void draw_sensor_armature(uiLayout *layout, PointerRNA *ptr)
}
row = uiLayoutRow(layout, 1);
uiItemR(row, ptr, "test_type", 0, NULL, ICON_NULL);
- uiItemR(row, ptr, "value", 0, NULL, ICON_NULL);
+ if (RNA_enum_get(ptr, "test_type") != SENS_ARM_STATE_CHANGED)
+ uiItemR(row, ptr, "value", 0, NULL, ICON_NULL);
}
static void draw_sensor_collision(uiLayout *layout, PointerRNA *ptr, bContext *C)