Game Development Community

[B5Pending] DualParaboloid resets to SinglePass on restart

by Steve Acaster · in Torque 3D Professional · 08/11/2009 (6:08 am) · 7 replies

1. Place DualParaboloid pointlight in.
2. Save and quit.
3. Check *.mis in textfile - "DualParaboloid" is listed.
4. Restart Beta5 - in editor "DualParaboloid" is now a "DualParaboloidSinglePass".
5. If quit and check *.mis, "DualParaboloid" is still listed, but if I resave the level, everything saves as "DualParaboloidSinglePass" because that is what the editor (and thus in-game) has reset it to on reloading the mission/level file.

#1
08/11/2009 (7:33 pm)
In t3d/pointLight.cpp add this....

PointLight::PointLight()
   : mRadius( 5.0f )
{
   mLight->setType( LightInfo::Point ); // ADDED!
}
#2
08/12/2009 (7:36 am)
Sorry, that hasn't fixed it.
edit; Actually it did fix it
#3
08/12/2009 (1:06 pm)
You absolutely sure? Its working here... but i'll take another walk thru the steps you posted.
#4
08/12/2009 (2:07 pm)
edit: "nothing to see here, move along, move along"
#5
08/12/2009 (2:31 pm)
DISREGARD I molest giraffes...

I've been compiling a debug and then running the original release.exe. A touch of "new beta synodrome".

Yep, the fix works fine.

edit: transfered to pending then
#6
08/12/2009 (2:34 pm)
Erm, glad to see the paraboloid problem was fixed, but I don't know what to say about the giraffe problem ;)

At least you weren't running an exe from another install altogether -- I do that a lot.
#7
08/12/2009 (2:37 pm)
@Michael - yeah I checked I wasn't recompiling B4, then noticed my error.
Doh!