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:
authorMartin Poirier <theeth@yahoo.com>2009-03-10 21:10:24 +0300
committerMartin Poirier <theeth@yahoo.com>2009-03-10 21:10:24 +0300
commita1082a6d32b980556b099f5c9f53c35c2654c42b (patch)
tree87a693a8c6e86f7c5f920da6573cf9fbef3fb9c1 /source/blender/editors/transform/transform_generics.c
parentd42e3c7be9d1b8849e3812b00a1572e754399397 (diff)
Switch to non-array parameters.
Add mising property find checks and remove uneeded param.
Diffstat (limited to 'source/blender/editors/transform/transform_generics.c')
-rw-r--r--source/blender/editors/transform/transform_generics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c
index 501afd6381d..2bc177c4330 100644
--- a/source/blender/editors/transform/transform_generics.c
+++ b/source/blender/editors/transform/transform_generics.c
@@ -735,7 +735,7 @@ void initTransInfo (bContext *C, TransInfo *t, wmOperator *op, wmEvent *event)
if(v3d->flag & V3D_ALIGN) t->flag |= T_V3D_ALIGN;
t->around = v3d->around;
- if (op && RNA_property_is_set(op->ptr, "constraint_orientation"))
+ if (op && RNA_struct_find_property(op->ptr, "constraint_axis") && RNA_property_is_set(op->ptr, "constraint_orientation"))
{
t->current_orientation = RNA_int_get(op->ptr, "constraint_orientation");