Spaces:
Sleeping
Sleeping
Update app/materials_library.py
Browse files- app/materials_library.py +2 -0
app/materials_library.py
CHANGED
@@ -360,6 +360,8 @@ def initialize_session_state():
|
|
360 |
"materials": {"library": DEFAULT_MATERIALS.copy(), "project": {}, "table": None},
|
361 |
"fenestrations": {"library": DEFAULT_FENESTRATIONS.copy(), "project": {}, "table": None}
|
362 |
}
|
|
|
|
|
363 |
if "material_editor" not in st.session_state:
|
364 |
reset_material_editor()
|
365 |
if "fenestration_editor" not in st.session_state:
|
|
|
360 |
"materials": {"library": DEFAULT_MATERIALS.copy(), "project": {}, "table": None},
|
361 |
"fenestrations": {"library": DEFAULT_FENESTRATIONS.copy(), "project": {}, "table": None}
|
362 |
}
|
363 |
+
update_project_materials_table() # Initialize materials table
|
364 |
+
update_project_fenestrations_table() # Initialize fenestrations table
|
365 |
if "material_editor" not in st.session_state:
|
366 |
reset_material_editor()
|
367 |
if "fenestration_editor" not in st.session_state:
|