digitspro Posted January 10, 2017 Share Posted January 10, 2017 Hi there, I have a minimap implemented by having a secondary camera in a RenderTargetTexture applied on a plane. In the 2.6 preview version since a change committed on Dec 21st 2016, something has been broken. So when I dispose an object in my scene, the entire plane which holds the minimap (the RenderTargetTexture of a camera) disappears too. This is obviously not the expected behaviour. I traced the problematic commits and they happened to be these: commit 49e419016287753a9720a46114bbc605df69db79 Merge: 55f1083 d0fbbc9 Author: David Catuhe <[email protected]> Date: Wed Dec 21 12:23:33 2016 -0800 Merge pull request #1622 from haxiomic/UseOpenGLProjectionMatricies Use OpenGL projection matricies over Direct3D for better depth precision To reproduce the problem, please download the attached zip and run index.html. The code has setTimeout that will dispose the sphere. You will see that the minimap disappears too. Then when you modify index.html to reference good-babylon.js instead of bad-babylon.js you will see that when the sphere disappears, the minimap will not disappear. bad-babylon.js is the current preview version built from master, whereas good-babylon.js is from a version before the problematic commit. I hope someone knowledgeable of the changed area of code fix the issue for us. bug.zip Quote Link to comment Share on other sites More sharing options...
digitspro Posted January 10, 2017 Author Share Posted January 10, 2017 I know this post sounds like a duplicate with MackeyK24 post but it's not discussing the same symptom :). However it could be that they share a common root cause... I have no idea. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 10, 2017 Share Posted January 10, 2017 Hello can you try again? I fixed something this morning If not please provide a PG repro Quote Link to comment Share on other sites More sharing options...
digitspro Posted January 10, 2017 Author Share Posted January 10, 2017 Awesome. It's fixed so fast! Thank you @Deltakosh GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted January 11, 2017 Share Posted January 11, 2017 4 hours ago, digitspro said: Awesome. It's fixed so fast! Thank you @Deltakosh I was going to tell you to try again... @Deltakosh fixed my issues as well digitspro 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.