@@ -521,7 +521,7 @@ CDataTreeView::LoadAnimationsIntoTree (void)
521521 }
522522
523523 // Release our hold on this animation...
524- MEMBER_RELEASE (pHierarchyAnim);
524+ REF_PTR_RELEASE (pHierarchyAnim);
525525 }
526526 }
527527
@@ -583,7 +583,7 @@ CDataTreeView::LoadAnimationsIntoTree (HTREEITEM hItem)
583583 }
584584
585585 // Release our hold on the animation object
586- MEMBER_RELEASE (pHierarchyAnim);
586+ REF_PTR_RELEASE (pHierarchyAnim);
587587 }
588588 }
589589
@@ -1009,7 +1009,7 @@ CDataTreeView::Display_Asset (HTREEITEM htree_item)
10091009 RenderObjClass *prender_obj = Create_Render_Obj_To_Display (hParentItem);
10101010 pdoc->PlayAnimation (prender_obj,
10111011 asset_info->Get_Name ());
1012- MEMBER_RELEASE (prender_obj);
1012+ REF_PTR_RELEASE (prender_obj);
10131013 }
10141014 }
10151015 break ;
@@ -1019,7 +1019,7 @@ CDataTreeView::Display_Asset (HTREEITEM htree_item)
10191019 // Ask the document to display this object
10201020 ParticleEmitterClass *emitter = (ParticleEmitterClass *)Create_Render_Obj_To_Display (htree_item);
10211021 pdoc->Display_Emitter (emitter);
1022- MEMBER_RELEASE (emitter);
1022+ REF_PTR_RELEASE (emitter);
10231023 }
10241024 break ;
10251025
@@ -1035,7 +1035,7 @@ CDataTreeView::Display_Asset (HTREEITEM htree_item)
10351035 // Ask the document to display this object
10361036 RenderObjClass *prender_obj = Create_Render_Obj_To_Display (htree_item);
10371037 pdoc->DisplayObject (prender_obj);
1038- MEMBER_RELEASE (prender_obj);
1038+ REF_PTR_RELEASE (prender_obj);
10391039 }
10401040 break ;
10411041 }
@@ -1478,7 +1478,7 @@ Set_Highest_LOD (RenderObjClass *render_obj)
14781478 if (sub_obj != NULL ) {
14791479 Set_Highest_LOD (sub_obj);
14801480 }
1481- MEMBER_RELEASE (sub_obj);
1481+ REF_PTR_RELEASE (sub_obj);
14821482 }
14831483
14841484 //
0 commit comments