Sfoglia il codice sorgente

expose CharacterSlider and find_slider() properly

David Rose 19 anni fa
parent
commit
5179b6de77
2 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 2 0
      panda/src/chan/movingPartScalar.h
  2. 2 0
      panda/src/char/characterSlider.h

+ 2 - 0
panda/src/chan/movingPartScalar.h

@@ -56,9 +56,11 @@ public:
     return get_class_type();
   }
   virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
+PUBLISHED:
   static TypeHandle get_class_type() {
     return _type_handle;
   }
+public:
   static void init_type() {
     MovingPart<ACScalarSwitchType>::init_type();
     AnimChannelFixed<ACScalarSwitchType>::init_type();

+ 2 - 0
panda/src/char/characterSlider.h

@@ -61,9 +61,11 @@ public:
     return get_class_type();
   }
   virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
+PUBLISHED:
   static TypeHandle get_class_type() {
     return _type_handle;
   }
+public:
   static void init_type() {
     MovingPartScalar::init_type();
     register_type(_type_handle, "CharacterSlider",