Potential issues with MUIDDrawManager

Potential issues with MUIDDrawManager

resource_rsp
Explorer Explorer
419 Views
0 Replies
Message 1 of 1

Potential issues with MUIDDrawManager

resource_rsp
Explorer
Explorer

Hello Sir / Madam,

We believe we've found a bug in the Maya 2017 C++ API MUIDrawManager class not drawing lines in the same manner as Maya 2016.

We have example C++ source code ("drawBugSimplePlugin.cpp") attached which can reproduce the bug, along with scripts and screenshots. The example can be built in the same way as the devkit examples. In Maya, run the attached script "reproduceBug.py". The screen shots "uiBug-maya2016.png" and "uiBug-maya2017.png" display our results. We believe "uiBug-maya2016.png" to be correct.

A brief description of the bug is as follows:

In Maya 2016, the purple rectangle is drawn correctly. The center of the rectangle is on the z-axis of the node's local space. The depth attribute can be used to move the rectangle along the z-axis. See attached image "uiBug-maya2016.png".

 

In Maya 2017, the purple rectangle is not drawn correctly. One corner of the rectangle is always on the origin of the node's local space - the top-left corner when width & height are both positive. The depth attribute cannot be used to move the rectangle along the z-axis. See attached image "uiBug-maya2017.png".

This bug has unfortunately stopped us from using Maya 2017 in production which we would like to use.

Below lists the exact Maya versions for our tests. The attached script "printMayaVersionInfo.py" was used to determine the values below.

Maya 2017:
operatingSystem: linux64
operatingSystemVersion: Linux 3.10.105-1.el6.elrepo.x86_64 #1 SMP Fri Feb 10 10:48:08 EST 2017 x86_64
application: maya
product: Maya 2017
version: 2017
installedVersion: Autodesk Maya 2017 Update 3
apiVersion: 201740
cutIdentifier: 201702071345-1015190
buildDirectory: /local/S/Maya_2017_DI/build
buildVariant: Release
windowManager: Metacity
compositingManager: False
qtVersion: 5.6.1

Maya 2016:
operatingSystem: linux64
operatingSystemVersion: Linux 3.10.105-1.el6.elrepo.x86_64 #1 SMP Fri Feb 10 10:48:08 EST 2017 x86_64
application: maya
product: Maya 2016
version: 2016
installedVersion: Autodesk Maya 2016 Extension 1 + SP4
apiVersion: 201607
cutIdentifier: 201510022200-973226-1
buildDirectory: /local/S/Maya_2016_DI/build
buildVariant: Release
windowManager: Metacity
compositingManager: False
qtVersion: 4.8.6

0 Likes
420 Views
0 Replies
Replies (0)