[Bf-extensions-cvs] [68f6291e] master: Add-on: remove deprecated height parameter

Jeroen Bakker noreply at git.blender.org
Mon Feb 17 15:07:12 CET 2020

Commit: 68f6291ef28902de6ddaffc3fa18748a95569c08
Author: Jeroen Bakker
Date:   Tue Jan 28 10:23:48 2020 +0100
Branches: master

Add-on: remove deprecated height parameter

`invoke_popup` height parameter does not work and is deprecated. This
hange will remove the usages of the parameter.

I only found a single usage of the parameter

Reviewed By: Jacques Lucke

Differential Revision: https://developer.blender.org/D6693


M	object_creaprim.py


diff --git a/object_creaprim.py b/object_creaprim.py
index a1e5251a..13af569d 100644
--- a/object_creaprim.py
+++ b/object_creaprim.py
@@ -170,7 +170,7 @@ class MessageOperator(bpy.types.Operator):
     def invoke(self, context, event):
         wm = context.window_manager
-        return wm.invoke_popup(self, width=500, height=20)
+        return wm.invoke_popup(self, width=500)
     def draw(self, context):

More information about the Bf-extensions-cvs mailing list