Jump to content

Strange fill property behaviour on change


TMTH
 Share

Recommended Posts

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)

Link to comment
Share on other sites

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.

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