Allow GPose Target to work as Target.

This commit is contained in:
Ottermandias 2023-10-17 19:49:49 +02:00
parent 27f1fcd422
commit 0e943b5d1d
3 changed files with 5 additions and 4 deletions

View file

@ -419,7 +419,7 @@ public class ActorPanel
: "The current target can not be manipulated."
: "No valid target selected.";
if (!ImGuiUtil.DrawDisabledButton("Apply to Target", Vector2.Zero, tt,
!data.Valid || id == _identifier || _state!.ModelData.ModelId != 0 || _objects.IsInGPose))
!data.Valid || id == _identifier || _state!.ModelData.ModelId != 0))
return;
var (applyGear, applyCustomize) = UiHelpers.ConvertKeysToFlags();