Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-19 20:19:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-19 20:19:08 +0400
commit9ac0a714bee5df2153e0a73bb55962139ba18eb2 (patch)
tree029104d14b7e942dd616bf8443e09d0461ac6350 /object_fracture
parent5e44117da5a35882e7f3919f4c48c234acebe045 (diff)
indentation edits and copy pyrimid from contrib (where I had made some edits), removed so this wont happen again.
Diffstat (limited to 'object_fracture')
-rw-r--r--object_fracture/fracture_ops.py42
1 files changed, 21 insertions, 21 deletions
diff --git a/object_fracture/fracture_ops.py b/object_fracture/fracture_ops.py
index c9fcdecb..fb609b67 100644
--- a/object_fracture/fracture_ops.py
+++ b/object_fracture/fracture_ops.py
@@ -424,27 +424,27 @@ class FractureGroup(bpy.types.Operator):
# Import Functions
def import_object(obname):
- opath = "//data.blend\\Object\\" + obname
- s = os.sep
- dpath = bpy.utils.script_paths()[0] + \
- '%saddons%sobject_fracture%sdata.blend\\Object\\' % (s, s, s)
-
- # DEBUG
- #print('import_object: ' + opath)
-
- bpy.ops.wm.link_append(
- filepath=opath,
- filename=obname,
- directory=dpath,
- filemode=1,
- link=False,
- autoselect=True,
- active_layer=True,
- instance_groups=True,
- relative_path=True)
-
- for ob in bpy.context.selected_objects:
- ob.location = bpy.context.scene.cursor_location
+ opath = "//data.blend\\Object\\" + obname
+ s = os.sep
+ dpath = bpy.utils.script_paths()[0] + \
+ '%saddons%sobject_fracture%sdata.blend\\Object\\' % (s, s, s)
+
+ # DEBUG
+ #print('import_object: ' + opath)
+
+ bpy.ops.wm.link_append(
+ filepath=opath,
+ filename=obname,
+ directory=dpath,
+ filemode=1,
+ link=False,
+ autoselect=True,
+ active_layer=True,
+ instance_groups=True,
+ relative_path=True)
+
+ for ob in bpy.context.selected_objects:
+ ob.location = bpy.context.scene.cursor_location
class ImportFractureRecorder(bpy.types.Operator):