mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-27 22:10:06 +00:00
Fixed VS2010 error/warning
This commit is contained in:
parent
cf13a8d755
commit
185e55b859
@ -183,7 +183,7 @@ FarPatchMap::QuadNode::SetChild(unsigned char quadrant, int idx, bool isLeaf) {
|
|||||||
inline FarPatchMap::QuadNode *
|
inline FarPatchMap::QuadNode *
|
||||||
FarPatchMap::addChild( QuadTree & quadtree, QuadNode * parent, int quadrant ) {
|
FarPatchMap::addChild( QuadTree & quadtree, QuadNode * parent, int quadrant ) {
|
||||||
quadtree.push_back(QuadNode());
|
quadtree.push_back(QuadNode());
|
||||||
int idx = quadtree.size()-1;
|
int idx = (int)quadtree.size()-1;
|
||||||
parent->SetChild(quadrant, idx, false);
|
parent->SetChild(quadrant, idx, false);
|
||||||
return &(quadtree[idx]);
|
return &(quadtree[idx]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user