diff options
author | Ton Roosendaal <ton@blender.org> | 2011-01-06 14:16:35 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-01-06 14:16:35 +0300 |
commit | 5cef085f770056b9f35ee6d203dc62b5db6cde23 (patch) | |
tree | 0d56e743a73c1332ce0c70e096e733019fb3189d /source/blender/editors/transform/transform.c | |
parent | a4c0d644c9f55c39955e43bdccbf523064c0add4 (diff) |
Todo item:
Auto-texture space now is more responsive and correct.
- on transforming it, the buttons get redrawn to show option was reset
- on enabling option, texture space is recalculated/reset
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 2b1746f0e96..3f21b9bc702 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -1499,8 +1499,9 @@ int initTransform(bContext *C, TransInfo *t, wmOperator *op, wmEvent *event, int t->state = TRANS_STARTING; - if(RNA_boolean_get(op->ptr, "texture_space")) - options |= CTX_TEXTURE; + if(RNA_struct_find_property(op->ptr, "texture_space")) + if(RNA_boolean_get(op->ptr, "texture_space")) + options |= CTX_TEXTURE; t->options = options; |