diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-26 05:46:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-26 05:46:12 +0400 |
commit | 32f63f6b4c09e610fe5fa3f3081259fedccc5ad9 (patch) | |
tree | 0f1b894d3836caa61b4023293bbf367e9f790132 /source/blender/editors | |
parent | 4fbf4590c9042b1e10ba194f1d613953490303ff (diff) |
misc minor changes
- make it clear that navmesh visualize option only works in path mode.
- use 2 decimal places for motion-blur shutter speed (user request).
- use 'const' for some bmesh functions.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_logic/logic_window.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_logic/logic_window.c b/source/blender/editors/space_logic/logic_window.c index 992f09c5a84..578006115a5 100644 --- a/source/blender/editors/space_logic/logic_window.c +++ b/source/blender/editors/space_logic/logic_window.c @@ -2155,7 +2155,11 @@ static void draw_actuator_steering(uiLayout *layout, PointerRNA *ptr) uiItemR(row, ptr, "update_period", 0, NULL, ICON_NONE); row = uiLayoutRow(layout, FALSE); } + row = uiLayoutRow(layout, FALSE); uiItemR(row, ptr, "show_visualization", 0, NULL, ICON_NONE); + if (RNA_enum_get(ptr, "mode") != ACT_STEERING_PATHFOLLOWING) { + uiLayoutSetActive(row, FALSE); + } } static void draw_brick_actuator(uiLayout *layout, PointerRNA *ptr, bContext *C) |