Skip to content

Commit

Permalink
Merge pull request #249 from Jrius/py_clothing_item
Browse files Browse the repository at this point in the history
Python: expose plClothingItem class
  • Loading branch information
zrax authored Jul 16, 2022
2 parents 2327302 + fbecb49 commit 0a7348e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ set(PRP_AVATAR_HEADERS
PRP/Avatar/pyAGMasterMod.h
PRP/Avatar/pyAGModifier.h
PRP/Avatar/pyATCAnim.h
PRP/Avatar/pyClothingItem.h
PRP/Avatar/pyLadderModifier.h
PRP/Avatar/pyMultistageBehMod.h
PRP/Avatar/pySeekPointMod.h
Expand Down
2 changes: 2 additions & 0 deletions Python/PRP/pyCreatableConvert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
#include "PRP/Avatar/pyAGMasterMod.h"
#include "PRP/Avatar/pyAGModifier.h"
#include "PRP/Avatar/pyATCAnim.h"
#include "PRP/Avatar/pyClothingItem.h"
#include "PRP/Avatar/pyLadderModifier.h"
#include "PRP/Avatar/pyMultistageBehMod.h"
#include "PRP/Avatar/pySeekPointMod.h"
Expand Down Expand Up @@ -553,6 +554,7 @@ PyObject* ICreate(plCreatable* pCre)
case kGUIValueCtrl: return pyGUIValueCtrl_FromGUIValueCtrl(pfGUIValueCtrl::Convert(pCre));
case kImageLibMod: return pyImageLibMod_FromImageLibMod(plImageLibMod::Convert(pCre));
case kPostEffectMod: return pyPostEffectMod_FromPostEffectMod(plPostEffectMod::Convert(pCre));
case kClothingItem: return pyClothingItem_FromClothingItem(plClothingItem::Convert(pCre));
case kAvLadderMod: return pyAvLadderMod_FromAvLadderMod(plAvLadderMod::Convert(pCre));
case kLadderModifier: return pyLadderModifier_FromLadderModifier(plLadderModifier::Convert(pCre));
case kCameraBrain: return pyCameraBrain_FromCameraBrain(plCameraBrain::Convert(pCre));
Expand Down

0 comments on commit 0a7348e

Please sign in to comment.