From 720fe5878de21a46e205c4693ee1410b24967887 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 16 Oct 2020 15:33:45 +1100 Subject: quiet prints on startup Add-ons shouldn't be printing information at startup. --- render_povray/ui.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'render_povray') diff --git a/render_povray/ui.py b/render_povray/ui.py index 6bdadccf..75e99ec1 100644 --- a/render_povray/ui.py +++ b/render_povray/ui.py @@ -4695,15 +4695,14 @@ def register(): # bpy.types.TEXTURE_PT_context_texture.prepend(TEXTURE_PT_POV_type) if not povCentricWorkspace in bpy.app.handlers.load_post: - print("Adding POV wentric workspace on load handlers list") + # print("Adding POV wentric workspace on load handlers list") bpy.app.handlers.load_post.append(povCentricWorkspace) def unregister(): if povCentricWorkspace in bpy.app.handlers.load_post: - print("Removing POV wentric workspace from load handlers list") + # print("Removing POV wentric workspace from load handlers list") bpy.app.handlers.load_post.remove(povCentricWorkspace) - # from bpy.utils import unregister_class # bpy.types.TEXTURE_PT_context_texture.remove(TEXTURE_PT_POV_type) -- cgit v1.2.3