Jump to content

[SOLVED] - Debug Layer Just Broke


MackeyK24
 Share

Recommended Posts

Did we change the Debug Layer to the ne Debug Layer the BabylonJS guys have been working on... If so... Has the API changed to test for visible and showing the debug layer... If not... i now all of sudden get an error when trying to bring up the debug layer (using latest dist preview release)... No message ... just a yellow exclamation sign.

Any body else getting this with latest list preview (12/8/16) ???

Link to comment
Share on other sites

Hello,

Yes we are working on it, this is all a new amazing one incoming !!! Main issue is currently some part of it has been done but not all :-( my last PR is fixing the bundling webpacking issue and the awesome @Temechon who kindly contribute the new one will fix the visibility bug really soon.

I have got great hope this would be in before Monday.

CU,

Link to comment
Share on other sites

The character disappears on PG of Adam. And I notice that if you click Editor, the window does not resize correctly.

where are the labels and the console that were very useful on the previous version of DebugLayer?

Otherwise, it changes a lot, I am split between what is done now and before. I have the nostalgia for debugLayer version 1. :D But I like this one too.

On my project, I have this error: (I have a white window that appears only.)

console.jpg

I still have this error also on my project if I hide the debugLayer:

http://www.html5gamedevs.com/topic/26937-debug-layer-just-broke/?do=findComment&comment=154535

With this function :

switchDebugLayer = function() {
    if(global.scene) {
        if(global.scene.debugLayer.isVisible()) {
        	global.scene.debugLayer.hide();
        } else {
            global.scene.debugLayer.show(true, global.scene.activeCamera);				
        }
    }
};

Result:

debugLayer.jpg

Link to comment
Share on other sites

I do not know if this can help, but my canvas is in a layer.

The bug is located in:

http://www.babylonjs.com/babylon.inspector.bundle.js line 408  with (Right-hand side of 'instanceof' is not an object)

/***/ },
/* 5 */
/***/ function(module, exports, __webpack_require__) {

	/*** IMPORTS FROM imports-loader ***/

 if(e instanceof BABYLON.PrimitiveAlignment)
},

 

Link to comment
Share on other sites

Ah, Ok, this work.

I notice some bugs : (I hope this will help, I understand it's not stable)

  1. - isVisible value false when the panel is open. (The variable is saved to false before the panel opens, but is not true when it is opened.)
  2. - FPS are freeze 55/60 or that my scene is empty and should be a 60/60 (In fact they do not update, of times freeze at 58/60 and other times 60/60 after refresh browser, fps is fixed continuously)
  3. - Close the inspector panel not work
  4. - Create the inspector an external popup can not be handed over normally (reconnect)
  5. - Labels on mesh no longer exist?

Good luck with this new debugLayer.

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...