add error cube, to show when model is missing
This commit is contained in:
parent
ac0a57b9b1
commit
82b7a32286
BIN
assets/models/error.glb
Normal file
BIN
assets/models/error.glb
Normal file
Binary file not shown.
|
@ -23,6 +23,8 @@ actor -2265 10 0 "suit"
|
||||||
alive "yes"
|
alive "yes"
|
||||||
pronoun "it"
|
pronoun "it"
|
||||||
|
|
||||||
|
actor 0 0 0 "error"
|
||||||
|
|
||||||
chat "error"
|
chat "error"
|
||||||
name "ERROR"
|
name "ERROR"
|
||||||
msg 0 "INIT" "EXIT" "Unspecified conversation ID"
|
msg 0 "INIT" "EXIT" "Unspecified conversation ID"
|
||||||
|
|
|
@ -25,7 +25,7 @@ fn asset_name_to_path(name: &str) -> &'static str {
|
||||||
"asteroid1" => ASSET_ASTEROID1,
|
"asteroid1" => ASSET_ASTEROID1,
|
||||||
"asteroid2" => ASSET_ASTEROID2,
|
"asteroid2" => ASSET_ASTEROID2,
|
||||||
"pizzeria" => "models/pizzeria.glb#Scene0",
|
"pizzeria" => "models/pizzeria.glb#Scene0",
|
||||||
_ => "external/alien.glb#Scene0",
|
_ => "models/error.glb#Scene0",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue