kristoffer
Topic Author
Posts: 11
Joined: 07 Oct 2021, 15:32

Unity FillRule Nonzero vs NonZero

11 Jan 2024, 19:35

I have XAML with an element like
<PathGeometry Figures="..." FillRule="Nonzero"/>
While using that in Unity 3D 2022.3.16 with Noesis 3.2.2 an error is shown in the Unity log:
[NOESIS/E] ...: Cannot set value for 'PathGeometry.FillRule', unable to convert 'Nonzero' to a valid value
That error can be removed simply by changing Nonzero to NonZero, so it's not a biggy.

However External\NoesisGUI\Runtime\API\Proxies\FillRule.cs specifies it as Nonzero so I guess it should be changed in one place or the other for consitency?
 
User avatar
sfernandez
Site Admin
Posts: 2997
Joined: 22 Dec 2011, 19:20

Re: Unity FillRule Nonzero vs NonZero

11 Jan 2024, 20:33

This is a bug, it should only accept the value 'Nonzero' as it is the name specified in the FillRule enum.
Could you please report it in our bugtracker?
 
kristoffer
Topic Author
Posts: 11
Joined: 07 Oct 2021, 15:32

Re: Unity FillRule Nonzero vs NonZero

12 Jan 2024, 12:52

 
User avatar
jsantos
Site Admin
Posts: 3925
Joined: 20 Jan 2012, 17:18
Contact:

Re: Unity FillRule Nonzero vs NonZero

12 Jan 2024, 20:01

Thank you!

Who is online

Users browsing this forum: Bing [Bot] and 3 guests