mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 04:20:30 +00:00
Fix member vars left uninitialized in constructors
This commit is contained in:
parent
3fe0fe1b92
commit
0ffd7f5620
23 changed files with 68 additions and 19 deletions
|
|
@ -89,19 +89,22 @@ Var::Var()
|
|||
{
|
||||
dStrcpy( (char*)type, "float4" );
|
||||
structName[0] = '\0';
|
||||
connectName[0] = '\0';
|
||||
constSortPos = cspUninit;
|
||||
constNum = 0;
|
||||
texCoordNum = 0;
|
||||
uniform = false;
|
||||
vertData = false;
|
||||
connector = false;
|
||||
sampler = false;
|
||||
mapsToSampler = false;
|
||||
texCoordNum = 0;
|
||||
constSortPos = cspUninit;
|
||||
arraySize = 1;
|
||||
}
|
||||
|
||||
Var::Var( const char *inName, const char *inType )
|
||||
{
|
||||
structName[0] = '\0';
|
||||
connectName[0] = '\0';
|
||||
uniform = false;
|
||||
vertData = false;
|
||||
connector = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue