GithubHelp home page GithubHelp logo

symstract / modifier_list Goto Github PK

View Code? Open in Web Editor NEW
303.0 24.0 17.0 6.03 MB

Blender add-on with enhanced UI layout for modifiers with handy features. Replaces the regular modifier UI and adds a tab in the Sidebar and a popup.

License: GNU General Public License v3.0

Python 100.00%
b3d blender

modifier_list's Issues

Hook Gizmo has parent transformation applied

If you add a hook modifier and create a gizmo, it gets created at the parent object's location, and therefor: with all of its transforms. This means to if you have an object that exists at z 3, the hook object will start with said transformation applied already.

Bug: Modifier UI not loading for Areas in separate windows

Blender version: 2.81 Stable
OS: Win10 Pro 64bit
Modifier List v1.4.2

Whenever I restart Blender, the modifier area is empty. I am assuming it has to do with the area being inside of a separate window. This just happens to be how I prefer to use Blender because I can maximize the 3d viewport without losing view of my outliner and properties editors.

2019-12-04_23-56-20

Toggling this option OFF/ON causes it to load.

2019-12-04_23-59-28

Hopefully this is an easy fix! :)

No output attributes in the geometry nodes modifier

The output attribute of the Geometry Nodes modifier works with errors, it is necessary to switch List to Stack.

There is also a problem with deleting modifier after these switches

Blender Version: blender-3.0.0-beta+v30.ab7214ca2ef9-windows.amd64-relea

bandicam.2021-11-10.21-06-01-817.mp4

se

Eyedropper selection seems disabled for all modifiers when using the Modifier Popup

I noticed this first with the Shrinkwrap. When using the Modifier popup I'm unable to click on the target eyedropper icon to select a target from the viewport. I can only click on the target box to bring up a list to choose a target. If I forego the Modifier Popup and use Blender's standard Modifier Properties window, eyedropper selection works fine.

I checked with other modifiers that have eyedropper controls and they too seem to be disabled when using the Modifier Popup screen.

I'm using version 1.7.4 of the addon and Blender 3.1.2.

A unkonwn modifier on modifier UI

There is a new modifier named Surface when I enable the addon. If I try to add it, it will show:

"Cannot add Surface modifier for this object type"

Is it a bug or a function of addon? Look forward to your reply. Thanks.

Imgur

Library override disables all rows

In the image below I first disabled the Modifier List addon and changed Vertices just to check that they are actually editable in the default layout. Then I reactivated the addon and all modifiers are uneditable.

image

Weld Modifier - Missing Max property

Issue

There is a missing property in the weld modifier that pulls a console error:

C:\Users\drais\AppData\Roaming\Bforartists\Bforartists\2.91\scripts\addons\modifier_list\modules\ui\properties_data_modifier.py:1672 rna_uiItemR: property not found: WeldModifier.max_interactions

Task

Find out where the RNA is or remove the property.

Info

Blender 2.91 Beta / Bforartists 2.5.1

Attribute Error when opening search in Blender 3.3.3

Any time I open the search box (Space) there are errors from modifier list in the console

Traceback (most recent call last): File "C:\Program Files\Blender Foundation\bl_symlink\scripts\addons\tx_layer\operators\delete_layer.py", line 23, in poll return mat.layer_list and mat.layer_index >= 0 and mat.layer_index < len(mat.layer_list) AttributeError: 'NoneType' object has no attribute 'layer_list' Traceback (most recent call last): File "C:\Program Files\Blender Foundation\bl_symlink\scripts\addons\tx_layer\operators\set_mask.py", line 25, in poll return mat.layer_list and mat.layer_index >= 0 and mat.layer_index < len(mat.layer_list) AttributeError: 'NoneType' object has no attribute 'layer_list' Traceback (most recent call last): File "C:\Program Files\Blender Foundation\bl_symlink\scripts\addons\tx_layer\operators\node_group.py", line 347, in poll return mat.layer_list AttributeError: 'NoneType' object has no attribute 'layer_list'

