--warnings
This commit is contained in:
@@ -911,7 +911,7 @@ SGPropertyNode_ptr
|
|||||||
SGPropertyNode::removeChild (int pos, bool keep)
|
SGPropertyNode::removeChild (int pos, bool keep)
|
||||||
{
|
{
|
||||||
SGPropertyNode_ptr node;
|
SGPropertyNode_ptr node;
|
||||||
if (pos < 0 || pos >= _children.size())
|
if (pos < 0 || pos >= (int)_children.size())
|
||||||
return node;
|
return node;
|
||||||
|
|
||||||
vector<SGPropertyNode_ptr>::iterator it = _children.begin();
|
vector<SGPropertyNode_ptr>::iterator it = _children.begin();
|
||||||
|
|||||||
@@ -1185,9 +1185,9 @@ private:
|
|||||||
|
|
||||||
class hash_table;
|
class hash_table;
|
||||||
|
|
||||||
|
int _index;
|
||||||
string _name;
|
string _name;
|
||||||
mutable string _display_name;
|
mutable string _display_name;
|
||||||
int _index;
|
|
||||||
/// To avoid cyclic reference counting loops this shall not be a reference
|
/// To avoid cyclic reference counting loops this shall not be a reference
|
||||||
/// counted pointer
|
/// counted pointer
|
||||||
SGPropertyNode * _parent;
|
SGPropertyNode * _parent;
|
||||||
|
|||||||
@@ -905,7 +905,6 @@ void SGShadowVolume::deleteOccluderFromTile(ssgBranch *tile) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SGShadowVolume::deleteOccluder(ssgBranch *occluder) {
|
void SGShadowVolume::deleteOccluder(ssgBranch *occluder) {
|
||||||
ssgBranch *branch = occluder;
|
|
||||||
// skip first node and go to first transform (placement)
|
// skip first node and go to first transform (placement)
|
||||||
while( occluder && !occluder->isA(ssgTypeTransform()))
|
while( occluder && !occluder->isA(ssgTypeTransform()))
|
||||||
occluder = (ssgBranch *) occluder->getKid(0);
|
occluder = (ssgBranch *) occluder->getKid(0);
|
||||||
@@ -919,9 +918,6 @@ void SGShadowVolume::deleteOccluder(ssgBranch *occluder) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SGShadowVolume::addOccluder(ssgBranch *occluder, OccluderType occluder_type, ssgBranch *tile) {
|
void SGShadowVolume::addOccluder(ssgBranch *occluder, OccluderType occluder_type, ssgBranch *tile) {
|
||||||
|
|
||||||
ssgBranch *branch = occluder;
|
|
||||||
|
|
||||||
// skip first node and go to first transform (placement)
|
// skip first node and go to first transform (placement)
|
||||||
while( occluder && !occluder->isA(ssgTypeTransform()))
|
while( occluder && !occluder->isA(ssgTypeTransform()))
|
||||||
occluder = (ssgBranch *) occluder->getKid(0);
|
occluder = (ssgBranch *) occluder->getKid(0);
|
||||||
|
|||||||
@@ -91,12 +91,12 @@ bool SGBbCache::allocTextureMemory(int cacheCount, int textureDimension) {
|
|||||||
|
|
||||||
SGBbCache::SGBbCache(void) :
|
SGBbCache::SGBbCache(void) :
|
||||||
bbListCount(0),
|
bbListCount(0),
|
||||||
cacheSizeKb(0),
|
|
||||||
textureWH(0),
|
textureWH(0),
|
||||||
|
cacheSizeKb(0),
|
||||||
builtBBCount(0),
|
builtBBCount(0),
|
||||||
|
frameNumber(0),
|
||||||
rt(0),
|
rt(0),
|
||||||
rtAvailable(false),
|
rtAvailable(false),
|
||||||
frameNumber(0),
|
|
||||||
maxImpostorRegenFrame(20)
|
maxImpostorRegenFrame(20)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user