mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 20:40:35 +00:00
Fixed type inference for nulls in console functions
This commit is contained in:
parent
0ab089468f
commit
3f6c269f6a
17 changed files with 29 additions and 22 deletions
|
|
@ -1256,7 +1256,7 @@ DefineEngineMethod( TSStatic, getTargetCount, S32,(),,
|
|||
// This method is able to change materials per map to with others. The material that is being replaced is being mapped to
|
||||
// unmapped_mat as a part of this transition
|
||||
|
||||
DefineEngineMethod( TSStatic, changeMaterial, void, ( const char* mapTo, Material* oldMat, Material* newMat ),("",NULL,NULL),
|
||||
DefineEngineMethod( TSStatic, changeMaterial, void, ( const char* mapTo, Material* oldMat, Material* newMat ),("",nullAsType<Material*>(),nullAsType<Material*>()),
|
||||
"@brief Change one of the materials on the shape.\n\n"
|
||||
|
||||
"This method changes materials per mapTo with others. The material that "
|
||||
|
|
@ -1323,4 +1323,4 @@ DefineEngineMethod( TSStatic, getModelFile, const char *, (),,
|
|||
)
|
||||
{
|
||||
return object->getShapeFileName();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue