Skip to content

Commit

Permalink
🥕 v0.17.0-b20 🌱 ThreeD: Home Design
Browse files Browse the repository at this point in the history
  • Loading branch information
marty-mcgee committed Jan 10, 2025
1 parent 8809eab commit ad22c2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/lib/api/graphql/apollo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ const preferencesDataVarDefaults =
showPanelFirst: true, // boolean: true | false
showPanelLast: true, // boolean: true | false
// set functions
setPreferencesDataVar: () => {}, // function: set properties of "this"
// setPreferencesDataVar: () => {}, // function: set properties of "this"
}


Expand Down Expand Up @@ -879,7 +879,7 @@ const canvasStatePaperVarDefaults: Object =
// PaperScope.get(id)
},
// set functions
setCanvasStatePaperVar: () => {}, // function: set properties of "this"
// setCanvasStatePaperVar: () => {}, // function: set properties of "this"
}

// ==============================================================
Expand Down Expand Up @@ -976,7 +976,7 @@ const canvasStateThreeDVarDefaults: Object =
// xr: Object { connect: connect(), disconnect: disconnect() }
},
// set functions
setCanvasStateThreeDVar: () => {}, // function: set properties of "this"
// setCanvasStateThreeDVar: () => {}, // function: set properties of "this"
}

// ==============================================================
Expand Down
10 changes: 5 additions & 5 deletions src/lib/threed/HomeDesign.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5996,19 +5996,19 @@ export default function ThreeDHomeDesign({
const loadNounData = (_type: string = 'project', threeds: any = []) => {
// load these threeds into r3f canvas
if (DEBUG || debug)
console.debug('%c🌱 ThreeD HD loadNounData()', ccm.yellowAlert, _type, threeds)
console.debug('%c🌱 ThreeD HD: loadNounData()', ccm.yellowAlert, _type, threeds)
if (_type === 'project') {
projectStore.actions.loadToCanvas(threeds, '_r3fCanvas1')
}
// return <Box>true</Box> // true
}

} else if (isPageLoaded) {
console.debug('%c🦆 ThreeD HD => LOADED !!', ccm.redAlert, isPageLoaded)
console.debug('%c🦆 ThreeD HD: LOADED !!', ccm.redAlert, isPageLoaded)
} else {
console.debug('%c🦆 ThreeD HD => APOLLO ReactiveVar: preferencesDataVar()', ccm.blackAlert, preferencesDataVar())
console.debug('%c🦆 ThreeD HD => APOLLO ReactiveVar: canvasStatePaperVar()', ccm.blackAlert, canvasStatePaperVar())
console.debug('%c🦆 ThreeD HD => APOLLO ReactiveVar: canvasStateThreeDVar()', ccm.blackAlert, canvasStateThreeDVar())
console.debug('%c🦆 ThreeD HD: APOLLO: preferencesDataVar()', ccm.blackAlert, preferencesDataVar())
console.debug('%c🦆 ThreeD HD: APOLLO: canvasStatePaperVar()', ccm.blackAlert, canvasStatePaperVar())
console.debug('%c🦆 ThreeD HD: APOLLO: canvasStateThreeDVar()', ccm.blackAlert, canvasStateThreeDVar())
}

}, []) // useEffect
Expand Down

0 comments on commit ad22c2d

Please sign in to comment.