son87a
Newbie
Joined: Oct 28, 2021
Post Count: 12
Status:
Offline
|
|
Re: How to add new 3d models for SweetHome3D JS?
|
Hi, When I add applicationParams.furnitureCatalogURLs = ["lib/resources/DefaultFurnitureCatalog.json"]; The console show error:
TypeError: a.getResourceBundles is not a function at DefaultFurnitureCatalog.readFurnitureCatalog (sweethome3d.min.js:20) at DefaultFurnitureCatalog.readDefaultFurnitureCatalogs (sweethome3d.min.js:20) at new DefaultFurnitureCatalog (sweethome3d.min.js:20) at new DefaultUserPreferences (sweethome3d.min.js:20) at SweetHome3DJSOnlineApplication.SweetHome3DJSApplication.getUserPreferences (sweethome3d.min.js:20) at new a (sweethome3d.min.js:20) at SweetHome3DJSOnlineApplication.SweetHome3DJSApplication.createHomeController (sweethome3d.min.js:20) at sweethome3d.min.js:20 at a.fireCollectionChanged$java_lang_Object$int$com_eteks_sweethome3d_model_CollectionEvent_Type (sweethome3d.min.js:20) at a.fireCollectionChanged (sweethome3d.min.js:20)
|
[Nov 9, 2021, 3:38:22 AM]
|
|
[Link]
|
|