[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3357] contrib/py/scripts/addons/ space_view3d_enhanced_3d_cursor.py: Added redo toolbar support for " Align Orientation" operator
dima glib
dima.glib at gmail.com
Wed May 9 16:12:54 CEST 2012
Revision: 3357
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3357
Author: dairin0d
Date: 2012-05-09 14:12:54 +0000 (Wed, 09 May 2012)
Log Message:
-----------
Added redo toolbar support for "Align Orientation" operator
Modified Paths:
--------------
contrib/py/scripts/addons/space_view3d_enhanced_3d_cursor.py
Modified: contrib/py/scripts/addons/space_view3d_enhanced_3d_cursor.py
===================================================================
--- contrib/py/scripts/addons/space_view3d_enhanced_3d_cursor.py 2012-05-09 13:18:50 UTC (rev 3356)
+++ contrib/py/scripts/addons/space_view3d_enhanced_3d_cursor.py 2012-05-09 14:12:54 UTC (rev 3357)
@@ -3211,7 +3211,7 @@
class TransformExtraOptionsProp(bpy.types.PropertyGroup):
use_relative_coords = bpy.props.BoolProperty(
name="Relative coordinates",
- description="Consider existing transformation as the strating point",
+ description="Consider existing transformation as the starting point",
default=True)
snap_interpolate_normals_mode = bpy.props.EnumProperty(
items=[('NEVER', "Never", "Don't interpolate normals"),
@@ -4092,6 +4092,7 @@
bl_label = "Align Orientation"
bl_description = "Rotates active object to match axis of current "\
"orientation to axis of another orientation"
+ bl_options = {'REGISTER', 'UNDO'}
axes_items = [
('X', 'X', 'X axis'),
@@ -4172,7 +4173,7 @@
obj.matrix_world = m
- bpy.ops.ed.undo_push(message="Align Orientation")
+ #bpy.ops.ed.undo_push(message="Align Orientation")
return {'FINISHED'}
More information about the Bf-extensions-cvs
mailing list