From bd0027e737c6512397f841c22786274ed74b927f Mon Sep 17 00:00:00 2001 From: Ben Marsh Date: Tue, 22 Oct 2019 09:07:59 -0400 Subject: Adding Shave-and-a-Haircut 9.6 --- arnold/plugin/plugin.cpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 arnold/plugin/plugin.cpp (limited to 'arnold/plugin/plugin.cpp') diff --git a/arnold/plugin/plugin.cpp b/arnold/plugin/plugin.cpp new file mode 100644 index 0000000..9211ccd --- /dev/null +++ b/arnold/plugin/plugin.cpp @@ -0,0 +1,31 @@ +// Shave and a Haircut +// (c) 2019 Epic Games +// US Patent 6720962 + +#include "ShaveAndHaircut.h" + +#include "extension/Extension.h" +#include "utils/Version.h" + +extern "C" +{ + + EXPORT_API_VERSION + + DLLEXPORT void initializeExtension(CExtension& extension) + { + MStatus status; + + extension.Requires("shaveNode"); + status = extension.RegisterTranslator("shaveHair", + "", + CShaveTranslator::creator, + CShaveTranslator::NodeInitializer); + } + + DLLEXPORT void deinitializeExtension(CExtension& extension) + { + } + +} + -- cgit v1.2.3