mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 23:42:57 +00:00
Fix rendering of active sprite when color management is disabled
This commit is contained in:
parent
55f58d8bea
commit
98a660a06b
@ -971,6 +971,7 @@ void FileOp::postLoad()
|
||||
|
||||
case app::gen::ColorProfileBehavior::DISABLE:
|
||||
sprite->setColorSpace(gfx::ColorSpace::MakeNone());
|
||||
m_document->notifyColorSpaceChanged();
|
||||
break;
|
||||
|
||||
case app::gen::ColorProfileBehavior::EMBEDDED:
|
||||
@ -989,6 +990,7 @@ void FileOp::postLoad()
|
||||
// Convert to the working color profile
|
||||
auto gfxCS = get_working_rgb_space_from_preferences();
|
||||
sprite->setColorSpace(gfxCS);
|
||||
m_document->notifyColorSpaceChanged();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user