mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Ref Count Catch
With Permission from Jeff Faust.
// AFX CODE BLOCK (bug-fix) <<
(no text, self evident)
This commit is contained in:
parent
84430a46a8
commit
c76b44bb91
1 changed files with 2 additions and 2 deletions
|
|
@ -355,7 +355,7 @@ bool ParticleData::protectedSetSizes( void *object, const char *index, const cha
|
||||||
U32 i;
|
U32 i;
|
||||||
|
|
||||||
if (!index)
|
if (!index)
|
||||||
i = 0;
|
return (val >= 0.f && val <= MaxParticleSize);
|
||||||
else
|
else
|
||||||
i = dAtoui(index);
|
i = dAtoui(index);
|
||||||
|
|
||||||
|
|
@ -371,7 +371,7 @@ bool ParticleData::protectedSetTimes( void *object, const char *index, const cha
|
||||||
U32 i;
|
U32 i;
|
||||||
|
|
||||||
if (!index)
|
if (!index)
|
||||||
i = 0;
|
return (val >= 0.f && val <= 1.f);
|
||||||
else
|
else
|
||||||
i = dAtoui(index);
|
i = dAtoui(index);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue