Ignore:
Timestamp:
07/25/06 18:20:07 (18 years ago)
Author:
mattausch
Message:

worded on dll loading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreVisibilitySceneManagerDll.cpp

    r971 r1151  
    2525 
    2626//#include <OgreVisibilityTerrainSceneManager.h> 
    27 //#include <OgreVisibilityOctreeSceneManager.h> 
    2827#include <OgreOcclusionCullingSceneManager.h> 
    2928 
     
    4039namespace Ogre { 
    4140 
    42 //VisibilityOctreeSceneManagerFactory *visibilityOctreePlugin; 
    4341//VisibilityTerrainSceneManagerFactory *visibilityTerrainPlugin; 
    4442OcclusionCullingSceneManagerFactory *occlusionCullingPlugin; 
     
    5250 
    5351        // Create new scene manager 
    54         //visibilityOctreePlugin = new VisibilityOctreeSceneManagerFactory(visManager); 
    5552        //visibilityTerrainPlugin = new VisibilityTerrainSceneManagerFactory(visManager); 
    5653        occlusionCullingPlugin = new OcclusionCullingSceneManagerFactory(visManager); 
     
    5956 
    6057        // Register 
    61         //Root::getSingleton().addSceneManagerFactory(visibilityOctreePlugin); 
    6258        //Root::getSingleton().addSceneManagerFactory(visibilityTerrainPlugin); 
    6359        Root::getSingleton().addSceneManagerFactory(occlusionCullingPlugin); 
     
    6662extern "C" void __declspec(dllexport) dllShutdownPlugin() 
    6763{ 
    68         //Root::getSingleton().removeSceneManagerFactory(visibilityOctreePlugin); 
    6964        //Root::getSingleton().removeSceneManagerFactory(visibilityTerrainPlugin); 
    7065        Root::getSingleton().removeSceneManagerFactory(occlusionCullingPlugin); 
     
    7772        //delete heightmapTerrainPageSource; 
    7873 
    79         // (HACK: crashes on delete!!!! FIX this  
    80         //delete visibilityOctreePlugin; 
    81     //delete visibilityTerrainPlugin; 
     74        // BUG: crashes on delete!!!! FIX this  
     75 
     76        //delete visibilityTerrainPlugin; 
    8277        delete occlusionCullingPlugin; 
    8378 
Note: See TracChangeset for help on using the changeset viewer.