Loop Tools throws a matrix * vector error when flattening by view 2.8 #61698

Closed
opened 2019-02-19 04:21:41 +01:00 by eldee smith · 4 comments

System Information
Operating system: Windows 10 / Kubuntu 18.10
Graphics card: 1080TI

Blender Version

Blender 2.80 (sub 44)
        build date: 10/02/2019
        build time: 17:16
        build commit date: 2019-02-10
        build commit time: 23:55
        build hash: 69b2f5268114
        build platform: Windows
        build type: Release
        build c flags: /W3 /w34062 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP -openmp
        build c++ flags: /W3 /w34062 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc -openmp  
        build link flags: /MACHINE:X64  /SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO  /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib  /ignore:4049 /ignore:4217 /ignore:4221
        build system: CMake

Short description of error
Looks like it's using the old matrix mult syntax.. should be an easy one char fix :)

Traceback (most recent call last):
  File "e:\blender-2.80\2.80\scripts\addons\mesh_looptools.py", line 3777, in invoke
    return self.execute(context)
  File "e:\blender-2.80\2.80\scripts\addons\mesh_looptools.py", line 3800, in execute
    object=object)
  File "e:\blender-2.80\2.80\scripts\addons\mesh_looptools.py", line 302, in calculate_plane
    normal = rotation * mathutils.Vector((0.0, 0.0, 1.0))
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Vector' types

location: <unknown location>:-1

Exact steps for others to reproduce the error

  • Make sure the Loop Tools addon is enabled
  • Select a Face
  • Expand the "Flatten" rollout
  • Change Plane to "View"
  • Click "Flatten"
**System Information** Operating system: Windows 10 / Kubuntu 18.10 Graphics card: 1080TI **Blender Version** ``` Blender 2.80 (sub 44) build date: 10/02/2019 build time: 17:16 build commit date: 2019-02-10 build commit time: 23:55 build hash: 69b2f5268114 build platform: Windows build type: Release build c flags: /W3 /w34062 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP -openmp build c++ flags: /W3 /w34062 /w34189 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /wd4828 /wd4996 /we4013 /we4133 /we4431 /w35038 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc -openmp build link flags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib /ignore:4049 /ignore:4217 /ignore:4221 build system: CMake ``` **Short description of error** Looks like it's using the old matrix mult syntax.. should be an easy one char fix :) ``` Traceback (most recent call last): File "e:\blender-2.80\2.80\scripts\addons\mesh_looptools.py", line 3777, in invoke return self.execute(context) File "e:\blender-2.80\2.80\scripts\addons\mesh_looptools.py", line 3800, in execute object=object) File "e:\blender-2.80\2.80\scripts\addons\mesh_looptools.py", line 302, in calculate_plane normal = rotation * mathutils.Vector((0.0, 0.0, 1.0)) TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Vector' types location: <unknown location>:-1 ``` **Exact steps for others to reproduce the error** - Make sure the Loop Tools addon is enabled - Select a Face - Expand the "Flatten" rollout - Change Plane to "View" - Click "Flatten"
Author

Added subscriber: @testure

Added subscriber: @testure
Brendon Murphy changed title from Loop Tools throws a matrix * vector error when flattening by view to Loop Tools throws a matrix * vector error when flattening by view 2.8 2019-02-19 05:08:43 +01:00
Philipp Oeser was assigned by Brendon Murphy 2019-02-19 05:08:43 +01:00
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

closed as resolved committed 787d786cb8
Matrix Multiplication uses @ in 2.8 not * for Matrix Multiplication
https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API

closed as resolved committed 787d786cb8 Matrix Multiplication uses @ in 2.8 not * for Matrix Multiplication https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#61698
No description provided.