[Bf-blender-cvs] [0019d6cc8fe] geometry-nodes-simulation: Fix property name for node UI

Hans Goudey noreply at git.blender.org
Fri Dec 2 02:49:14 CET 2022


Commit: 0019d6cc8fe0d5718fca2b57915b9cc25c7342c0
Author: Hans Goudey
Date:   Thu Dec 1 18:11:11 2022 -0600
Branches: geometry-nodes-simulation
https://developer.blender.org/rB0019d6cc8fe0d5718fca2b57915b9cc25c7342c0

Fix property name for node UI

===================================================================

M	source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc

===================================================================

diff --git a/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc b/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc
index d8d8940fcb9..1b40c295ed1 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc
@@ -26,7 +26,7 @@ static void node_declare(NodeDeclarationBuilder &b)
 
 static void node_layout(uiLayout *layout, bContext * /*C*/, PointerRNA *ptr)
 {
-  uiItemR(layout, ptr, "use_cache", 0, IFACE_("Persistent Cache"), ICON_NONE);
+  uiItemR(layout, ptr, "use_persistent_cache", 0, IFACE_("Persistent Cache"), ICON_NONE);
 }
 
 static void node_init(bNodeTree * /*tree*/, bNode *node)



More information about the Bf-blender-cvs mailing list