Skip to content

Commit

Permalink
Merge pull request #281 from dgelessus/fix_pllayersdlanimation_base_c…
Browse files Browse the repository at this point in the history
…lass

Fix base class of `plLayerSDLAnimation`
  • Loading branch information
zrax authored Mar 3, 2024
2 parents bba1f7e + e1cc898 commit cea0d6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Python/PRP/Surface/pyLayerSDLAnimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ PY_PLASMA_TYPE_INIT(LayerSDLAnimation)
{
pyLayerSDLAnimation_Type.tp_new = pyLayerSDLAnimation_new;
pyLayerSDLAnimation_Type.tp_getset = pyLayerSDLAnimation_GetSet;
pyLayerSDLAnimation_Type.tp_base = &pyLayerAnimation_Type;
pyLayerSDLAnimation_Type.tp_base = &pyLayerAnimationBase_Type;
if (PyType_CheckAndReady(&pyLayerSDLAnimation_Type) < 0)
return nullptr;

Expand Down
2 changes: 1 addition & 1 deletion Python/PyHSPlasma.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3868,7 +3868,7 @@ class plLayerLinkAnimation(plLayerAnimation):
class plLayerMovie(plLayerAnimation):
movieName: Union[PathLike, str] = ...

class plLayerSDLAnimation(plLayerAnimation):
class plLayerSDLAnimation(plLayerAnimationBase):
varName: str = ...

class plLeafController(plController):
Expand Down
2 changes: 1 addition & 1 deletion core/PRP/Surface/plLayerAnimation.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class HSPLASMA_EXPORT plLayerLinkAnimation : public plLayerAnimation
};


class HSPLASMA_EXPORT plLayerSDLAnimation : public plLayerAnimation
class HSPLASMA_EXPORT plLayerSDLAnimation : public plLayerAnimationBase
{
CREATABLE(plLayerSDLAnimation, kLayerSDLAnimation, plLayerAnimationBase)

Expand Down

0 comments on commit cea0d6b

Please sign in to comment.