bug: script error on removing lods

Vectrex

02-06-2006 11:38:20

got this error while removing some lod entries.
http://users.on.net/~edan/games/KartSim ... dError.PNG

* To Reproduce
- I specifically selected all objects and added lod levels.
- Then I realised I didn't want to lod the race track itself and removed the levels.
- If I ever click on those objects with the lods removed I get this error, regardless of the lod dialog being open
- Error does not appear if multiple objects are selected, only the single object (if other object is selected first also)

* Temporary fix
- I just added a very far single lod level :)

* Note
- I'm not sure what the '30' is in the error as my lod levels were 10,20,40,80 and lod reduction is 50

Lioric

02-06-2006 16:26:48

Its been fixed, thanks for reporting it, it will be in the next update (or request a hotfix if you need it asap)

Im sure you know this, but in any case, the lod distance values are in world units, so a distance list as in your example (10,20,40) needs very small objects and world scale to be of any use

Vectrex

02-06-2006 17:17:33

thanks, I can wait. I've set max to work in metres and it seems to work ok. Should I work in cm's perhaps? I thought those values were metres because of ogre?
It seems most things (including) don't like working in metres too much, everythings either way too massive or fast by default! :) (eg bones, oFusion middle mouse pan etc).