[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45262] trunk/blender/source/blender/ editors/space_view3d/view3d_edit.c: Fix #30719: Align View to Selected has unexpected results on further view change
Sergey Sharybin
sergey.vfx at gmail.com
Thu Mar 29 17:05:09 CEST 2012
Revision: 45262
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45262
Author: nazgul
Date: 2012-03-29 15:04:54 +0000 (Thu, 29 Mar 2012)
Log Message:
-----------
Fix #30719: Align View to Selected has unexpected results on further view change
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_view3d/view3d_edit.c
Modified: trunk/blender/source/blender/editors/space_view3d/view3d_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/view3d_edit.c 2012-03-29 13:44:30 UTC (rev 45261)
+++ trunk/blender/source/blender/editors/space_view3d/view3d_edit.c 2012-03-29 15:04:54 UTC (rev 45262)
@@ -2859,6 +2859,8 @@
void VIEW3D_OT_viewnumpad(wmOperatorType *ot)
{
+ PropertyRNA *prop;
+
/* identifiers */
ot->name = "View numpad";
ot->description = "Set the view";
@@ -2871,8 +2873,10 @@
/* flags */
ot->flag = 0;
- RNA_def_enum(ot->srna, "type", prop_view_items, 0, "View", "The Type of view");
- RNA_def_boolean(ot->srna, "align_active", 0, "Align Active", "Align to the active object's axis");
+ prop = RNA_def_enum(ot->srna, "type", prop_view_items, 0, "View", "The Type of view");
+ RNA_def_property_flag(prop, PROP_SKIP_SAVE);
+ prop = RNA_def_boolean(ot->srna, "align_active", 0, "Align Active", "Align to the active object's axis");
+ RNA_def_property_flag(prop, PROP_SKIP_SAVE);
}
static EnumPropertyItem prop_view_orbit_items[] = {
More information about the Bf-blender-cvs
mailing list