]> git.mxchange.org Git - simgear.git/commitdiff
more guarded pointers (we are still getting spurious crashes on exit because
authormfranz <mfranz>
Fri, 24 Mar 2006 23:24:20 +0000 (23:24 +0000)
committermfranz <mfranz>
Fri, 24 Mar 2006 23:24:20 +0000 (23:24 +0000)
of that)

simgear/scene/model/shadowvolume.hxx
simgear/structure/event_mgr.hxx

index 11fc71fd28a8ff2f025e5e218094dbb7e409d4b6..bd941ce5bf520dc6aa43708e87a5555c894805a4 100644 (file)
@@ -130,7 +130,7 @@ private:
        bool    shadowsAC_transp_enabled;
        bool    use_alpha;
        bool    canDoAlpha, canDoStencil;
-       SGPropertyNode *sim_rendering;
+       SGPropertyNode_ptr sim_rendering;
 
        sgVec3 sunPos;
        int frameNumber;
index 746f03c0f7cd9a36ff3b6a342b78ca2439e863ba..007321b852f65158e44ddf75374d333d19911513 100644 (file)
@@ -117,8 +117,8 @@ private:
              double interval, double delay,
              bool repeat, bool simtime);
 
-    SGPropertyNode* _freezeProp;
-    SGPropertyNode* _rtProp;
+    SGPropertyNode_ptr _freezeProp;
+    SGPropertyNode_ptr _rtProp;
     SGTimerQueue _rtQueue; 
     SGTimerQueue _simQueue;
 };