[Bf-extensions-cvs] [434fa71] master: Fix T49432: Archimesh crashes blender when room height info changed
Antonioya
noreply at git.blender.org
Fri Sep 23 15:16:03 CEST 2016
Commit: 434fa71f2dc73cd48972b465f6ca0cec7c5fa2b7
Author: Antonioya
Date: Fri Sep 23 15:15:16 2016 +0200
Branches: master
https://developer.blender.org/rBA434fa71f2dc73cd48972b465f6ca0cec7c5fa2b7
Fix T49432: Archimesh crashes blender when room height info changed
Vertex data was not available when reading the for creating floor or
ceiling.
===================================================================
M archimesh/achm_room_maker.py
===================================================================
diff --git a/archimesh/achm_room_maker.py b/archimesh/achm_room_maker.py
index 2b09473..ee0d327 100644
--- a/archimesh/achm_room_maker.py
+++ b/archimesh/achm_room_maker.py
@@ -465,6 +465,7 @@ def shape_walls_and_create_children(myroom, tmp_mesh, update=False):
myshell = None
# Create the walls (only mesh, because the object is 'myRoom', created before).
create_walls(rp, tmp_mesh, get_blendunits(rp.room_height))
+ myroom.data = tmp_mesh
# Mark Seams
select_vertices(myroom, [0, 1])
mark_seam(myroom)
More information about the Bf-extensions-cvs
mailing list