JARCH-Vis icon indicating copy to clipboard operation
JARCH-Vis copied to clipboard

Update UI for Blender 2.8

Open dimitarsp opened this issue 4 years ago • 2 comments

Hi've made a very minor update so the addon shows up in the correct place in Blender 2.8+. Don't know too much about pull requests so here is the modification in jv_panel.py

class JVPanel(Panel):
    bl_idname = "OBJECT_PT_jv_panel"
    bl_label = "JARCH Vis"
    bl_space_type = "VIEW_3D"
    bl_region_type = "UI"
    # bl_region_type = "TOOLS" 
    bl_category="JARCH Vis"

Edit

Figured out how to create a pull request

dimitarsp avatar Jan 12 '20 22:01 dimitarsp

Well, I just downloaded plugin. Thanks

But it still shows up in the wrong location and is not usable unless you widen the toolbar. Plugins today should go just into the View3D tab shelf on the N-Panel.

This is on the toolbar I have Blender 2.82a

jarchvixbug

pixelinkmedia avatar Jun 02 '20 21:06 pixelinkmedia

I made some changes to the script to get it to work.

  1. init.py Correct "location": "View3D", incorrect #"location": "View 3D > Toolbar > JARCH Vis",

  2. jv_panel.py I added bl_category = "JARCH Vis" Correct bl_space_type = "VIEW_3D" incorrect (this caused it to be in the wrong location) #bl_region_type = "TOOLS"

Hope that helps

pixelinkmedia avatar Jun 02 '20 21:06 pixelinkmedia