Migrate the subtab bools to addonpreferences

Reiner's picture
Project: 
Bforartists Tracker

Currently the subtab bools are in the init.py as fixed bools. This makes trouble with the migration to the new Blender version 2.79. They have again changed some vital parts of how things are allowed it seems. The bools are there, but they don't register anymore. This means we have to find another way here.

We have already an addon with addonpreferences in use for the toolbar. So let's migrate this bools into an addon too.
 

Status: 
Closed (fixed)
Priority: 
Normal
Category: 
Task
Component: 
User interface
Assigned: 
Images: 
Reporter: 
Created: 
Fri, 04/14/2017 - 10:12
Updated: 
Wed, 06/21/2017 - 09:18

Comments

5
Reiner's picture

Body: Old » New
Reiner's picture

The subtabs are working again. There was something else blocking them. I have still no idea what exactly. But they are back working.

I find it still a good idea to migrate the settings into an addon. So task remains.

Reiner's picture

Assigned: Unassigned » Reiner
Reiner's picture

Fixed in master.

https://github.com/Bforartists/Bforartists/commit/7051246b1f69c309b62654...

The subtabs has its own addon now, called bforartists_UI_flags. And the __init__.py is flag free again.

Image: 
Reiner's picture

Status: Active » Closed (fixed)