in scenes created with blender <3.2 I also get another attribute error whenever I select any object
AttributeError: 'Context' object has no attribute 'object' File "C:\Program Files\Blender Foundation\bl_symlink\scripts\addons\modifier_list\modules\properties.py", line 13, in modifier_active_index_get Traceback (most recent call last): File "C:\Program Files\Blender Foundation\bl_symlink\scripts\addons\modifier_list\modules\properties.py", line 14, in modifier_active_index_get ob = get_ml_active_object() File "C:\Program Files\Blender Foundation\bl_symlink\scripts\addons\modifier_list\modules\utils.py", line 47, in get_ml_active_object ob = context.object AttributeError: 'Context' object has no attribute 'object' File "C:\Program Files\Blender Foundation\bl_symlink\scripts\addons\modifier_list\modules\properties.py", line 13, in modifier_active_index_get

both seem to be not critical for the add on to work, but would be nice if they could be fixed / prevented
blender 3.3.3 lts & modifier list 1.7.4

thanks

Cannot enable the addon in Blender 3.0

Traceback (most recent call last):
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\3.0\scripts\modules\addon_utils.py", line 387, in enable
mod.register()
File "C:\Users\sith1\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\modifier_list-master_init_.py", line 72, in register
addon_registration.call_register(module_order=module_order)
File "C:\Users\sith1\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\modifier_list-master\addon_registration.py", line 246, in call_register
mod.register()
File "C:\Users\sith1\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\modifier_list-master\modules\ui\sidebar.py", line 93, in register
update_sidebar_category()
File "C:\Users\sith1\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\modifier_list-master\modules\ui\sidebar.py", line 84, in update_sidebar_category
category = bpy.context.preferences.addons["modifier_list"].preferences.sidebar_category
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'

Issue Installing 1.7.5

image

Right now the installation zip doesn't install to a sub folder for the __init__.py to register - and when I try to get the addon to register I get an issue, might be likely due to the parent folder name?

Minor Issue occuring when there is no objects in the scene

As stated in the header, minor error arising when there is no objects in the scene at all, and when the cursor is placed in the Outliner Context.
image
image

That's nothing serious really, but still, found a solution to this issue by adding another check condition to the "Poll" function.

image

bug: can't register add-on because of corrupt prefrences.json file

Hi there, today my modifier list stopped working.
After some research I found out whats causing the trouble.
My preferences file is zero kbyte.
I don't know how that happend....
Anyway, once the addon tries to read that prefs file it runs into a error.
Could you add some safety checks to avoid issues like that?

regards.

btw. i'm using Blender Version: 2.93

Blender 3.3 Hair Nodes conflict

I know 3.3 is still in beta, but wanted to bring forth an issue I observed with this addon and the new hair nodes modifiers.
When having the addon set to "Properties Editor" it will hide the new modifier for the geometry node Hair Curves.
The best way around this currently is just using the sidebar option.

Edit: I also want to add I did update to the latest version despite what's showing in the video below. Same behavior on latest.

c4ac23d10510a91c9642bb2b5487bd9a.1.mp4

Addon ver 1.74 not work on Blender 3.3 Alpha 06/06/2022

Can't active addon. Error in the console:

Traceback (most recent call last):
File "D:\Blender Foundation\Blender 3.3\3.3\scripts\modules\addon_utils.py", line 369, in enable
mod.register()
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list_init_.py", line 72, in register
addon_registration.call_register(module_order=module_order)
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\addon_registration.py", line 246, in call_register
mod.register()
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\preferences.py", line 771, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "NORMAL_EDIT_Defaults" registration error: 'offset' FloatVectorProperty could not register (see previous error)

Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 64, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'
Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 23, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'
Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 64, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'
Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 23, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'
Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 64, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'
Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 23, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'
Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 64, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'
Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 23, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'
bpy.data.window_managers["WinMan"].(null) = 'A'
Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 64, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'
Python: Traceback (most recent call last):
File "D:\ZU\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\modifier_list\modules\ui\sidebar.py", line 23, in poll
prefs = bpy.context.preferences.addons["modifier_list"].preferences
KeyError: 'bpy_prop_collection[key]: key "modifier_list" not found'

Supporting the project

Hi,

This is one of the most useful UX-improving Blender addons I have. Is there a way I can express my gratitude and support? Like, a Gumroad page or something.

Add a option to customize the tab

Hi.

With more and more add-ons adding a tab in the N panel, the later can easily become vertically overcrowded by tabs (especially if the user has many addons activated).

To get rid of this annoyance (with many tabs on the N panel, it can be difficult to read the titles of these tabs), some users might want to place your add-on in the Edit or in the View tab... (or elsewhere).

