|
|
@ -485,6 +485,7 @@ void CContinent::select(const CVectorD &pos, NLMISC::IProgressCallback &progress
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
H_AUTO(InitRZWorldPacs)
|
|
|
|
H_AUTO(InitRZWorldPacs)
|
|
|
|
|
|
|
|
|
|
|
|
releasePACS();
|
|
|
|
releasePACS();
|
|
|
|
// Init PACS
|
|
|
|
// Init PACS
|
|
|
|
std::string pacsRBankPath = CPath::lookup(PacsRBank, false);
|
|
|
|
std::string pacsRBankPath = CPath::lookup(PacsRBank, false);
|
|
|
@ -931,6 +932,10 @@ void CContinent::unselect()
|
|
|
|
// Remove the primitive for all entitites (new PACS coming soon and need new primitives).
|
|
|
|
// Remove the primitive for all entitites (new PACS coming soon and need new primitives).
|
|
|
|
EntitiesMngr.removeCollision();
|
|
|
|
EntitiesMngr.removeCollision();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Remove the instances (shapes).
|
|
|
|
|
|
|
|
EntitiesMngr.removeInstances();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// release collision primitives
|
|
|
|
// release collision primitives
|
|
|
|
if (IGCallbacks)
|
|
|
|
if (IGCallbacks)
|
|
|
|
{
|
|
|
|
{
|
|
|
|