fix stroke preview

This commit is contained in:
2019-11-17 14:52:42 +01:00
parent aa317dcc22
commit ff73e98a2e
2 changed files with 11 additions and 6 deletions

View File

@@ -1259,7 +1259,9 @@ void Canvas::stroke_start(glm::vec3 point, float pressure)
m_tmp_dual[i].unbindFramebuffer();
}
}
m_mixer.bindFramebuffer();
m_mixer.clear();
m_mixer.unbindFramebuffer();
m_show_tmp = true;
}
void Canvas::layer_add(std::string name, std::shared_ptr<Layer> layer /*= nullptr*/, int index /*= 0*/)