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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-14 04:37:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-14 04:37:18 +0300
commitbd1c5d48f23dbb7b7ed344bfa87863cca8247365 (patch)
tree40dfa8c5bc8862335393733a4d8284e846574e08 /release/scripts
parent9ec2dfe0df6fe1fe6d89d6569d5da323a0c217b6 (diff)
RNA API Rename
'create' was used as prefix and suffix, change dupli list functions to use as suffix, this matches obj.animation_data_create() & obj.animation_data_clear(). obj.create_dupli_list() --> obj.dupli_list_create() obj.free_dupli_list() --> obj.dupli_list_clear() Don't use 'create' for object to mesh function since other uses of this are for createing data which stays attached, instead use mathutils style naming convention. obj.create_mesh() --> obj.to_mesh()
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/modules/io_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/io_utils.py b/release/scripts/modules/io_utils.py
index 21c0457ff25..0b333d29377 100644
--- a/release/scripts/modules/io_utils.py
+++ b/release/scripts/modules/io_utils.py
@@ -91,14 +91,14 @@ def create_derived_objects(scene, ob):
return False, None
if ob.dupli_type != 'NONE':
- ob.create_dupli_list(scene)
+ ob.dupli_list_create(scene)
return True, [(dob.object, dob.matrix) for dob in ob.dupli_list]
else:
return False, [(ob, ob.matrix_world)]
def free_derived_objects(ob):
- ob.free_dupli_list()
+ ob.dupli_list_clear()
def unpack_list(list_of_tuples):