Переглянути джерело

expose CharacterSlider and find_slider() properly

David Rose 19 роки тому
батько
коміт
5179b6de77
2 змінених файлів з 4 додано та 0 видалено
  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();
     return get_class_type();
   }
   }
   virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
   virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
+PUBLISHED:
   static TypeHandle get_class_type() {
   static TypeHandle get_class_type() {
     return _type_handle;
     return _type_handle;
   }
   }
+public:
   static void init_type() {
   static void init_type() {
     MovingPart<ACScalarSwitchType>::init_type();
     MovingPart<ACScalarSwitchType>::init_type();
     AnimChannelFixed<ACScalarSwitchType>::init_type();
     AnimChannelFixed<ACScalarSwitchType>::init_type();

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

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