UNDO/REDO FINALLY DONE
This commit is contained in:
parent
718a2c3f06
commit
9652ae1a08
6 changed files with 142 additions and 21 deletions
|
@ -42,7 +42,7 @@ pub struct ImportItem {
|
|||
pub data: ExportData,
|
||||
}
|
||||
|
||||
pub fn toml_save_sys(
|
||||
pub fn json_save_sys(
|
||||
mut imp_exp: ResMut<ShouldImportExport>,
|
||||
shapes: Query<&ShapeData>,
|
||||
images: Query<(&ImageData, &Transform)>,
|
||||
|
@ -107,7 +107,6 @@ pub fn import_sys(
|
|||
mut imp_exp: ResMut<ShouldImportExport>,
|
||||
assets: Res<AssetServer>,
|
||||
p_size: Res<PointSize>,
|
||||
|
||||
) {
|
||||
imp_exp.import = false;
|
||||
let file = rfd::FileDialog::new()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue