File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,10 @@ class App extends Component {
21
21
22
22
handleMonsterChange = ( event ) => {
23
23
24
- this . setState ( { currentMonster : parseInt ( event . target . value ) } )
24
+ // this.setState({ currentMonster: parseInt(event.target.value) })
25
25
26
26
}
27
27
28
- handleShaderChange = ( event ) => {
29
- this . setState ( { currentShader : event . target . value } )
30
- }
31
-
32
-
33
28
render ( ) {
34
29
const { currentAnimation, currentMonster, currentShader } = this . state
35
30
Original file line number Diff line number Diff line change @@ -356,16 +356,14 @@ class Monster3DProfile extends Component {
356
356
this . controls . autoRotate = autoRotate
357
357
this . controls . autoRotateSpeed = autoRotateSpeed
358
358
359
- this . dettachMonster ( ) ;
360
- //const gltfModel = await monsterModelSrc(this.mon.model)
361
- console . log ( typeId )
362
- console . log ( monster3D ( mon . model ) )
363
- try {
359
+ //this.dettachMonster();
360
+
361
+ /*try {
364
362
console.log(monster3D(mon.model))
365
363
await gltfLoader(monster3D(mon.model), this.loadMonster);
366
364
} catch (error) {
367
365
console.log(error)
368
- }
366
+ }*/ //
369
367
370
368
// darken or light the monster according to current 'action'
371
369
this . monsterLightColor ( action )
You can’t perform that action at this time.
0 commit comments