-
Notifications
You must be signed in to change notification settings - Fork 249
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
Object has no evaluated mesh data #1321
Comments
RF does not use hard-coded names. i can write some code to catch and report this error gracefully, but it would be far better to figure out how to replicate this error and fix it. was he able to reproduce this issue, or was this a one-time thing? i'll take a closer look when I get a chance. |
thanks for the screenshot, @JornBoven! are you able to reproduce this issue again? can you share the blend file that causes this so we can inspect it closer? you can send it to [email protected] if you don't want to post it here. thanks! |
There is another error message when clicking on the polypen icon The issue is persistence in this particular scene, but just like the OP, when i copy the model over to a fresh blender scene, retopoflow functions as expected. Ill only be able to share the file if I remove all other content out of the scene. But even after purging the scene, the issue is still there. I've sent [email protected] an email with this file~ |
ah, it's in the scene, but not the view layer... |
`context.scene.objects` may include items that are not in the active view layer, which causes `ray_cast` to fail because it has no eval'd mesh data (do not need to eval it if it's not visible). switched to `context.view_layer.objects` to only iterate over objects in the view layer.
commit d1fe555 fixes this issue. You can test it using this temp link: https://www.dropbox.com/scl/fi/tgbmx8b690orvcc31yp7a/RetopoFlow_v4.0.0-alpha-GitHub.zip?rlkey=380tjledg3h3o0c9g3xc1vloo&st=34u2ntfs&dl=0 |
@JornBoven, maybe try uninstalling the previous version completely, restart blender, then reinstall from the zip? If that does not fix it, what does it do when you try using the Add > Retopology at Cursor or Active buttons? If you're using Windows, try opening the system console link and copy-paste everything you see there here. The console can sometimes have additional information that is useful for debugging issues like this (works here but not there). Thank you for helping us debug this! |
Removed all old versions of RT, restarted my PC and then reinstalled the one you've send me. Tested it in a new scene and it had the same issues so I copied the error message from the console. |
Did anything else get printed to the console? There might be quite a lot there. Can you replicate this error using the same .blend file you sent us via email? Do you get this same error if you load the default scene (with default cube, etc.)? I'm not entirely sure why you're getting this error inside Blender's Python code, and I am unable to replicate this issue on my end to see what is happening. |
I just tested it again and did encountered the error message. The buttons still do not work, but when i create my own secondary mesh -> go into edit mode -> select the poly tool. Then it functions as expected. so only the buttons don't seem to work with me. I've sent you a screen recording with my findings |
perfect! just watched it. digging into it now |
ah! I am able to reproduce your issue here! Here's something I found: if you open the add menu (3D Object Mode Shift+A) and choose Retopology at XXX, it breaks. However, if you choose Retopology at XXX from the 3D View Add menu instead (before using Shift+A menu), it works. Something about calling that Operator from the Shift+A menu causes RF to break. @JornBoven, will you please confirm that this works on your end, too? Looking at that Shift+A menu now... |
since the Operator problem is a separate issue, i created a separate GH issue (#1322) to track it. closing this issue, as it appears to be fixed. You can test out the fix using the same link from above: https://www.dropbox.com/scl/fi/tgbmx8b690orvcc31yp7a/RetopoFlow_v4.0.0-alpha-GitHub.zip?rlkey=380tjledg3h3o0c9g3xc1vloo&st=34u2ntfs&dl=0 Thank you again for helping us debug this issue, @JornBoven! please let us know if you have any other problems! Happy retopo'ing! |
One user ran into the following error when creating a new retopology object with RetopoFlow 4 alpha:
Here's what he says:
That doesn't really make sense, but maybe it holds a clue. So far, I have not been able to replicate the issue. It must have to do with the newly created retopology object mesh data, since even non-mesh objects work fine with the At Active command.
The text was updated successfully, but these errors were encountered: