Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Bug Reports / Delete light not work!

Author
Message
Monster
21
Years of Service
User Offline
Joined: 3rd Apr 2003
Location:
Posted: 12th Aug 2005 15:54
Delete light not work! Only light handle is deleted.
spooky
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 12th Aug 2005 16:28
You should really have posted some code to save us knocking up test code.

You are correct though in what you say. Appears you have to hide the light before deleting it otherwise is still shows.



Boo!
Torrey
19
Years of Service
User Offline
Joined: 20th Aug 2004
Location: New Jersey
Posted: 19th Aug 2005 12:50
From the directx coding I saw in the past when a light is deleted the array shifts left to destroy the light. This bug/feature may have been intentional to preserve light numbers, but at the same time they could call their own hide function to fix it.
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 1st Oct 2005 18:28
Thanks for the code snippet Spooky. Always easier to deal with something when we can run a small example.

This is now fixed in upgrade 5.9 and the light will be completely cleared.

Login to post a reply

Server time is: 2024-04-19 21:20:15
Your offset time is: 2024-04-19 21:20:15