mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-12 00:13:58 +00:00
convex shape error
reading an int in scanf into a bool causes issues, could be the compile options being more strict about inlining and the precompiled headers Also precompiled header for sceneObject since build insights saw it as the most expensive header.
This commit is contained in:
parent
6c7a92a5b8
commit
11a5354e67
2 changed files with 2 additions and 1 deletions
|
|
@ -782,6 +782,7 @@ target_precompile_headers(${TORQUE_APP_NAME} PRIVATE
|
|||
<cstdint>
|
||||
<cmath>
|
||||
"console/engineObject.h"
|
||||
"scene/sceneObject.h"
|
||||
)
|
||||
|
||||
if(TORQUE_TESTING)
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ bool ConvexShape::protectedSetSurface( void *object, const char *index, const ch
|
|||
Point2F offset;
|
||||
Point2F scale;
|
||||
F32 rot = 0;
|
||||
bool horz = true, vert = true;
|
||||
S32 horz = 0, vert = 0;
|
||||
|
||||
/*
|
||||
dSscanf( data, "%g %g %g %g %g %g %g %g %g %g %g %g %g %g %g %g",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue