Cleanup, remove extra code from previous commit

This got accidentally introduced while revising dependencies between
patches for this feature, did not notice until it was too late.
This commit is contained in:
Kévin Dietrich
2021-08-20 14:48:47 +02:00
parent 9bfc47c933
commit 6a404bc633

View File

@@ -6521,10 +6521,6 @@ void uiTemplateCacheFile(uiLayout *layout,
uiItemR(layout, &fileptr, "velocity_name", 0, NULL, ICON_NONE);
uiItemR(layout, &fileptr, "velocity_unit", 0, NULL, ICON_NONE);
row = uiLayoutRow(layout, false);
uiLayoutSetActive(row, engine_supports_procedural && use_render_procedural);
uiItemR(row, &fileptr, "default_radius", 0, NULL, ICON_NONE);
/* TODO: unused for now, so no need to expose. */
#if 0
row = uiLayoutRow(layout, false);