[Bf-extensions-cvs] [d045933] blender-v2.78-release: Fix T49432: Archimesh crashes blender when room height info changed

Antonioya noreply at git.blender.org
Mon Sep 26 10:54:32 CEST 2016


Commit: d0459333af1b5935013dd3b27121ef61c2360365
Author: Antonioya
Date:   Fri Sep 23 15:15:16 2016 +0200
Branches: blender-v2.78-release
https://developer.blender.org/rBAd0459333af1b5935013dd3b27121ef61c2360365

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