forked from bartvdbraak/blender
Quite compiler warnings.
This commit is contained in:
parent
4ed16bc3e6
commit
6161e4420e
@ -761,7 +761,7 @@ void BlenderFileLoader::insertShapeNode(ObjectInstanceRen *obi, int id)
|
|||||||
}
|
}
|
||||||
if (G.debug & G_DEBUG_FREESTYLE) {
|
if (G.debug & G_DEBUG_FREESTYLE) {
|
||||||
printf("Warning: Object %s contains %lu degenerated triangle%s (strokes may be incorrect)\n",
|
printf("Warning: Object %s contains %lu degenerated triangle%s (strokes may be incorrect)\n",
|
||||||
name, detriList.size(), (detriList.size() > 1) ? "s" : "");
|
name, (long unsigned int)detriList.size(), (detriList.size() > 1) ? "s" : "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@ int ChainSilhouetteIterator::traverse(const AdjacencyIterator& ait)
|
|||||||
Nature::RIDGE
|
Nature::RIDGE
|
||||||
};
|
};
|
||||||
int numNatures = sizeof(natures) / sizeof(Nature::EdgeNature);
|
int numNatures = sizeof(natures) / sizeof(Nature::EdgeNature);
|
||||||
for (unsigned int i = 0; i < numNatures; ++i) {
|
for (int i = 0; i < numNatures; ++i) {
|
||||||
if (getCurrentEdge()->getNature() & natures[i]) {
|
if (getCurrentEdge()->getNature() & natures[i]) {
|
||||||
int n = 0;
|
int n = 0;
|
||||||
while (!it.isEnd()) {
|
while (!it.isEnd()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user