TMTH Posted February 3, 2017 Share Posted February 3, 2017 Here is PG: http://babylonjs-playground.com/#Y5PEE#3 case 1. I have primitive with default fill that is not null. When I try to change that fill (on click), everything is OK. case2. I have primitive with default fill that is null. When I try to change that fill (on click): case 2.1 if I use "BABYLON.Canvas2D.GetBrushFromString" to produce IBrush object nothing happens case 2.2 if I use "new BABYLON.SolidColorBrush2D" to produce IBrush object nothing happens, but second click will change the color. Is it a bug or designed feature? (@Nockawa) Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted February 3, 2017 Share Posted February 3, 2017 Ping @Nockawa Quote Link to comment Share on other sites More sharing options...
Nockawa Posted February 6, 2017 Share Posted February 6, 2017 Hello @TMTH sorry, I was unable to do some bjs stuffs lately, I'm glad you (try to) use C2D, and I'm sorry there's bugs. I'm going to be able to code again soon, I just have to catch up with everything that append the last few days. I've make a Trello card for this issue, I think I will try to fix it soon because it shouldn't be a big deal and I understand this this important that it works as expected. Quote Link to comment Share on other sites More sharing options...
Nockawa Posted February 7, 2017 Share Posted February 7, 2017 @TMTH I'm on it Quote Link to comment Share on other sites More sharing options...
Nockawa Posted February 7, 2017 Share Posted February 7, 2017 Hi @TMTH it's fixed PR I'll update the preview build at the end of the day (GMT+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.