Here is a related topic about this issue: https://blender.community/c/rightclickselect/dzdbbc/

According to the number of votes, there are many Blender users who are annoyed by this issue. The only workaround (for the moment) is to add an option in the addon preferences.

Could you please add an option in the add-on preferences to give the user the choice of the location of the tab (in the N panel) ? (in order to move the add-on from its own Modifier List tab to a custom one).


Maybe you could have a look at the source code of these (free) add-ons (to reuse the lines related to this feature)?

Backface Hiding : https://gitlab.com/ChameleonScales/Backface_Hiding

6cb58ec90d0eaf2859819909e32075473fcd9f47

SpeedRetopo : https://gumroad.com/l/speedretopo

1173cda700ee4af649f858070ca426f970587afb

Thank you in advance for considering to add this option.

Blender 4.0.0 API Changed breaks addon

bforartists_lWq3eO9wr7

There are some API changes that breaks this addon.
firefox_lNKmBxHZdO

image

Fix:
modifier_list\modules\operators\modifier_add.py
modifier_list\modules\operators\modifier_remove.py
modifier_list\modules\operators\modifier_move_up.py
modifier_list\modules\operators\modifier_move_down.py
modifier_list\modules\operators\modifier_copy.py

Code_V8jQcisjxn
image

Feature Req: Discard disabled modifiers before using "Apply all modifiers" or "Apply Modifier"

I sometimes will disable a modifier (such as a subdiv modifier), and leave the modifier. (Disable realtime viewport and render)

Well, whenever I apply all modifiers, or apply the modifier, blender's default behavior is to re-enable the modifier before applying it.

I consider that undesirable. Can you add an option in your addon to automatically discard modifiers that are disabled in realtime viewport before applying the modifier?

Additionally, can you add a popup warning that says something like, "some of your modifiers are disabled in the realtime viewport, but enabled in render, how would you like to proceed?"

Option A: Discard modifier(s)
Option B: Keep modifier(s) & apply

This, to me, seems like a fool proof way to ensure that the user doesn't accidentally apply a handful of intentionally disabled modifiers when applying all modifiers.

Thanks!

The GP Object Modifiers appear in Modifier Properties Tab of other Object (mesh object) 2.93.4 & 3.0 Alpha, macos 10.13.6

The first, thanks for this useful addon!!

I found an issue if in the scene there is a Grease Pencil object with modifiers, these modifiers appear too in the Modifier Properties Tab of the different objects (mesh objects) in the scene.

Steps:

You have to check 'List' option in Preferences Addon > Style > Properties Editor, with 'Stack' option the issue doesn't appear.

1. Open a new file with the Cube.
2. Add a GP object, for example, Suzzane
3. Add some modifiers to Suzzane
4. Select the Cube and go to 'Modifier Properties Tab'
5. The modifiers of Suzzane appear

GP Modifiers appear in other object

Modifier List 1.7.1 - Blender 2.93.4 & 3.0 Alpha - macOS 10.13.6

4.0 Modifiers List

Please make addon to revert modifiers list for blender 4.0. This dropdown menu is really inconvenient

Addon issue when Blender runs.

Hi, I obtain an error in Console when I run Blender 2.83 & 2.92, this is the message:

