Skip to content

Commit b872df7

Browse files
chriswmackeyChris Mackey
authored andcommitted
fix(model): Transfer Model units to VisualiztionSet
1 parent 65fc33f commit b872df7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

honeybee_display/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def model_to_vis_set(
396396
geo_objs.append(model_to_vis_set_wireframe(model)[0])
397397

398398
# build the VisualizationSet and return it
399-
vis_set = VisualizationSet(model.identifier, geo_objs)
399+
vis_set = VisualizationSet(model.identifier, geo_objs, model.units)
400400
vis_set.display_name = model.display_name
401401
return vis_set
402402

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ladybug-display>=0.6.10
1+
ladybug-display>=0.7.1
22
honeybee-core>=1.54.10

0 commit comments

Comments
 (0)