[Bf-blender-cvs] [94e6f87ebc5] geometry-nodes-simulation: Remove "Persistent Cache" option from the UI

Hans Goudey noreply at git.blender.org
Sat Dec 10 07:01:25 CET 2022


Commit: 94e6f87ebc5249b88839e7236bc2aed42b07f4eb
Author: Hans Goudey
Date:   Fri Dec 9 17:12:12 2022 -0600
Branches: geometry-nodes-simulation
https://developer.blender.org/rB94e6f87ebc5249b88839e7236bc2aed42b07f4eb

Remove "Persistent Cache" option from the UI

I will keep it internally, but for the simulation MVP we want to focus
on the most basic "last frame's cache" features at first.

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

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 cdbdb4678c3..43d913163a1 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_simulation_output.cc
@@ -24,11 +24,6 @@ static void node_declare(NodeDeclarationBuilder &b)
   b.add_output<decl::Geometry>(N_("Geometry"));
 }
 
-static void node_layout(uiLayout *layout, bContext * /*C*/, PointerRNA *ptr)
-{
-  uiItemR(layout, ptr, "use_persistent_cache", 0, IFACE_("Persistent Cache"), ICON_NONE);
-}
-
 static void node_init(bNodeTree * /*tree*/, bNode *node)
 {
   NodeGeometrySimulationOutput *data = MEM_cnew<NodeGeometrySimulationOutput>(__func__);
@@ -118,7 +113,6 @@ void register_node_type_geo_simulation_output()
   ntype.initfunc = file_ns::node_init;
   ntype.geometry_node_execute = file_ns::node_geo_exec;
   ntype.declare = file_ns::node_declare;
-  ntype.draw_buttons = file_ns::node_layout;
   node_type_storage(&ntype,
                     "NodeGeometrySimulationOutput",
                     node_free_standard_storage,



More information about the Bf-blender-cvs mailing list