Diffusion Krita 4f7f9645ed18

Fix SessionResource shared pointers breakage

Authored by tymond on Feb 18 2020, 10:32 AM.

Description

Fix SessionResource shared pointers breakage

Before this commit, SessionResourceSP would be broken
on session->restore(). This commit fixes it by ensuring
all session->restore() calls can only be done in KisPart
and providing a function to call it instead,
so KisPart has the correct shared pointer and the session
is restored correctly.

Details

Committed
tymondFeb 18 2020, 12:29 PM
Parents
R37:4d98407d6b7c: Remove resourcesForTag from the KoResourceServer
Branches
Unknown
Tags
Unknown