Game Development Community

Torque 3.D 1.0 Known Issues

by Rene Damm · in Torque 3D Professional · 09/30/2009 (5:59 am) · 1 replies

Last Update: 09/30/09

GUI Editor drop-down does not cause selected control to be brought up for editing
FIX:
For a temporary fix, go into gui/controls/guiPopUpCtrl.cpp@593 and change:

//------------------------------------------------------------------------------
void GuiPopUpMenuCtrl::sort()
{
   S32 size = mEntries.size();
   if( size > 0 )
      dQsort( mEntries.address(), size, sizeof(Entry), textCompare);

//KILL THIS:
//>>	// Entries need to re-Id themselves
//>>	for( U32 i = 0; i < mEntries.size(); i++ )
//>>		mEntries[i].id = i;
}

// Added to sort by entry ID
//------------------------------------------------------------------------------
void GuiPopUpMenuCtrl::sortID()
{
   S32 size = mEntries.size();
   if( size > 0 )
      dQsort( mEntries.address(), size, sizeof(Entry), idCompare);

//KILL THIS:	
//>>	// Entries need to re-Id themselves
//>>	for( U32 i = 0; i < mEntries.size(); i++ )
//>>		mEntries[i].id = i;
}

This will probably affect undo/redo in the particle editor.

#1
09/30/2009 (10:26 am)
Non-EyeOffSet weapon rendering on eye and not mount0 in first person.

Player.ccp
Line 3967

if ( !rstate.getSceneState()->isShadowPass() && isFirstPerson() )

Change to:

if ( !rstate.getSceneState()->isShadowPass() && isFirstPerson() && data.useEyeOffset )

Fix courtesy of James Ford