mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Fix texture and object console paths
- Be sure to delete all prefs.cs files following this change. - Changes the console types of the missing, unavailable and warning texture paths. The old type was causing string corruption when saving preferences. - Changes the console type of the TSShapeConstructor collision shapes. The old type was causing string corruption when saving preferences. - Changed missing texture reference in ProcessedMaterial from String to const char*.
This commit is contained in:
parent
028142428e
commit
bfec2dfd79
3 changed files with 7 additions and 7 deletions
|
|
@ -57,16 +57,16 @@ void GFXTextureManager::init()
|
|||
"as not allowing down scaling.\n"
|
||||
"@ingroup GFX\n" );
|
||||
|
||||
Con::addVariable( "$pref::Video::missingTexturePath", TypeString, &smMissingTexturePath,
|
||||
Con::addVariable( "$pref::Video::missingTexturePath", TypeRealString, &smMissingTexturePath,
|
||||
"The file path of the texture to display when the requested texture is missing.\n"
|
||||
"@ingroup GFX\n" );
|
||||
|
||||
Con::addVariable( "$pref::Video::unavailableTexturePath", TypeString, &smUnavailableTexturePath,
|
||||
Con::addVariable( "$pref::Video::unavailableTexturePath", TypeRealString, &smUnavailableTexturePath,
|
||||
"@brief The file path of the texture to display when the requested texture is unavailable.\n\n"
|
||||
"Often this texture is used by GUI controls to indicate that the request image is unavailable.\n"
|
||||
"@ingroup GFX\n" );
|
||||
|
||||
Con::addVariable( "$pref::Video::warningTexturePath", TypeString, &smWarningTexturePath,
|
||||
Con::addVariable( "$pref::Video::warningTexturePath", TypeRealString, &smWarningTexturePath,
|
||||
"The file path of the texture used to warn the developer.\n"
|
||||
"@ingroup GFX\n" );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue