From 2bbb0434e4a3238cec4734954b377c119eb7440b Mon Sep 17 00:00:00 2001 From: 1k8 Date: Thu, 5 Dec 2024 12:41:12 +0100 Subject: [PATCH] 4.3 Blender Bloom removal support --- armory/blender/arm/props_ui.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/armory/blender/arm/props_ui.py b/armory/blender/arm/props_ui.py index 1ee947f6f..3f2e24192 100644 --- a/armory/blender/arm/props_ui.py +++ b/armory/blender/arm/props_ui.py @@ -1866,8 +1866,14 @@ def draw(self, context): col.prop(rpdat, "rp_bloom") _col = col.column() _col.enabled = rpdat.rp_bloom - _col.prop(rpdat, 'arm_bloom_follow_blender') - if not rpdat.arm_bloom_follow_blender: + if bpy.app.version <= (4, 2, 4): + _col.prop(rpdat, 'arm_bloom_follow_blender') + if not rpdat.arm_bloom_follow_blender: + _col.prop(rpdat, 'arm_bloom_threshold') + _col.prop(rpdat, 'arm_bloom_knee') + _col.prop(rpdat, 'arm_bloom_radius') + _col.prop(rpdat, 'arm_bloom_strength') + else: _col.prop(rpdat, 'arm_bloom_threshold') _col.prop(rpdat, 'arm_bloom_knee') _col.prop(rpdat, 'arm_bloom_radius')