Skip to content

Maya integration: fixed merge conflict#53

Open
Ibm510000 wants to merge 1 commit intoGriddle-Assets:mainfrom
Ibm510000:maya_merge_branch
Open

Maya integration: fixed merge conflict#53
Ibm510000 wants to merge 1 commit intoGriddle-Assets:mainfrom
Ibm510000:maya_merge_branch

Conversation

@Ibm510000
Copy link

This merge fixed some merging bugs and is ready to merge

if (!stored) return;

const myPath = path.join(getDownloadFolder(), stored.folderName)
const pythonPath = path.join(__dirname,"../../../dcc/maya/MayaMiddleScript.py")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we know if this works on an actual build? like are the python scripts actually included in the bundle?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the dcc files will be stored under the new folder root/dcc/ so griddle should be able to locate the python scripts.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to be set for each user..?


if __name__ == "__main__":
a = sys.argv[1]
check = check_if_process_running("maya.exe")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does "maya.exe" work for mac or linux?

await openFolder(asset_id);
return { ok: true };
},
'assets:open-Maya': async (_, { asset_id}) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably change casing to "open-maya" to match other call names but not super important

className="btn btn-ghost btn-sm flex w-full flex-row flex-nowrap items-center justify-start gap-2 text-sm font-normal"
onClick={onOpenMayaClick}
>
<MdFolderOpen />
Copy link
Member

@printer83mph printer83mph Apr 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Icon or layout should be different to clarify different actions

Copy link
Member

@printer83mph printer83mph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could not get this running on my machine, on Mac for reference
Seems that "dir.txt" references a per-user location which should probably be automatically generated

Other small comments left on individual files

Unfortunately right now I don't think this is good to merge into main, but you should definitely show it working on your machine in class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants