mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-28 17:19:24 +01:00
End ID color picking before bake preview
This commit is contained in:
1 parent
3496930a87
commit
6cdc7789cb
1 file changed
+3
@@ -303,6 +303,9 @@ impl TextureCraftApp {
|
||||
return;
|
||||
}
|
||||
|
||||
// Restore the picker's view before the preview starts following baked maps
|
||||
id_color_pick::IdColorPick::end(self);
|
||||
|
||||
if let Err(error) = self.session.bake_preview_begin_for(&sets) {
|
||||
self.toast(error.to_string(), true);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user