зеркало из https://github.com/mozilla/Spoke.git
Merge branch 'master' of https://github.com/MozillaReality/hubs-editor
This commit is contained in:
Коммит
ad85e5aa03
|
@ -421,7 +421,7 @@ export default class Editor {
|
|||
if (this.components.has(componentName)) {
|
||||
component = this.components.get(componentName).inflate(object, props);
|
||||
|
||||
if (componentName === SceneReferenceComponent.componentName && props.src) {
|
||||
if (componentName === SceneReferenceComponent.componentName && props && props.src) {
|
||||
this.loadSceneReference(props.src, object);
|
||||
}
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче