Browse Source

[gradient] cdb Preview now properly works with multiple targets

Clément Espeute 11 months ago
parent
commit
972e01cfcd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hide/comp/GradientEditor.hx

+ 1 - 0
hide/comp/GradientEditor.hx

@@ -661,6 +661,7 @@ class GradientEditor extends Popup {
 
             for (prefab in currentPrefabs) {
                 prefabToRefresh.set(prefab, true);
+                var propPath = propPath.copy();
                 var currentProps = getObjectPathRec(propPath, prefab, false);
 
                 if (value != null) {