[Bf-extensions-cvs] [ada22f7e] master: archipack: bugfix wall childs

Stephen Leger noreply at git.blender.org
Sun Jun 4 19:35:49 CEST 2017


Commit: ada22f7e8591f477589c37b63c6337699b863edf
Author: Stephen Leger
Date:   Sun Jun 4 19:35:36 2017 +0200
Branches: master
https://developer.blender.org/rBACada22f7e8591f477589c37b63c6337699b863edf

archipack: bugfix wall childs

===================================================================

M	archipack/archipack_wall2.py

===================================================================

diff --git a/archipack/archipack_wall2.py b/archipack/archipack_wall2.py
index 4f77f671..d96cb623 100644
--- a/archipack/archipack_wall2.py
+++ b/archipack/archipack_wall2.py
@@ -952,7 +952,7 @@ class archipack_wall2(Manipulable, PropertyGroup):
         self.childs_manipulators.clear()
         if o.parent is None:
             return
-        wall_with_childs = [0 for i in range(self.n_parts)]
+        wall_with_childs = [0 for i in range(self.n_parts + 1)]
         relocate = []
         dmax = 2 * self.width
         witM = o.matrix_world.inverted()



More information about the Bf-extensions-cvs mailing list