Skip to content

Commit

Permalink
Merge pull request #3093 from 1k8/main
Browse files Browse the repository at this point in the history
4.3 + Blender support
  • Loading branch information
luboslenco authored Dec 5, 2024
2 parents 73d98d7 + 2bbb043 commit 17d9354
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions armory/blender/arm/props_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 17d9354

Please sign in to comment.