Clear previous model before loading the next one.
This commit is contained in:
parent
716f0c11fc
commit
e9f989ffea
@ -41,6 +41,8 @@ OV.EmbeddedViewer = class
|
||||
|
||||
LoadModelFromUrls (modelUrls)
|
||||
{
|
||||
this.viewer.Clear ();
|
||||
|
||||
if (modelUrls === null || modelUrls.length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user