diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-25 00:19:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-25 00:19:01 +0400 |
commit | 27d19aaaf449037f3437996406ed9b77c09831a2 (patch) | |
tree | efbd11bfc23efec3ae067b803db95af01cbccc8f /source/blender/editors/uvedit | |
parent | 18b1ab1598b6b5b2623c170369ce0765c7e63533 (diff) |
minor fixes
- build with netbsd works again.
- select uv more/less was crashing when called outside image space.
- node RNA property update was crashing when not called in node space.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index 04099cf8a47..a24669f61f5 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -1444,7 +1444,7 @@ static void UV_OT_select_more(wmOperatorType *ot) /* api callbacks */ ot->exec = uv_select_more_exec; - ot->poll = ED_operator_uvedit; + ot->poll = ED_operator_uvedit_space_image; } static int uv_select_less_exec(bContext *C, wmOperator *UNUSED(op)) @@ -1462,7 +1462,7 @@ static void UV_OT_select_less(wmOperatorType *ot) /* api callbacks */ ot->exec = uv_select_less_exec; - ot->poll = ED_operator_uvedit; + ot->poll = ED_operator_uvedit_space_image; } /* ******************** align operator **************** */ |