mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-13 19:19:25 +00:00
Fix crashes running tests from CLI
This commit is contained in:
parent
72ceaa010f
commit
d9b0887a3a
@ -148,7 +148,8 @@ public:
|
||||
{
|
||||
#ifdef ENABLE_UI // TODO add dynamics support when UI is not enabled
|
||||
if (m_controller->isFreehand() &&
|
||||
!m_pointShape->isFloodFill()) {
|
||||
!m_pointShape->isFloodFill() &&
|
||||
App::instance()->contextBar()) {
|
||||
m_dynamics = App::instance()->contextBar()->getDynamics();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user