Material Library VX - Add Active Material to library disfunctional #54701
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#54701
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system and graphics card
Windows 7 64 Bit, Nvidia GTX 1060
Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen)
Worked: (optional)
2.79b
Short description of error
Clicking at the Add Active Material to library button in the Material Library VX addon is disfunctional. The status bar tells me that the material is added. But nothing happens.
Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps
Activate the Materials Library VX addon. Create a new material. Doesn't matter if BI or Cycles. Go to the addon. Click at the Add Active Material to library button. Have a look if anything arrives. Here nothing happens. What i get is some messages in the console. Which tells me about not found paths and that the material is added ...
The Material Library VX Addon is included in Blender.
Added subscriber: @tiles
Added subscriber: @StephenLeger
Not found path message is related to "user defined path" to library not set in addon preferences. It is only info and can't be the source of any error.
By default the addon seek for library in addon folder - when setup into blender addon folder you may facing with "read only" folder issue leading to write into library error.
Properly setting a "user defined path" into addon preferences to a writable folder allow to overcome this known issue - see matlib_vx thread on blenderartists.org as reference.
Thanks for the idea stephen, but it's not a rights issue. The folder is writable. I have meanwhile found out what it is. You can't add a material as long as the filter categories button is active. The way it works is:
And then the new material should be in the category where you want it to be. And is saved in the addon.
So the original error is solved meanwhile, it works as designed. Even when the design is a bit more complicated. < The only thing that i could suggest is to add more descriptions to the tooltips. Or maybe a help text in the addon panel in the user preferences. Or both.
But at the step to click at the arrow button i stumbled across another problem meanwhile. When i turn the library on, and then click at the arrow button, then i get a error message.
Added subscriber: @lichtwerk
Even though the first issue seems fixed I can confirm the second ('xml is not defined')
This seems like outdated code (had a quick look at it, but there is also seemingly other outdated stuff flying around, e.g.
current_library.materials
, ...)@StephenLeger: mind having a look? Otherwise I'm tempted to just remove that code path (but havent looked in depth)...
Missing proper xml import
Never checked category stuff, i only made some cosmetic changes during 2.79 release process related to user defined library path and fixed temporary scripts path to writable folder.
Will probably require more in depth investigations of overall code, might take a look next week.
@StephenLeger: ok, I have a fix, will push tomorrow...
Changed status from 'Open' to: 'Resolved'
regarding the xml error: I pushed
8d3301f66c
now.Closing the whole report as resolved then.
Sorry for resurrecting this thread. I have compiled the newest Blender version, and stumbled across that the fix has introduced a few error messages now at switching the libraries. The version included in 2.79b doesn't show this behaviour.
Warning: 'matlib.libs_menu' doesn't contain 'MT' with prefix & suffix
Warning: 'matlib.cats_menu' doesn't contain 'MT' with prefix & suffix
Warning: 'matlibvxPanel' doesn't contain 'PT' with prefix & suffix
This warning is not related to that fix, it was introduced in master in blender/blender@0bbae3f3f6 and blender/blender@94b7bf3ec2 [which is not part of official 2.79x releases afaik] and just tells addon devs that bpy types such as menus, panels etc. should follow a strict naming convention [which obviously a lot of existing addons dont do...]
Ah, i see. Many thanks :)
This three error messages comes by the way from this addon :)
Created a new task for it https://developer.blender.org/T54803