Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Blender 3.0 release breaks #34

Open
fire opened this issue Dec 2, 2021 · 2 comments
Open

Blender 3.0 release breaks #34

fire opened this issue Dec 2, 2021 · 2 comments
Labels
bug Something isn't working Under investigation We are currently looking at it

Comments

@fire
Copy link
Contributor

fire commented Dec 2, 2021

Infos on the context

  • Add-on version: 1.0
  • Blender version: 3.0 candidate
  • OS: Windows 11

Describe the bug
Blender 3.0 release breaks with mixer.

To Reproduce
Steps to reproduce the behavior:

  1. Download Blender 3.0 from steam (it's the fastest to download)
  2. Activate mixer addon
  3. Click on connect
  4. See error
bpy.ops.mesh.primitive_monkey_add(size=2, enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1))
Saved "untitled.blend"
bpy.data.window_managers["WinMan"].addon_search = "mixer"
Connecting to "localhost:12800" ...
mixer.connect error : AttributeError("'bpy.app' object has no attribute 'binary_path_python'")
Connecting to "localhost:12800" ...
mixer.connect error : AttributeError("'bpy.app' object has no attribute 'binary_path_python'")
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)
Connecting to "localhost:12800" ...
mixer.connect error : AttributeError("'bpy.app' object has no attribute 'binary_path_python'")
Connecting to "localhost:12800" ...
mixer.connect error : AttributeError("'bpy.app' object has no attribute 'binary_path_python'")
Connecting to "localhost:12800" ...
mixer.connect error : AttributeError("'bpy.app' object has no attribute 'binary_path_python'")

Expected behavior

Mixer connects.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context

Wanted to have Blender 3.0 support.

Edited:

Blender 3.0 has released.

@fire fire added the bug Something isn't working label Dec 2, 2021
@werwack werwack added the Under investigation We are currently looking at it label Dec 7, 2021
@fire fire changed the title Blender 3.0 release candidate breaks Blender 3.0 release breaks Dec 20, 2021
@fire fire mentioned this issue Dec 20, 2021
@fire
Copy link
Contributor Author

fire commented Dec 20, 2021

Fixed by: #37

@fire
Copy link
Contributor Author

fire commented Dec 21, 2021

Having errors editing bone groups after trying to debug crash.

Error: Cannot edit bone groups for proxies or library overrides

Modified to avoid crash but there's another bug.

        if isinstance(bl_item, T.Mesh):
            bl_item.update_tag()
            update = True
        elif isinstance(bl_item, T.Curve):
    def update_soa(self, bl_item, path: Path, soa_members: List[SoaMember]) -> bool:

        r = self.find_by_path(bl_item, path)
        if r is None:
            logger.error(f"update_soa: {path} not found in {bl_item}")
            return False
        container, container_proxy = r
        for soa_member in soa_members:
            soa_proxy = container_proxy.data(soa_member[0])
            soa_proxy.save_array(container, soa_member[0], soa_member[1])

        # HACK force updates : unsure what is strictly required
        # specifying refresh is not compatible with Grease Pencil and causes a crash
        # specifying refresh is not compatible with Mesh and causes a crash
        update = False
        if isinstance(bl_item, T.Mesh):
            bl_item.update_tag()
            update = True
        elif isinstance(bl_item, T.Curve):
            bl_item.twist_mode = bl_item.twist_mode
        elif isinstance(bl_item, T.GreasePencil):
            bl_item.update_tag()
            update = True

        return update

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Under investigation We are currently looking at it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants