desktop: Damage subsurface when position changes (#10094)
This commit is contained in:
parent
1ae7e2164c
commit
3fa6320a39
3 changed files with 20 additions and 22 deletions
|
|
@ -49,7 +49,8 @@ class CSubsurface {
|
|||
|
||||
WP<CWLSubsurfaceResource> m_pSubsurface;
|
||||
SP<CWLSurface> m_pWLSurface;
|
||||
Vector2D m_vLastSize = {};
|
||||
Vector2D m_vLastSize = {};
|
||||
Vector2D m_vLastPosition = {};
|
||||
|
||||
// if nullptr, means it's a dummy node
|
||||
WP<CSubsurface> m_pParent;
|
||||
|
|
@ -64,4 +65,5 @@ class CSubsurface {
|
|||
void initSignals();
|
||||
void initExistingSubsurfaces(SP<CWLSurfaceResource> pSurface);
|
||||
void checkSiblingDamage();
|
||||
void damageLastArea();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue