Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_nodes.cc
| Show First 20 Lines • Show All 1,026 Lines • ▼ Show 20 Lines | static void panel_draw(const bContext *C, Panel *panel) | ||||
| /* This should be removed, but animation currently doesn't work with the IDProperties. */ | /* This should be removed, but animation currently doesn't work with the IDProperties. */ | ||||
| uiLayoutSetPropDecorate(layout, false); | uiLayoutSetPropDecorate(layout, false); | ||||
| uiTemplateID(layout, | uiTemplateID(layout, | ||||
| C, | C, | ||||
| ptr, | ptr, | ||||
| "node_group", | "node_group", | ||||
| "node.new_geometry_node_group_assign", | "node.new_geometry_node_group_assign", | ||||
| nullptr, | "node.duplicate_geometry_node_group_assign", | ||||
| nullptr, | nullptr, | ||||
| nullptr, | nullptr, | ||||
| 0, | 0, | ||||
| false, | false, | ||||
| nullptr); | nullptr); | ||||
| if (nmd->node_group != nullptr && nmd->settings.properties != nullptr) { | if (nmd->node_group != nullptr && nmd->settings.properties != nullptr) { | ||||
| PointerRNA settings_ptr; | PointerRNA settings_ptr; | ||||
| ▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines | |||||