Teardown-Issue-Tracker-Maintainers / Teardown-Issue-Tracker

A public repo for the community to track issues/bugs/feature requests in Teardown.
12 stars 5 forks source link

[Bug] Can't get size of area lights and capsule lights #549

Open bingleboy opened 5 months ago

bingleboy commented 5 months ago

Describe the bug

using GetProperty(handle,"size") on a light with its type set to "area" or "capsule" only returns one value despite the fact that both of these light types have two size measurements. Additionally, on an area light, this function will always return 0.10000000149012 (0.1, but precision errors exist) no matter the actual size of the light. When called on a capsule light, the radius is returned, but not the length.

Steps to reproduce the behavior

  1. Call GetProperty(handle,"size") on any valid area/capsule light handle
  2. Debug this value
  3. See error

Expected behavior

Both measurements should be (accurately) returned.

Environment

Additional context

No response

Gregory-Gregory commented 5 months ago

@bingleboy hi again!

Thank you for reporting this issue. I have forwarded all the information to the team. If they need any additional details, I will let you know.

YuLun-bili commented 3 months ago

resolved in 1.6.0, function would return two variables for size of those lights