[Bf-extensions-cvs] [068e029c] master: space_view3d_align_tools: minor updates
meta-androcto
noreply at git.blender.org
Wed Jun 12 02:21:55 CEST 2019
Commit: 068e029ca3c5859434e366d3645eaef1ea988ddb
Author: meta-androcto
Date: Wed Jun 12 10:21:18 2019 +1000
Branches: master
https://developer.blender.org/rBAC068e029ca3c5859434e366d3645eaef1ea988ddb
space_view3d_align_tools: minor updates
===================================================================
M space_view3d_align_tools.py
===================================================================
diff --git a/space_view3d_align_tools.py b/space_view3d_align_tools.py
index 8562f704..1c3afb77 100644
--- a/space_view3d_align_tools.py
+++ b/space_view3d_align_tools.py
@@ -21,7 +21,7 @@
bl_info = {
"name": "Align Tools",
"author": "gabhead, Lell, Anfeo",
- "version": (0, 3, 3),
+ "version": (0, 3, 4),
"blender": (2, 80, 0),
"location": "View3D > Tool Shelf > Tools",
"description": "Align Selected Objects to Active Object",
@@ -734,7 +734,11 @@ class OBJECT_OT_align_tools(Operator):
def draw(self, context):
layout = self.layout
-
+ obj = context.object
+ row = layout.row()
+ row.label(text="Active object is: ", icon='OBJECT_DATA')
+ box = layout.box()
+ box.label(text=obj.name, icon='EDITMODE_HLT')
# Object-Pivot-Cursor:
row0 = layout.row()
row0.prop(self, 'subject', expand=True)
@@ -1083,7 +1087,7 @@ class VIEW3D_PT_AlignUi(Panel):
if obj is not None:
col = layout.column()
- col.label(text="Advanced Align")
+ col.label(text="Advanced Align Operations")
layout = self.layout
self.layout.operator("object.align_tools", text="Advanced")
More information about the Bf-extensions-cvs
mailing list