Beta 4 Bug: ToD Crashes
by Jordan Parsons · in Torque 3D Professional · 07/17/2009 (8:16 pm) · 7 replies
Bug: Adding a Time of Day object to a new project crashes the editor.
What I did:
- Created a new project
- Edited an existing level "newMission"
- Removed the Sun object
- Removed the Skybox object
- Added Scattersky object
- Added ToD object
Result:
Editor crashed.
What I've done since:
Tried to simply add a ToD object without Scattersky - same crash result.
My GPU specs:
512mb PCI-Express 2.0 KFA2 GeForce 9800 GT Video Card w/ updated drivers.
What I did:
- Created a new project
- Edited an existing level "newMission"
- Removed the Sun object
- Removed the Skybox object
- Added Scattersky object
- Added ToD object
Result:
Editor crashed.
What I've done since:
Tried to simply add a ToD object without Scattersky - same crash result.
My GPU specs:
512mb PCI-Express 2.0 KFA2 GeForce 9800 GT Video Card w/ updated drivers.
#2
07/18/2009 (3:03 am)
Try adding this line to Sun::onRemove.TimeOfDay::getTimeOfDayUpdateSignal().remove( this, &Sun::_updateTimeOfDay );
#3
07/18/2009 (8:42 am)
That seems to have fixed the crash I was having ... and doesn't day-to-night look nice.
#5
08/02/2009 (12:22 pm)
where exactly does this code line go? I placed in sun.cpp under void Sun::onRemove, and i still get the crash...
#6
And you compiled everything properly?
08/02/2009 (12:51 pm)
Sun::onRemove should look like this:void Sun::onRemove()
{
removeFromScene();
Parent::onRemove();
TimeOfDay::getTimeOfDayUpdateSignal().remove( this, &Sun::_updateTimeOfDay );
}And you compiled everything properly?
#7
08/02/2009 (2:16 pm)
oops, my bad, i had a typo works now thanks...
Associate Steve Acaster
[YorkshireRifles.com]