-
Notifications
You must be signed in to change notification settings - Fork 129
Maya template builder - preserve all references when importing a template #4797
Conversation
I think there shouldnt be any referenced files in So I guess its not valid request. @antirotor @iLLiCiTiT can you confirm its like I said? |
@LiborBatek The purpose of the template file is to contain any type of data including placeholders. During the build phase the placeholders will be replaced by the data corresponding to the context. |
My point is that template file should only/exclusively contain just placeholders....not any live reffed data. Thats my point :) Also thats why I was asking devs whats their pov. As I see it if there should be present something in the |
I understand your point of view but when we started developing this feature, the goal was not to have only placeholders. I invite you to consult the description of the first tickets and thoughts that led to the development of this feature. |
If the template cannot integrate other things then for nuke we no longer have nodes that are connected to what is replaced by the placeholder. |
I agree that the best way is to have proper loaded asset through Opype and not a "simple" reference. Being able to reference an arbitrary scene enable us to quickly prototype template elements, test them through the pipeline without having to publish again, again and again a turntable remplate or a camera, etc we are building / finetuning |
@mre7a I did try to test this but I have failed to replicate the conditions. Could you elaborate more on it, describe your workflow/ testing steps exactly step by step? for ie I dont really understand these steps you wrote: "When building a template with Maya template builder, we import the template and also the references inside the template file." If I am correct theres no any "import" step normally invovled when using The only thing clear to me is whenever something got imported it obviously loose versioning via Scene Inventory. Thanks. |
@LiborBatek Sorry if I wasn't clear. |
If I can reformat yout sentence it basically means this: After using Btw thanks for the scrngrabs (these are very helpful! for debugging your issue). Also looking on your template setup (pic 1) you do use some sort of asset so it could be created via Does it have any special reason to create Template file like you do? Some benefits or any shortcommings when other method with placeholders? |
@LiborBatek Thanks a lot for reformatting my sentences. 😄
|
d67d965
to
1c6af19
Compare
1c6af19
to
d67d965
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is one weird issue tho...I got each placeholder
loaded 2x times with assets!
besides layout
which is loaded just one time...
This issue is not present in the latest develop
tho.
@mre7a Could you try to merge develop into this PR?
d67d965
to
5ba82ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in Maya 2023.
Just 1 small code cosmetic request.
5ba82ae
to
8eeb3ed
Compare
8eeb3ed
to
17d39cc
Compare
Changelog Description
When building a template with Maya template builder, we import the template and also the references inside the template file. This causes some problems:
// Error: file: /xxx/maya/2023.3/linux/scripts/AETemplates/AEtransformRelated.mel line 58: Reference node 'turntable_mayaSceneMain_01_RN' is not associated with a reference file.
Testing notes: