浏览代码

[ide] Fixed renaming erasing all sources in modified prefabs

Clément Espeute 11 月之前
父节点
当前提交
70caedcf67
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hide/Ide.hx

+ 1 - 1
hide/Ide.hx

@@ -1555,7 +1555,7 @@ class FilterPathContext {
 		this.valueCurrent = valueCurrent;
 		valueChanged = null;
 		filterFn(this);
-		return valueChanged;
+		return changed ? valueChanged : valueCurrent;
 	}
 
 	public var getRef : () -> {str: String, ?goto: () -> Void};