forked from bartvdbraak/blender
corrected more issues from [#31069] Analyzing the Blender project with PVS-Studio.
Remark: I think that "!(nbored & CFBnd)" would be correct but it introduced other bugs so, I just quiet compiler warnings leaving the running system untouched.
This commit is contained in:
parent
b8c4c54ff0
commit
fb6ee37aa2
@ -174,7 +174,7 @@ int ntlGeometryObjModel::initModel(int numVertices, float *vertices, int numTria
|
|||||||
anitimes.clear();
|
anitimes.clear();
|
||||||
for(int frame=0; frame<channelSize; frame++) {
|
for(int frame=0; frame<channelSize; frame++) {
|
||||||
ntlSetVec3f averts; averts.mVerts.clear();
|
ntlSetVec3f averts; averts.mVerts.clear();
|
||||||
ntlSetVec3f anorms; averts.mVerts.clear();
|
ntlSetVec3f anorms; anorms.mVerts.clear();
|
||||||
int setsize = (3*numVertices+1);
|
int setsize = (3*numVertices+1);
|
||||||
|
|
||||||
ntlVec3Gfx p(0.),n(1.);
|
ntlVec3Gfx p(0.),n(1.);
|
||||||
|
@ -390,7 +390,7 @@
|
|||||||
#define DEFAULT_STREAM \
|
#define DEFAULT_STREAM \
|
||||||
m[dC] = RAC(ccel,dC); \
|
m[dC] = RAC(ccel,dC); \
|
||||||
\
|
\
|
||||||
if((!nbored & CFBnd)) { \
|
if(((!nbored) & CFBnd)) { \
|
||||||
\
|
\
|
||||||
m[dN ] = CSRC_N ; m[dS ] = CSRC_S ; \
|
m[dN ] = CSRC_N ; m[dS ] = CSRC_S ; \
|
||||||
m[dE ] = CSRC_E ; m[dW ] = CSRC_W ; \
|
m[dE ] = CSRC_E ; m[dW ] = CSRC_W ; \
|
||||||
|
Loading…
Reference in New Issue
Block a user