Fix spurious console output when birds positions updated
parent
e0541bda5d
commit
c487d9b945
|
@ -99,7 +99,7 @@ namespace Flocking
|
||||||
} else {
|
} else {
|
||||||
sog = existing.ParentGroup;
|
sog = existing.ParentGroup;
|
||||||
m_sogMap[bird.Id] = sog;
|
m_sogMap[bird.Id] = sog;
|
||||||
m_log.InfoFormat("[{0}]: Reusing prim {1} from region {2}", m_name, bird.Id, m_scene.RegionInfo.RegionName);
|
//m_log.InfoFormat("[{0}]: Reusing prim {1} from region {2}", m_name, bird.Id, m_scene.RegionInfo.RegionName);
|
||||||
rootPart = sog.RootPart;
|
rootPart = sog.RootPart;
|
||||||
//set prim to phantom
|
//set prim to phantom
|
||||||
sog.UpdatePrimFlags(rootPart.LocalId, false, false, true, false);
|
sog.UpdatePrimFlags(rootPart.LocalId, false, false, true, false);
|
||||||
|
|
Loading…
Reference in New Issue