Game Development Community

T3D 1.1 Beta 2 - Terrain DetailMap Strangth Problem - RESOLVED

by Enel · in Torque 3D Professional · 08/04/2010 (5:27 pm) · 8 replies

Build: 1.1 Beta 2

Platform: Windows XP 32 bit

Target : Editor -> TerrainPainter -> TerrainPainterEditor

Issues: Terrain DetailMap Strangth Dosent change in immediately

Steps to Repeat:
1. Launch the game
2. Press F11 to EditorMode
3. Press F3 to TerrainPainter
4. Edit TerrainTexture Detail Strangth
5. again edit TerrainTexture Detail Strangth dosent work

Suggested Fix : i don't have a time. i cant find it sorry..

#1
08/04/2010 (6:06 pm)
After editing the Terrain Painter materials it seems that you have to select another different terrain material and then re-select your desired material before editing it again.
#2
08/04/2010 (6:17 pm)
Slightly odd one ... nothing updates until you select a new material in the Terrain Materials Editor (or the same material again) -> only then do you see the apply.
#3
08/11/2010 (9:09 pm)
Logged as TQA-793 for the QA team to verify.
#4
08/25/2010 (12:26 am)
Hey all, we've looked into the issue. Make the following quick change if this is annoying you too much. Remove the following line from \game\tools\worldEditor\scripts\interfaces\terrainMaterialDlg.ed.cs line #76:

function TerrainMaterialDlg::onWake( %this )
{
   if( !isObject( ETerrainMaterialPersistMan ) )
      new PersistenceManager( ETerrainMaterialPersistMan );
      
   if( !isObject( TerrainMaterialDlgNewGroup ) )
      new SimGroup( TerrainMaterialDlgNewGroup );
   if( !isObject( TerrainMaterialDlgDeleteGroup ) )
      new SimGroup( TerrainMaterialDlgDeleteGroup );
      
   // Snapshot the materials.
   %this.snapshotMaterials();

   // Refresh the material list.
   %matLibTree = %this-->matLibTree;
   %matLibTree.clear();
   
   //%this.activeMat = 0; REMOVE THIS LINE
   %matLibTree.open( TerrainMaterialSet, false );  
   
   %matLibTree.buildVisibleTree( true );   
   %item = %matLibTree.getFirstRootItem();
   %matLibTree.expandItem( %item );
   
   %this.activateMaterialCtrls( true );      
}
#5
08/25/2010 (3:06 am)
Thumbsup!
Commenting out a single line ...
Now that's the sort of solution I like ...
#6
08/25/2010 (12:36 pm)
Yea, and giving the full path to the file and the line number??? Very cool!
#7
08/25/2010 (4:26 pm)
Nice. Minimizing and fixing code one line at a time :D
#8
08/31/2010 (9:09 pm)
Fixed in 1.1 Beta 3.