diff --git a/Cargo.lock b/Cargo.lock index 16b4618..33ed693 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2075,7 +2075,7 @@ dependencies = [ [[package]] name = "tarmac" -version = "0.7.4" +version = "0.7.5" dependencies = [ "anyhow", "backtrace", diff --git a/Cargo.toml b/Cargo.toml index 9fcacc7..1bc728e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tarmac" description = "Resource compiler and asset manager for Roblox projects" -version = "0.7.4" +version = "0.7.5" authors = ["Lucien Greathouse ", "Jonathan Holmes"] edition = "2018" license = "MIT" diff --git a/README.md b/README.md index d35e689..7ea9292 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The recommended way to install Tarmac is with [Aftman](https://github.com/LPGhat Add an entry to the `[tools]` section of your `aftman.toml` file: ```toml -tarmac = "rojo-rbx/tarmac@0.7.4" +tarmac = "rojo-rbx/tarmac@0.7.5" ``` ### Installing with Foreman @@ -28,7 +28,7 @@ tarmac = "rojo-rbx/tarmac@0.7.4" Add an entry to the `[tools]` section of your `foreman.toml` file: ```toml -tarmac = { source = "rojo-rbx/tarmac", version = "0.7.4" } +tarmac = { source = "rojo-rbx/tarmac", version = "0.7.5" } ``` diff --git a/src/commands/sync.rs b/src/commands/sync.rs index a2b7abf..5974fef 100644 --- a/src/commands/sync.rs +++ b/src/commands/sync.rs @@ -392,6 +392,12 @@ impl SyncSession { for name in group { if let Some(manifest) = self.original_manifest.inputs.get(name) { let input = &self.inputs[name]; + + // If a sprite is local, it should be resynced just in case we decide to publish using roblox later... + if input.id.is_none() { + return false; + } + let unchanged = input.is_unchanged_since_last_sync(manifest); if !unchanged {