Refactor builder store and related components: update DecalInstance to manage selectedFloor state, enhance FloorInstance with improved material handling and texture application, and modify FloorGroup to remove unnecessary console log. Update Wall component for better shadow handling and adjust useBuilderStore to change default material values.
This commit is contained in:
@@ -29,7 +29,6 @@ function FloorGroup() {
|
||||
useEffect(() => {
|
||||
if (projectId && selectedVersion) {
|
||||
getFloorsApi(projectId, selectedVersion?.versionId || '').then((floors) => {
|
||||
console.log('floors: ', floors);
|
||||
if (floors && floors.length > 0) {
|
||||
setFloors(floors);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user