- kristoffer
- Posts: 13
- Joined:
Unity FillRule Nonzero vs NonZero
I have XAML with an element like
While using that in Unity 3D 2022.3.16 with Noesis 3.2.2 an error is shown in the Unity log:
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?
Code: Select all
<PathGeometry Figures="..." FillRule="Nonzero"/>
That error can be removed simply by changing Nonzero to NonZero, so it's not a biggy.[NOESIS/E] ...: Cannot set value for 'PathGeometry.FillRule', unable to convert 'Nonzero' to a valid value
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?
-
sfernandez
Site Admin
- Posts: 3008
- Joined:
Re: Unity FillRule Nonzero vs NonZero
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?
Could you please report it in our bugtracker?
Re: Unity FillRule Nonzero vs NonZero
Thank you!
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 6 guests