mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-23 21:35:34 +00:00
clean up math varsize complaints
This commit is contained in:
parent
1230d0d280
commit
0ce2da3a23
30 changed files with 61 additions and 56 deletions
|
|
@ -1173,7 +1173,7 @@ static bool enumColladaForImport(const char* shapePath, GuiTreeViewCtrl* tree, b
|
|||
for (S32 i = 0; i < root->getLibrary_materials_array().getCount(); i++)
|
||||
{
|
||||
const domLibrary_materials* libraryMats = root->getLibrary_materials_array()[i];
|
||||
stats.numMaterials += libraryMats->getMaterial_array().getCount();
|
||||
stats.numMaterials += (S32)libraryMats->getMaterial_array().getCount();
|
||||
for (S32 j = 0; j < libraryMats->getMaterial_array().getCount(); j++)
|
||||
{
|
||||
domMaterial* mat = libraryMats->getMaterial_array()[j];
|
||||
|
|
@ -1267,7 +1267,7 @@ static bool enumColladaForImport(const char* shapePath, GuiTreeViewCtrl* tree, b
|
|||
for (S32 i = 0; i < root->getLibrary_animation_clips_array().getCount(); i++)
|
||||
{
|
||||
const domLibrary_animation_clips* libraryClips = root->getLibrary_animation_clips_array()[i];
|
||||
stats.numClips += libraryClips->getAnimation_clip_array().getCount();
|
||||
stats.numClips += (S32)libraryClips->getAnimation_clip_array().getCount();
|
||||
for (S32 j = 0; j < libraryClips->getAnimation_clip_array().getCount(); j++)
|
||||
{
|
||||
domAnimation_clip* clip = libraryClips->getAnimation_clip_array()[j];
|
||||
|
|
|
|||
|
|
@ -1641,7 +1641,7 @@ void TSStatic::onInspect(GuiInspector* inspector)
|
|||
{
|
||||
//if (mShapeAsset == nullptr)
|
||||
return;
|
||||
|
||||
/*
|
||||
//Put the GameObject group before everything that'd be gameobject-effecting, for orginazational purposes
|
||||
GuiInspectorGroup* materialGroup = inspector->findExistentGroup(StringTable->insert("Materials"));
|
||||
if (!materialGroup)
|
||||
|
|
@ -1709,6 +1709,7 @@ void TSStatic::onInspect(GuiInspector* inspector)
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
#endif
|
||||
DefineEngineMethod(TSStatic, getTargetName, const char*, (S32 index), (0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue