Closed TetoTheSquirrelFox closed 4 years ago
Actually that does sound like a good idea.
I think it would have to remain 3 tabs at most, I think people will still complain because the N panel tend to get crowded with addons. However in this instance MB-Lab is BIG, in size and complexity so differentiating between the tasks would, I think, overshadow that it would take up 3 tab spaces.
If it's possible, we could have the MB-Lab disappear when the user finalizes his character, or when he loads one, and MB-Final shows up... then disappears when user starts a new session. MB-Dev would be just an option in the properties. So just one tab in general (MB-Lab/MB-Final) and a 2nd one in option.
So I have an idea... instead of new tabs which I think would upset users... what about doing similar to the "View" Tab...
One for MB-Lab, another for 'MB-Dev/Gen' (MB-Crea) and we can split up the Creation tools and After Creation tools this way too maybe? I don't know I have to look through some files first.
Yep, for example, that looks very good actually.
And the best of the best would be to have the content of many tools under this form :
But it's a LOT of work I think... ^^
So I managed to get some code working for this idea...
` class VIEW3D_PT_tools_MBCrea(bpy.types.Panel): bl_label = "MB-Crea {0}.{1}.{2}".format(bl_info["version"][0], bl_info["version"][1], bl_info["version"][2]) bl_idname = "OBJECT_PT_characters02" bl_space_type = 'VIEW_3D' bl_region_type = 'UI' bl_context = 'objectmode' bl_category = "MB-Lab" bl_options = {'DEFAULT_CLOSED'}
@classmethod`
I changed the bl_category to MB-Lab and then added the bl_options, which then closes that window on startup.
Damn cool ! ^^ And so easy to do. Just two lines ! ^^
I was working on a tool tonight, and I thought about something during tests and debugging.
For the moment there are 2 tabs :
While I was testing things this evening, I was thinking that tools that are available since the beginning (below) don't really fit here, because there tools used AFTER finalization, and dialogs to load a finalized model are also there. The tools disappear when shaping the model, come back after finalization, it's not obvious or very user friendly, imho.
The problem here is that part will grow a lot if the addon expends as intended. Hair technics, clothes, objects or new technics to use a model after finalization.
So I was thinking that maybe it would be interesting to have in fact 3 tabs :
I think that it would be interesting to do that because we would have a clear separation between tools BEFORE finalization and AFTER. And a good separation between the "basic" user and the creator that wants to make a model from A to Z.
Feel free to say that it's stupid, I won't be mad. ^^ Just a thought I had tonight.