Jump to content

Tags system, serializer and loader bug?


Blax
 Share

Recommended Posts

Hi!

 

Perhaps i found another small moustached features :)

 

1. If we turn on tags for object (EnableFor(obj), but not set any tags, then SceneSerializer save lexeme like this:  "tags":{ } It's Ok.
2. If we try load such scene file, we got error:

 
babylon.2.2.max.js:27559 Uncaught TypeError: tagsString.split is not a function
 
I think we need check string of tags on empty, we haven't split string in this case.
Link to comment
Share on other sites

  • 3 months later...

Still some issue

If we add tags using  

Tags.AddTagsTo(aMesh, "aTag");

Seriallize it using SceneSerializer.Serialize(tscene);and try to load it using SceneLoader.load(..)

we get similar error

TypeError: i.split is not a function  babylon.2.2.js:27:15373

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...