blenrig: fix copy attribute dependency #47840
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#47840
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Windows 7 GTX 770
Blender Version
Broken: 2.76b f337fea
Worked: ?
//Short description of error/Exact steps for others to reproduce the error
In the addons panel, I unchecked copy attributes and saved settings, subsequently when starting Blender it's enabled whenever I press ctrl+c but it's still unchecked in preferences. It disables if I check+uncheck it but re-enables after starting Blender again.
Note: I enabled it by default several versions ago (2.6x I believe) and while I just install over previous versions, I recently uninstalled prior to installation.
I found that just removing/deleting the addon fixes this but it installs with Blender by default, recreating the problem.//
Edit:
Summary:
The blenrig addon activates copy attributes addon & calls several operators, this can cause issues with startup/save user settings with both already activated, this is now a known issue & on @jpbouza-4 to do list.
Changed status to: 'Open'
Added subscriber: @Ebone
Added subscriber: @BrendonMurphy
hi, you have saved user settings with the addon enabled? Then behavior is expected. If you uncheck ( disable the addon ) then save user settings the addon should not appear.
I cannot confirm this other to say it sounds like your start up file is old & may have old data system. please rename your startup file & save, then open blender (it will be default window) & try again. I cannot in anyway confirm this using blender 2.77 rc2.
Renamed startup file, started Blender, went to addon and enabled then disabled (because it's still enabled while "disabled"), saved user settings, saved startup file, closed Blender, Opened Blender. Still nothing.
Following your idea, I then renamed my userpref file and started to see what THAT would do and that works, the addon gets disabled by default with that...but I did a lot of changes to make Blender comfortable for me. Is there any way I can get all my old settings into a new userpref, or would I have to do it side-by-side and wing it after exporting key configuration?
Here's problem file:
zuserpref.blend
Changed status from 'Open' to: 'Resolved'
hi, looks like you found the culprit. I tested your file in 2.77rc2 & found no issue with it, copy attributes was disabled. Unfortunately in this case you should start again & create a new userprefs if issue is persisting. You could try asking here: http://blenderartists.org/forum/forumdisplay.php?44-Technical-Support if the problem keeps happening in 2.77
Closing this report as resolved.
Changed status from 'Resolved' to: 'Open'
Okay, I installed 2.77 and decided to do a fresh file, while re-enabling my previous addons and found that the problem came back after I enabled them all. I did some other tests on the fresh start and narrowed it down to occurring AFTER I enabled something. I went through the list and it occurs when I enable Blenrig. I subsequently disabled EVERY addon after renaming userpref, then only enabled Blenrig and the menu came back.
I redownloaded Blenrig from https://gitlab.com/jpbouza/BlenRig/tree/master just to be sure and it still happens
Can you reproduce with this?
If so, I assume that I should notify jpbouza, as the problem would be somewhere in the script and not Blender right?
Added subscriber: @jpbouza-4
Hi guys!
Yes, this is an intended behavior because BlenRig uses the Copy Attributes addon for certain things, so it load the addon as a dependency.
If you want to disable that, you could comment lines 51 to 55 of the init.py file in BlenRig. Just note that by not having the Copy Attributes addon, IK FK snapping will fail.
Added subscriber: @ideasman42
@jpbouza-4, while you can enable other add-ons if you need to call their operators for eg.
I think its a bit risky to enable add-ons that override key-bindings and impose a different workflow.
This is up to you how you manage, but if people are having to edit your code to disable some add-on they don't like, its a hint that you might want not to depend on the add-on, or implement those things yourself... (you didn't say which things).
Added subscriber: @Sergey
So is the real fix to make BlenRig independent from any other addons?
Mmmm. I just use the copy loc rot and scale operators from that addon, I should have to go into the addon or ask Bassam to see if I can append those operators to my addon.
I'll try to do it, though I don't think it will happen very soon, maybe next month I'll have time to dig into that.
Sounds like these could be written as Python functions? (if they're being called from within your own script)
Both add-ons are GPL so no need to ask to use code.
Yes yes, I mean I'll have to ask Bassam to see where the heck those operators are in the addon, haha.
Assign to @jpbouza-4
Copy Attributes addon enables while disabledto blenrig: fix copy attribute dependencyhi, this is an uncommon case, normally it's not permitted to use developer.blender.org for external addons issues, given the association with Blender & Blender Cloud, it's appropriate to see this To Do, through to completion. (fix)
Added subscriber: @LucianoMunoz
will this ever be fixed?
Not right now! :D
And I don't it's worth to do anything until 2,8 comes out!