Skip to content

[BUG] UI_Slider_01 component fails during installation. #464

@danielslima

Description

@danielslima

🐞 Bug Report

Description

slider component fails during installation

Steps to Reproduce

Add a slide component guide and try to install

Expected Behavior

the rig for the slider get installed

Actual Behavior

It fails and the rig component is not created

Maya Version

  • Maya Version: 2023
  • OS: win11

mGear Version

  • mGear Version: 5.0.2

Error Log Formatting

    = BUILDING RIG ==============================================
Initial Hierarchy
Init : uiSlider_C0 (ui_slider_01)
Objects : uiSlider_C0 (ui_slider_01)
# Error: line 1: MVector : no matching constructor found.
# Traceback (most recent call last):
#   File "<maya console>", line 6, in <module>
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\shifter\guide_manager.py", line 91, in build_from_selection
#     rg.buildFromSelection()
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\shifter\__init__.py", line 265, in buildFromSelection
#     self.build()
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\shifter\__init__.py", line 299, in build
#     self.processComponents()
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\shifter\__init__.py", line 547, in processComponents
#     comp.stepMethods[i]()
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\shifter\component\__init__.py", line 158, in step_00
#     self.addObjects()
#   File "D:\depot/Tools-Dev/Source/Gsap/dcc/maya/external/mgear4/release/scripts/mgear/shifter_classic_components\ui_slider_01\__init__.py", line 43, in addObjects
#     self.border = self.addCtl(self.root,
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\shifter\component\__init__.py", line 997, in addCtl
#     ctl = icon.create(parent, fullName, m, color, iconShape, **kwargs)
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\core\icon.py", line 89, in create
#     ctl = square(
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\core\icon.py", line 346, in square
#     points = getPointArrayWithOffset([v0, v1, v2, v3], pos_offset, rot_offset)
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\core\icon.py", line 1483, in getPointArrayWithOffset
#     v = v + pos_offset
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\pymaya\datatypes.py", line 55, in __add__
#     return Vector(super(Vector, self).__add__(other))
#   File "D:\depot\Tools-Dev\Source\Gsap\dcc\maya\external\mgear4\release\scripts\mgear\pymaya\datatypes.py", line 44, in __init__
#     super(Vector, self).__init__(*args, **kwargs)
# ValueError: MVector : no matching constructor found. #

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

5.0.7

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions