Nico Posted January 27, 2014 Share Posted January 27, 2014 Hi,I've got a problem with a scene, I've got 2 groups with 2 children on each group, and when a load it I've got an error inside BabylonJS code :BABYLON.Mesh.prototype.isVerticesDataPresent = function(kind) { if (!this._vertexBuffers && this._delayInfo) { return this._delayInfo.indexOf(kind) !== -1; } return this._vertexBuffers[kind] !== undefined;};The problem here is that "this" has no property _vertexBuffers (when this is a "group"). "Cubes" and "Icospheres" are groups (they didn't have any vertices), and their children are meshes. You can find my babylon file inside this archive GroupsTests.zip Quote Link to comment Share on other sites More sharing options...
Nico Posted January 27, 2014 Author Share Posted January 27, 2014 I've quickly try something, it solves the problem, but I'm not sure that is the best way to do :if (!this._vertexBuffers) { if (this._delayInfo) { return this._delayInfo.indexOf(kind) !== -1; } return false;}return this._vertexBuffers[kind] !== undefined; Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 27, 2014 Share Posted January 27, 2014 Good thing:) I will add a fix in the next version Nico 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.