Skip to content

Commit

Permalink
1.1.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
pl-dsk committed Apr 7, 2022
0 parents commit 066f994
Show file tree
Hide file tree
Showing 130 changed files with 13,116 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

.idea

Binaries/
Staging/

# Visual Studio
.vs/

# Exclude third party libraries
ThirdParty/

# Exclude Python cache
__pycache__/
*.pyc

# Exclude conan files
conan.lock
conan_imports_manifest.txt
conanbuildinfo.txt
conaninfo.txt
graph_info.json
activate.*
deactivate.*
environment.*
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 Autodesk, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# What is Unreal Live Link for Maya?

Unreal Live Link for Maya is a Maya plugin that speeds up your animation workflow by removing the need to repeatedly export your content and import it into Unreal Engine. You can now work directly inside Maya, and through Live Link, preview what it will look like inside the Engine in real-time.

## Getting Help
Autodesk has their own forum which will remain a great place to go to ask questions.

Forum is [here](https://forums.autodesk.com/t5/unreal-live-link-for-maya-forum/bd-p/6143)
End user documentation is [here](https://www.autodesk.com/unreal-livelink-docs).
Feedback can be provided [here](https://www.autodesk.com/company/contact-us/product-feedback)


## Detailed Documentation

+ [Changelog](doc/CHANGELOG.md)
+ [Contributing](doc/CONTRIBUTING.md)
+ [Building](doc/build.md)
+ [Coding guidelines](doc/codingGuidelines.md)
+ [License](LICENSE.md)
+ [Plugin documentation](doc/README_DOC.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@REM MIT License

@REM Copyright (c) 2022 Autodesk, Inc.

@REM Permission is hereby granted, free of charge, to any person obtaining a copy
@REM of this software and associated documentation files (the "Software"), to deal
@REM in the Software without restriction, including without limitation the rights
@REM to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@REM copies of the Software, and to permit persons to whom the Software is
@REM furnished to do so, subject to the following conditions:

@REM The above copyright notice and this permission notice shall be included in all
@REM copies or substantial portions of the Software.

@REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
@REM IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
@REM FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@REM AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
@REM LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
@REM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
@REM SOFTWARE.

@echo off

if exist %~dp0Staging\ (
RMDIR %~dp0Staging /S /Q
)
..\..\..\..\..\Build\BatchFiles\RunUAT.bat BuildGraph -Script=Engine/Restricted/NotForLicensees/Source/Programs/MayaUnrealLiveLinkPlugin/BuildMayaUnrealLiveLinkPlugin.xml -Target="Stage Maya Plugin Module" -set:MayaVersion=%1 -set:MayaPlatform=%2 -NoXGE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# MIT License

# Copyright (c) 2022 Autodesk, Inc.

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

../../../../../Build/BatchFiles/RunUAT.sh BuildGraph -Script=Engine/Restricted/NotForLicensees/Source/Programs/MayaUnrealLiveLinkPlugin/BuildMayaUnrealLiveLinkPlugin.xml -Target="Stage Maya Plugin Module" -set:MayaVersion=$1 -set:MayaPlatform=$2 -NoXGE
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version='1.0' ?>
<BuildGraph xmlns="http://www.epicgames.com/BuildGraph" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.epicgames.com/BuildGraph ../../../../../Engine/Build/Graph/Schema.xsd" >

<Option Name="PublishZipDir_Win" DefaultValue="$(RootDir)/LocalBuilds/Engine/WindowsZips" Description="The output directory for published zip artifacts on Windows"/>
<Option Name="MayaVersion" Restrict="2019|2020|2022|2023" DefaultValue="2022" Description="Select the maya version"/>
<Option Name="MayaPlatform" Restrict="Win64|Linux" DefaultValue="Win64" Description="Select the platform"/>

<Agent Name="MayaUnrealLiveLinkPlugin" Type="Win64">


<Property Name="LocalSourceDir" Value="$(RootDir)\Engine\Restricted\NotForLicensees\Source\Programs\MayaUnrealLiveLinkPlugin"/>
<Property Name="LocalStagingDir" Value="$(LocalSourceDir)\Staging"/>
<Property Name="LocalBinaryDir" Value="$(RootDir)\Engine\Restricted\NotForLicensees\Binaries\$(MayaPlatform)\Maya"/>
<Property Name="LocalExtraDir" Value="$(RootDir)\Engine\Restricted\NotForLicensees\Extras\MayaUnrealLiveLinkPlugin"/>

<Node Name="Compile UnrealHeaderTool Maya">
<Compile Target="UnrealHeaderTool" Platform="$(MayaPlatform)" Configuration="Development" Arguments="-precompile -nodebuginfo"/>
</Node>

<Node Name="Compile Maya $(MayaVersion)" Requires="Compile UnrealHeaderTool Maya">
<Compile Target="MayaUnrealLiveLinkPlugin$(MayaVersion)" Platform="$(MayaPlatform)" Configuration="Development" Arguments="-noxge"/>
</Node>

<Node Name="Stage Maya Plugin Module" Requires="Compile Maya $(MayaVersion)">
<Copy From="$(LocalSourceDir)\MayaUnrealLiveLinkPlugin.mod" To="$(LocalStagingDir)\MayaUnrealLiveLinkPlugin\Binaries\MayaUnrealLiveLinkPlugin.mod" />

<Tag BaseDir="$(LocalSourceDir)" Files="*.cpp;*.py;*.cs" With="#SourceFiles" />
<Copy Files="#SourceFiles" From="$(LocalSourceDir)" To="$(LocalStagingDir)\MayaUnrealLiveLinkPlugin\Source" />

<Tag Files="$(LocalStagingDir)\MayaUnrealLiveLinkPlugin\Source\..." Filter="*.cpp;*.py;*.cs" With="#SourceFilesCopy" />
<Delete Files="#SourceFilesCopy" />
</Node>

</Agent>
</BuildGraph>
84 changes: 84 additions & 0 deletions Source/Programs/MayaUnrealLiveLinkPlugin/MayaCommonIncludes.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
// MIT License

// Copyright (c) 2022 Autodesk, Inc.

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:

// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.

// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

#pragma once

// Boilerplate for importing OpenMaya
#if defined PLATFORM_WINDOWS
#include "Windows/WindowsPlatformCompilerPreSetup.h"
#else
#include "Unix/UnixPlatformCompilerPreSetup.h"
#endif

// Maya includes
// For Maya 2016 the SDK has to be downloaded and installed manually for these includes to work.
//#define DWORD BananaFritters
THIRD_PARTY_INCLUDES_START
#include <maya/MObject.h>
#include <maya/MGlobal.h>
#if MAYA_API_VERSION < 20190000
#ifndef MAYA_OLD_PLUGIN
#define MAYA_OLD_PLUGIN
#endif // MAYA_OLD_PLUGIN
#endif // MAYA_API_VERSION
#include <maya/MFnPlugin.h>
#include <maya/MPxCommand.h> //command
#include <maya/MCommandResult.h> //command
#include <maya/MPxNode.h> //node
#include <maya/MFnNumericAttribute.h>
#include <maya/MCallbackIdArray.h>
#include <maya/MEventMessage.h>
#include <maya/MDagMessage.h>
#include <maya/MItDag.h>
#include <maya/MDagPath.h>
#include <maya/MFnDagNode.h>
#include <maya/MMatrix.h>
#include <maya/MTransformationMatrix.h>
#include <maya/MQuaternion.h>
#include <maya/MStringArray.h>
#include <maya/MString.h>
#include <maya/MVector.h>
#include <maya/MFnTransform.h>
#include <maya/MFnIkJoint.h>
#include <maya/MFnCamera.h>
#include <maya/MFnLight.h>
#include <maya/MFnSpotLight.h>
#include <maya/MEulerRotation.h>
#include <maya/MSelectionList.h>
#include <maya/MAnimControl.h>
#include <maya/MTimerMessage.h>
#include <maya/MDGMessage.h>
#include <maya/MNodeMessage.h>
#include <maya/MSceneMessage.h>
#include <maya/M3dView.h>
#include <maya/MUiMessage.h>
#include <maya/MSyntax.h>
#include <maya/MArgDatabase.h>
#include <maya/MItDependencyGraph.h>
#include <maya/MFnBlendShapeDeformer.h>
#include <maya/MItDependencyNodes.h>
#include <maya/MPlug.h>
#include <maya/MFnSkinCluster.h>
#include <maya/MDagPathArray.h>
#include <maya/MArgList.h>
THIRD_PARTY_INCLUDES_END
//#undef DWORD
Loading

0 comments on commit 066f994

Please sign in to comment.