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>2012-07-01 17:57:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-01 17:57:32 +0400
commitf81c38ce2dd5e244c7a9aa47736c6aba44b84fb0 (patch)
treedd7ff686f8c5d70e4f61d5901aa1872ce2e4cb68
parent1eae6b5fb54906ce6b13d1ff2bcf9f85f2ffb7ad (diff)
another fix for error in the view raycast template
-rw-r--r--release/scripts/templates/operator_modal_view3d_raycast.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/templates/operator_modal_view3d_raycast.py b/release/scripts/templates/operator_modal_view3d_raycast.py
index 6df423e3717..3236c08cc8c 100644
--- a/release/scripts/templates/operator_modal_view3d_raycast.py
+++ b/release/scripts/templates/operator_modal_view3d_raycast.py
@@ -25,12 +25,12 @@ def main(context, event, ray_max=10000.0):
if obj.type == 'MESH':
yield (obj, obj.matrix_world.copy())
- if obj.dupli_type != 'NONE':
- obj.dupli_list_create(scene)
- for dob in obj.dupli_list:
- obj_dupli = dob.object
- if obj_dupli.type == 'MESH':
- yield (obj_dupli, dob.matrix.copy())
+ if obj.dupli_type != 'NONE':
+ obj.dupli_list_create(scene)
+ for dob in obj.dupli_list:
+ obj_dupli = dob.object
+ if obj_dupli.type == 'MESH':
+ yield (obj_dupli, dob.matrix.copy())
obj.dupli_list_clear()