code cleanup: minor improvements to scripts.

- make wm-property operators use INTERNAL option.
- make console use str.expandtabs() rather then replacing tab->spaces.
This commit is contained in:
Campbell Barton
2013-04-20 13:23:53 +00:00
parent a76ad2cdad
commit 44d3d88f9a
7 changed files with 13 additions and 17 deletions

View File

@@ -435,8 +435,8 @@ class QuickFluid(Operator):
fake_context = context.copy()
mesh_objects = [obj for obj in context.selected_objects
if (obj.type == 'MESH' and not 0.0 in obj.dimensions)]
min_co = Vector((100000, 100000, 100000))
max_co = Vector((-100000, -100000, -100000))
min_co = Vector((100000.0, 100000.0, 100000.0))
max_co = -min_co
if not mesh_objects:
self.report({'ERROR'}, "Select at least one mesh object")