Era-Dorta / fire-modeling

Fire modeling from images
1 stars 0 forks source link

Copy pasting the path of the Data file may leave the wrong information in the .ma file #14

Open dkit opened 9 years ago

dkit commented 9 years ago

I noticed this happened a few times, but when I save the .ma file I find that the fireFrameUpdate.mel causes an error during rendering. Upon further investigation I determined that I have to manually edit the .ma file and change the "setAttr ".S13" -type "string"" line in the file to the correct .raw file I'm using. All the other lines are correct.

I tried to test this by using the open file folder and selecting the right file for both fields, but found that the .mel file was correctly produced. I believe this happens when I copy and paste the filename from the first field to the second and then save the .ma file ....

Era-Dorta commented 9 years ago

I've working on this and it can be fixed adding a few maya scripts, however the fix breaks the playback autoupdate, with that I mean hitting the play button then stop and getting the data files updated. Updates during batch rendering and just clicking on a given frame would still work. If that is acceptable I can upload the changes. Another fix would be to add an internal file attribute and show in the attribute editor in Maya both the first file for the sequence and the current file, as well as extra scripts to handle the conversions between the three file paths.

Era-Dorta commented 9 years ago

As an extra note, when I wrote the code to handle all this it all became too complicated too fast. So my approach was to say, I get the GUI working and leave the setting data files via script (which is what you are doing with the copy and paste) as a thing that is not supported ...

dkit commented 9 years ago

Ok. Let's put this as "Won't fix" but it's good to have this documented, because I didn't make this connection until today ...