mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
fix: null reference exception from ScaleAdjusterPreview (#896)
This commit is contained in:
parent
76d5f882eb
commit
9adec1e5e7
@ -48,6 +48,8 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
|
||||
foreach (var adjuster in scaleAdjusters)
|
||||
{
|
||||
if (adjuster == null) continue;
|
||||
|
||||
// Find parent object
|
||||
// TODO: Reactive helper
|
||||
var root = FindAvatarRootObserving(ctx, adjuster.gameObject);
|
||||
|
Loading…
Reference in New Issue
Block a user