I totally agree. This sounds dangerous if not handled properly, but in our case this problem propagates like a virus across all projects.
The reason is that we once had e.g. the xfrog plugin, and it was used in a popular asset, such as a bunch of flowers sitting in a pot or something. This model was not cleaned up before submission to our model database (which currently is still quite old school, and is made up of standard maya ascii files). But the mesh was cleaned up from any xfrog nodes by exporting it to obj and then back in. In fact, the whole scene may have been "cleaned" from these nodes. But the requires statement is still in there. So, a few thousand projects later, and after having started working in binary format, all projects that has been using this model has the "requires" statement in the scene. The problem with this is that it's hard to get to the bottom of the problem as the issue keeps re-appearing although we sometimes sweep the entire server for .ma files and removes a couple of very specific "requires" statements. And we have LOTS of these old "requires" statements, which are simply refering to renderers, plugins etc that are no longer used (really!) in our scenes. // Fredrik On Fri, Mar 13, 2015 at 11:07 AM Marcus Ottosson <[email protected]> wrote: > I can't say for sure, but I'd imagine a "requires" statement are similar > to Python's "import" statements and without them some things may not work > as expected, like missing node-types. > > Having such a thing being part of a workflow sounds dangerous; would it be > possible for you to elaborate on the why? Maybe there's another way. > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAZj0m9FcnymsVGmmitCTNzarCtt2ydXH2KaXmfNfq%3Dsw%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAZj0m9FcnymsVGmmitCTNzarCtt2ydXH2KaXmfNfq%3Dsw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAD%3DwhWPvsqK2ejwTK4zRtggy0-vfRKFaT3G9m6S-MZNgGMZ1CQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
