[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29570] trunk/blender/source/blender/ editors/transform/transform_ops.c: Unhide constraint axis and orientation operator properties.
Martin Poirier
theeth at yahoo.com
Sat Jun 19 22:18:43 CEST 2010
Revision: 29570
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29570
Author: theeth
Date: 2010-06-19 22:18:43 +0200 (Sat, 19 Jun 2010)
Log Message:
-----------
Unhide constraint axis and orientation operator properties.
They are not just internal param, tweaking them later is not unconceivable.
Modified Paths:
--------------
trunk/blender/source/blender/editors/transform/transform_ops.c
Modified: trunk/blender/source/blender/editors/transform/transform_ops.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform_ops.c 2010-06-19 17:32:30 UTC (rev 29569)
+++ trunk/blender/source/blender/editors/transform/transform_ops.c 2010-06-19 20:18:43 UTC (rev 29570)
@@ -392,6 +392,7 @@
{
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 @@
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);
More information about the Bf-blender-cvs
mailing list