MaximeHerpin / modular_tree

GNU General Public License v3.0
1.23k stars 217 forks source link

Mtree not working with Blender 3.1.0 ?? #343

Open theShiZa opened 2 years ago

theShiZa commented 2 years ago

Hi.

I've tried every Mtree version I could find but it's just not working with Blender 3.1.0.

It seems to install fine but in Blender Preferences/AddOns when I try to enable Mtree it won't let me tick the checkbox to enable it. Says the following message ;;;

Traceback (most recent call last): File "C:\Program Files\Blender 3.1\3.1\scripts\modules\addon_utils.py", line 351, in enable mod = import(module_name) File "C:\Users\ASH\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\modular_tree-blender_31__init.py", line 16, in from . import python_classes File "C:\Users\ASH\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\modular_tree-blender_31\python_classes__init__.py", line 2, in from . import nodes File "C:\Users\ASH\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\modular_tree-blender_31\python_classes\nodes__init__.py", line 6, in from . import sockets File "C:\Users\ASH\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\modular_tree-blender_31\python_classes\nodes\sockets\init__.py", line 6, in from .property_socket import MtreePropertySocket File "C:\Users\ASH\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\modular_tree-blender_31\python_classes\nodes\sockets\property_socket.py", line 3, in from ....m_tree import ConstantProperty, RandomProperty, PropertyWrapper ImportError: cannot import name 'ConstantProperty' from 'modular_tree-blender_31.m_tree' (unknown location)

Really love this addon, has anyone got it working with Blender 3.1.0 so far??

theShiZa commented 2 years ago

I tried Mtree versions 4_0_2 & 31 & Rework but they don't work with Blender 3.1.0, but then I went back to the Mtree 28 version & it's the only one that at least lets me install & enable Mtree. It's working but I haven't tested all the Mtree options to see if everything works like before yet.

DeltaCDesigns commented 2 years ago

I don't believe they do. The base install worked, but preset load functionality doesn't work, give error code attached as .png: Screenshot 2022-03-26 123737 .

Additionally, when manually adding nodes, no node functionality is present in node stack:

Screenshot 2022-03-26 124103

timothyj6767 commented 2 years ago

same error

jetley commented 2 years ago

here with blender 3.1.2. Can't enable add-on neither.

mysteryletsplay commented 2 years ago

Hello I have the same Problem with Blender 3.1.2 did somebody fix the problem or knows how to work around the problem?

javismiles commented 2 years ago

same problem here, anybody found a solution?

mysteryletsplay commented 2 years ago

same problem here, anybody found a solution?

No sry didnt find solution

winfriedeirfniw commented 2 years ago

Same here - Installs ok but can't enable in 3.3

ShengzhiWu commented 2 years ago

A developer has solved the problem. I tried it in blender 3.3 and it works! Go to https://github.com/steven-ray/modular_tree/releases and download an appropriate built release.

winfriedeirfniw commented 2 years ago

Thank you - this new 4.0.2.1a works properly!

SantoCaldarella commented 1 year ago

Hi, the new version works but... it's quite different than before... how i can personalize the twigs? i have no node. it's strange