Traceback (most recent call last):
  File "/Applications/Blender/BLENDER 2.83/Blender.app/Contents/Resources/2.83/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/Users/Oxer/Library/Application Support/Blender/SCRIPTS/addons/slcad_transform/__init__.py", line 54, in <module>
    from .slcad_transform import register, unregister
  File "/Users/Oxer/Library/Application Support/Blender/SCRIPTS/addons/slcad_transform/slcad_transform.py", line 49, in <module>
    from .slcad_snap import (
  File "/Users/Oxer/Library/Application Support/Blender/SCRIPTS/addons/slcad_transform/slcad_snap.py", line 33, in <module>
    from .snap_context import SnapContext
  File "/Users/Oxer/Library/Application Support/Blender/SCRIPTS/addons/slcad_transform/snap_context/__init__.py", line 31, in <module>
    from .drawing import GPU_Indices, gpu_Indices_enable_state, gpu_Indices_restore_state
  File "/Users/Oxer/Library/Application Support/Blender/SCRIPTS/addons/slcad_transform/snap_context/drawing.py", line 187, in <module>
    class GPU_Indices:
  File "/Users/Oxer/Library/Application Support/Blender/SCRIPTS/addons/slcad_transform/snap_context/drawing.py", line 192, in GPU_Indices
    primitive_id_frag,
  File "/Users/Oxer/Library/Application Support/Blender/SCRIPTS/addons/slcad_transform/snap_context/utils_shader.py", line 81, in __init__
    check_shaderError(self.program, bgl.GL_VALIDATE_STATUS, True, "Error: Program is invalid:")
  File "/Users/Oxer/Library/Application Support/Blender/SCRIPTS/addons/slcad_transform/snap_context/utils_shader.py", line 46, in check_shaderError
    raise Exception(errorMessage)

The addon icon doesn't appear in the Toolbar, the addon preferences doesn't show, If I deactive the addon and then I activate it, the icon appears anf the preferences too.
I hope you can help me with this issue.

Regards and thanks in advance!!

Addon version 0.91.0
macOS 10.13.6 - Blender 2.83 & 2.92

Issue - Can't activate in Blender 2.92

image

When trying to activate the addon in Blender 2.92, I get an error:

Traceback (most recent call last):
  File "E:\3D stuff\Bforartists\Bforartists 2 - 2.5.1\2.92\scripts\modules\addon_utils.py", line 382, in enable
    mod.register()
  File "C:\Users\drais\AppData\Roaming\Bforartists\Bforartists\2.92\scripts\addons\modifier_list\__init__.py", line 60, in register
    addon_name_for_counter=bl_info["name"])
  File "C:\Users\drais\AppData\Roaming\Bforartists\Bforartists\2.92\scripts\addons\modifier_list\addon_registration.py", line 200, in register_bl_classes
    modules = _import_modules(modules)
  File "C:\Users\drais\AppData\Roaming\Bforartists\Bforartists\2.92\scripts\addons\modifier_list\addon_registration.py", line 60, in _import_modules
    module = importlib.import_module("." + mod, package=__package__)
  File "E:\3D stuff\Bforartists\Bforartists 2 - 2.5.1\2.92\python\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\drais\AppData\Roaming\Bforartists\Bforartists\2.92\scripts\addons\modifier_list\modules\ui\properties_editor.py", line 5, in <module>
    from .modifiers_ui import modifiers_ui
  File "C:\Users\drais\AppData\Roaming\Bforartists\Bforartists\2.92\scripts\addons\modifier_list\modules\ui\modifiers_ui.py", line 23, in <module>
    from .properties_data_modifier import DATA_PT_modifiers
  File "C:\Users\drais\AppData\Roaming\Bforartists\Bforartists\2.92\scripts\addons\modifier_list\modules\ui\properties_data_modifier.py", line 34, in <module>
    BLENDER_VERSION_MAJOR_POINT_MINOR = float(bpy.app.version_string[0:4])
ValueError: could not convert string to float: '2. 5'

This has happened on a build from this week, it was working previously.

String input in Geometry Nodes is not Shown

Hello Antti,

first of all: I absolutely love Modifier List, and in my opinion, it should be standard UI for modifier in Blender.

To the bug:

With Modifier List 1.7.4 and Blender 3.4.1 the input for Strings in the Geometry Node input is not visible.
2023-01-12 07_28_21-Einstellungen

2023-01-12 07_28_26-Einstellungen<

Thank you.

Blender 2.90 - Cannot apply all modifiers

Issue

image

When trying to apply any modifier or apply all modifiers, I will get errors like the mentioned above. Apply_As seems to not be recognized.

Blender Version: 2.90 Alpha
Addon Version: 1.5.6

Can't identify modifiers without memorizing icons

First off, this is an awesome addon, very much appreciate the efforts. <3

Second, actual feature request/bug: Currently, if you rename a modifier, there's no way to find out what type of modifier a modifier is, unless you have the icon for that particular type of modifier memorized (or pull up the modifier list again to compare). It would be really nice if there was some way to directly identify what type of modifier a given entry in the list is, without requiring humans to do heuristics.

If the blender API allows for it, the fix might be as simple as adding a tooltip to the icon next to the modifier. I'd be quite happy with whatever you'd care to support, though. Not picky!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.