mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Make this option work when applying automation.
This commit is contained in:
parent
2713e6f1f6
commit
6efd89e0ab
7 changed files with 35 additions and 32 deletions
|
|
@ -329,8 +329,8 @@ public class CommandService : IDisposable, IApiService
|
|||
{
|
||||
if (_stateManager.GetOrCreate(identifier, actor, out var state))
|
||||
{
|
||||
_autoDesignApplier.ReapplyAutomation(actor, identifier, state, revert);
|
||||
_stateManager.ReapplyState(actor, StateSource.Manual);
|
||||
_autoDesignApplier.ReapplyAutomation(actor, identifier, state, revert, out var forcedRedraw);
|
||||
_stateManager.ReapplyState(actor, forcedRedraw, StateSource.Manual);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -379,7 +379,7 @@ public class CommandService : IDisposable, IApiService
|
|||
return true;
|
||||
|
||||
foreach (var actor in data.Objects)
|
||||
_stateManager.ReapplyState(actor, StateSource.Manual);
|
||||
_stateManager.ReapplyState(actor, false, StateSource.Manual);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue