-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current Frame solve erroring in Maya 2019 #232
Comments
It was also mentioned that this was using the This shouldn't be happening... initially I'm not sure what could be wrong. |
an additional note: I did create a quick scene from scratch (since the scene i was getting this error on was created with i believe v0.3.11) to create a collection from the latest v0.3.15 (compiled from source) to see what happens and what is interesting is that in this scene it does not error on a "Current frame" solve but rather it just does not solve in general, and gives this output:
|
Hello @ktonegawa, I have a feeling the issue you're having is related to #222. I added a feature to automatically detect and determine the relationships between the Markers and Attributes. Unfortunately there was a bug that caused the feature to never be turned off once it was enabled (using the "Object Relationships" check box) for a Collection. I suspect that if you delete the Collection in your original scene (created in v0.3.11) and re-create a new one with v0.3.15 then it will produce The fact that no attributes can be found can be caused by a few reasons:
I think the reason 1 is more likely. I have attached a screenshot (taken in an experimental branch - so you won't have the "Scene Graph" option) showing the "Evaluate Object Relationships" and the preferences option too: |
Hi @david-cattermole, i just tried out some more things and i have confirmed that even in the "Standard" solver tab the "Current Frame" mode does not work and once again gives this error:
I then tested the "Legacy" tab and tried to set the frame range to So is the "Current Frame" option also in theory not supposed to work in "Standard" mode as well? If so perhaps these options should be removed from "Basic" and "Standard" tabs to avoid confusion...? |
I'll dig deeper into this issue.
"Current Frame" should work in the Standard and Basic tabs - if it's broken it should be fixed. |
@ktonegawa I can confirm using your test scenes I can reproduce the same error in the latest v0.3.15, in both Basic and Standard tabs. The steps for reproducing the problem are:
The same error will occur with the "Basic" tab if the bundle's attributes are keyed. The reason the "No Attributes found!" warning was displayed in the Basic tab is because the attributes are Static and therefore ignored. Using the Standard solver stops the solver from filtering the static attributes and therefore producing the same error. I will look into this problem and create a fix for the The following error will be displayed:
Thanks for reporting this @ktonegawa! |
…rame() I have incorrectly passed the arguments to the function creating the "single frame solver" recipe. This created a silent error where the "precomputed data" (a `dict`) was passed to the `remove_unused_objects` argument which then asserted the wrong type. I have added more type asserts to mitigate type of problem, in this file. Issue #232
I see the bug now. I have incorrectly passed the arguments to the function creating the "single frame solver" recipe. This created a silent error where the "precomputed data" (a The moral of the bug is that I should have added asserts to the Although this bug started in the Standard solver tab, I think the data on the Collection became corrupted somehow, which caused the Basic solver tab to also produce the same error. I actually found this bug yesterday and fixed it in another branch; 2c7d6c9 as part of #114 (to be part of the v0.4.0 release) I have ported this fix over to the @ktonegawa can you pull the latest commit and confirm this is now working for you? This fix will be part of the v0.3.15 release. |
…tations Add fix from #232, adds more assert statements for function argument types. # Conflicts: # python/mmSolver/_api/solverstandard.py
I just compiled the latest changes and here are the test results:
So it seems to snap fine in Standard but not Basic (which seems to be in line with what you described). Is this the result you are expecting? |
Yes, this seems like it's working correctly! This is now fixed and working as I expect. |
Perfect thank you so much for looking into this David! I honestly figured it was just my Maya acting up again so good to know this was an actual issue.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: David Cattermole ***@***.***>
Sent: Sunday, January 2, 2022 11:22:06 PM
To: david-cattermole/mayaMatchMoveSolver ***@***.***>
Cc: ktonegawa ***@***.***>; Mention ***@***.***>
Subject: Re: [david-cattermole/mayaMatchMoveSolver] Current Frame solve erroring in Maya 2019 (Issue #232)
Closed #232<#232>.
—
Reply to this email directly, view it on GitHub<#232 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AP6TJNUK2M7PGCNKWSYPQELUUFFB5ANCNFSM5LCI4NEQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Problem or Feature
Submitting as per recommendation from David. Feel free to disregard if its a non-issue.
When trying to solve a simple bundle with the "current frame" mode in any of the solvers in versions of the mmSolver plugin v0.3.12 and newer we get an error.
Expected behavior:
regular solve on current frame
Actual behavior:
errors with:
Steps to Reproduce
Software Versions
mmSolver version: v0.3.12 and newer
Maya version:
2019
Operating System: Microsoft Windows 7 Business Edition, 64-bit Windows 7 Service Pack 1 (Build 7601)
Cut ID: 201905131615-158f5352ad
Maya Version: Autodesk Maya 2019.1
Maya API: 20190100
Qt Version: 5.6.1
Compositing Manager: True
Window Manager: Windows Aero
GPU: Version : 2016.11.44.12. Feature Level 5.
Adapter : GeForce GTX 560 Ti/PCIe/SSE2
Vendor ID: 4318. Device ID : 4608
Driver : nvoglv64.dll:23.21.13.9135.
API : OpenGL V.4.6.
Max texture size : 16384 * 16384.
Max tex coords : 32
Shader versions supported (Vertex: 5, Geometry: 5, Pixel 5).
Shader compiler profile : (Best card profile)
Active stereo support available : 0
GPU Memory Limit : 1024 MB.
CPU Memory Limit: 31107 MB.
-->
The text was updated successfully, but these errors were encountered: