Fix T49432: Archimesh crashes blender when room height info changed

Vertex data was not available when reading the for creating floor or
ceiling.
This commit is contained in:
Antonio Vazquez 2016-09-23 15:15:16 +02:00
parent 80cfaeca09
commit 434fa71f2d
Notes: blender-bot 2023-02-14 19:45:21 +01:00
Referenced by issue #49432, Archimesh crashes blender when room height info changed
1 changed files with 1 additions and 0 deletions

View File

@ -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)