Realtime Compositor: Move out of experimental
This patch moves the realtime compositor out of experimental. See T99210. The first milestone is finished with regards to implementing most essential nodes for single pass compositing. It is also now documented in the manual and no major issues are known. Differential Revision: https://developer.blender.org/D16891 Reviewed By: Clement Foucault
This commit is contained in:
parent
cc78fd4e93
commit
0bf8b98437
|
@ -2324,7 +2324,6 @@ class USERPREF_PT_experimental_new_features(ExperimentalPanel, Panel):
|
|||
({"property": "use_sculpt_tools_tilt"}, "T82877"),
|
||||
({"property": "use_extended_asset_browser"}, ("project/view/130/", "Project Page")),
|
||||
({"property": "use_override_templates"}, ("T73318", "Milestone 4")),
|
||||
({"property": "use_realtime_compositor"}, "T99210"),
|
||||
),
|
||||
)
|
||||
|
||||
|
|
|
@ -6212,8 +6212,7 @@ class VIEW3D_PT_shading_compositor(Panel):
|
|||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.space_data.shading.type in {'MATERIAL', 'RENDERED'} and
|
||||
context.preferences.experimental.use_realtime_compositor)
|
||||
return context.space_data.shading.type in {'MATERIAL', 'RENDERED'}
|
||||
|
||||
def draw(self, context):
|
||||
shading = context.space_data.shading
|
||||
|
|
|
@ -1244,10 +1244,6 @@ static void drw_engines_enable_editors(void)
|
|||
|
||||
static bool is_compositor_enabled(void)
|
||||
{
|
||||
if (!U.experimental.use_realtime_compositor) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (DST.draw_ctx.v3d->shading.use_compositor == V3D_SHADING_USE_COMPOSITOR_DISABLED) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -3086,10 +3086,6 @@ static void snode_setup_v2d(SpaceNode &snode, ARegion ®ion, const float2 &cen
|
|||
/* Similar to is_compositor_enabled() in draw_manager.c but checks all 3D views. */
|
||||
static bool realtime_compositor_is_in_use(const bContext &context)
|
||||
{
|
||||
if (!U.experimental.use_realtime_compositor) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const Scene *scene = CTX_data_scene(&context);
|
||||
if (!scene->use_nodes) {
|
||||
return false;
|
||||
|
|
|
@ -652,8 +652,6 @@ typedef struct UserDef_Experimental {
|
|||
char use_override_templates;
|
||||
char enable_eevee_next;
|
||||
char use_sculpt_texture_paint;
|
||||
char use_realtime_compositor;
|
||||
char _pad0[7];
|
||||
/** `makesdna` does not allow empty structs. */
|
||||
} UserDef_Experimental;
|
||||
|
||||
|
|
|
@ -6392,10 +6392,6 @@ static void rna_def_userdef_experimental(BlenderRNA *brna)
|
|||
RNA_def_property_ui_text(
|
||||
prop, "Sculpt Mode Tilt Support", "Support for pen tablet tilt events in Sculpt Mode");
|
||||
|
||||
prop = RNA_def_property(srna, "use_realtime_compositor", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "use_realtime_compositor", 1);
|
||||
RNA_def_property_ui_text(prop, "Realtime Compositor", "Enable the new realtime compositor");
|
||||
|
||||
prop = RNA_def_property(srna, "use_sculpt_texture_paint", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "use_sculpt_texture_paint", 1);
|
||||
RNA_def_property_ui_text(prop, "Sculpt Texture Paint", "Use texture painting in Sculpt Mode");
|
||||
|
|
Loading…
Reference in New Issue