From 317106cd103b8a25be47d2968ed34a4e187f908e Mon Sep 17 00:00:00 2001 From: "Jeison Yehuda Amihud (Blender Dumbass)" Date: Tue, 28 Mar 2023 12:09:15 +0000 Subject: [PATCH] Rounded courners. --- studio/studio_renderLayer.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/studio/studio_renderLayer.py b/studio/studio_renderLayer.py index 314ca0e..1ec0438 100644 --- a/studio/studio_renderLayer.py +++ b/studio/studio_renderLayer.py @@ -232,6 +232,17 @@ def layer(win, call): rn_image = win.project+folder+"/"+save_folder+"/"+preview_image + + # CLIP + UI_elements.roundrect(layer, win, + 580, + 100, + win.current["w"] - 630, + int((win.current["h"]-200)/3*1.9), + 10, + fill=False) + layer.clip() + if os.path.exists(rn_image): UI_elements.image(layer, win, rn_image, 580, @@ -252,7 +263,7 @@ def layer(win, call): int((win.current["h"]-200)/3*1.9), cell="render_preview") - + layer.reset_clip() if win.render_runtime.get("to_render"): UI_color.set(layer, win, "text_normal")