Pārlūkot izejas kodu

*** empty log message ***

David Rose 25 gadi atpakaļ
vecāks
revīzija
4ee8acf3eb

+ 0 - 20
panda/src/egg/eggAttributes.I

@@ -6,26 +6,6 @@
 #include <notify.h>
 
 
-////////////////////////////////////////////////////////////////////
-//     Function: EggAttributes::Constructor
-//       Access: Public
-//  Description: 
-////////////////////////////////////////////////////////////////////
-INLINE EggAttributes::
-EggAttributes() {
-  _flags = 0;
-}
-
-////////////////////////////////////////////////////////////////////
-//     Function: EggAttributes::Copy constructor
-//       Access: Public
-//  Description: 
-////////////////////////////////////////////////////////////////////
-INLINE EggAttributes::
-EggAttributes(const EggAttributes &copy) {
-  (*this) = copy;
-}
-
 ////////////////////////////////////////////////////////////////////
 //     Function: EggAttributes::has_normal
 //       Access: Public

+ 29 - 0
panda/src/egg/eggAttributes.cxx

@@ -14,6 +14,26 @@
 TypeHandle EggAttributes::_type_handle;
 
 
+////////////////////////////////////////////////////////////////////
+//     Function: EggAttributes::Constructor
+//       Access: Public
+//  Description: 
+////////////////////////////////////////////////////////////////////
+EggAttributes::
+EggAttributes() {
+  _flags = 0;
+}
+
+////////////////////////////////////////////////////////////////////
+//     Function: EggAttributes::Copy constructor
+//       Access: Public
+//  Description: 
+////////////////////////////////////////////////////////////////////
+EggAttributes::
+EggAttributes(const EggAttributes &copy) {
+  (*this) = copy;
+}
+
 ////////////////////////////////////////////////////////////////////
 //     Function: EggAttributes::Copy assignment operator
 //       Access: Public
@@ -31,6 +51,15 @@ operator = (const EggAttributes &copy) {
   return *this;
 }
 
+////////////////////////////////////////////////////////////////////
+//     Function: EggAttributes::Destructor
+//       Access: Public, Virtual
+//  Description: 
+////////////////////////////////////////////////////////////////////
+EggAttributes::
+~EggAttributes() {
+}
+
 
 ////////////////////////////////////////////////////////////////////
 //     Function: EggAttributes::write

+ 3 - 2
panda/src/egg/eggAttributes.h

@@ -26,9 +26,10 @@
 ////////////////////////////////////////////////////////////////////
 class EXPCL_PANDAEGG EggAttributes {
 public:
-  INLINE EggAttributes();
-  INLINE EggAttributes(const EggAttributes &copy);
+  EggAttributes();
+  EggAttributes(const EggAttributes &copy);
   EggAttributes &operator = (const EggAttributes &copy);
+  virtual ~EggAttributes();
 
   INLINE bool has_normal() const;
   INLINE const Normald &get_normal() const;

+ 1 - 1
panda/src/egg/eggVertex.cxx

@@ -77,7 +77,7 @@ operator = (const EggVertex &copy) {
 
 ////////////////////////////////////////////////////////////////////
 //     Function: EggVertex::Destructor
-//       Access: Public
+//       Access: Public, Virtual
 //  Description: 
 ////////////////////////////////////////////////////////////////////
 EggVertex::

+ 1 - 1
panda/src/egg/eggVertex.h

@@ -34,7 +34,7 @@ public:
   EggVertex();
   EggVertex(const EggVertex &copy);
   EggVertex &operator = (const EggVertex &copy);
-  ~EggVertex();
+  virtual ~EggVertex();
 
   INLINE EggVertexPool *get_pool() const;