diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-06-20 00:18:43 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-06-20 00:18:43 +0400 |
commit | 801beadc520d3deb6518f0a3ea7a1956615ebe67 (patch) | |
tree | a6e3b1b71a4d3ab20bc80058175ab47c292c5144 /source/blender/editors/transform | |
parent | f50714a64b9058d1887b429a74bd675baa00a9cc (diff) |
Unhide constraint axis and orientation operator properties.
They are not just internal param, tweaking them later is not unconceivable.
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_ops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c index 85e13879367..29bcd4e8592 100644 --- a/source/blender/editors/transform/transform_ops.c +++ b/source/blender/editors/transform/transform_ops.c @@ -392,6 +392,7 @@ void Transform_Properties(struct wmOperatorType *ot, int flags) { prop= RNA_def_property(ot->srna, "axis", PROP_FLOAT, PROP_DIRECTION); RNA_def_property_array(prop, 3); + /* Make this not hidden when there's a nice axis selection widget */ RNA_def_property_flag(prop, PROP_HIDDEN); RNA_def_property_ui_text(prop, "Axis", "The axis around which the transformation occurs"); @@ -400,9 +401,7 @@ void Transform_Properties(struct wmOperatorType *ot, int flags) if (flags & P_CONSTRAINT) { prop= RNA_def_boolean_vector(ot->srna, "constraint_axis", 3, NULL, "Constraint Axis", ""); - RNA_def_property_flag(prop, PROP_HIDDEN); prop= RNA_def_property(ot->srna, "constraint_orientation", PROP_ENUM, PROP_NONE); - RNA_def_property_flag(prop, PROP_HIDDEN); RNA_def_property_ui_text(prop, "Orientation", "Transformation orientation"); RNA_def_enum_funcs(prop, rna_TransformOrientation_itemf); |