blob: d0e653e1b6ac62533d6bcf29c140cc46442fe72c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
// Shave and a Haircut
// (c) 2019 Epic Games
// US Patent 6720962
global string $shaveAEOverrides_fileVersion = "$Revision$";
//
// This file contains overrides for some of Maya's standard attribute
// editor scripts so that Shave can add functionality of its own.
//
//
// Dummy proc used to locate the file via 'whatIs'.
//
global proc shaveAEOverrides()
{
}
global proc AElightCommonShadow2 ( string $nodeName )
{
editorTemplate -addControl "shadowRays";
editorTemplate -addControl "rayDepthLimit";
editorTemplate -endLayout;
//suppressed light parameters
editorTemplate -suppress "centerOfIllumination";
editorTemplate -suppress "pointCamera";
editorTemplate -suppress "matrixWorldToEye";
editorTemplate -suppress "matrixEyeToWorld";
editorTemplate -suppress "objectId";
editorTemplate -suppress "primitiveId";
editorTemplate -suppress "raySampler";
editorTemplate -suppress "rayDepth";
editorTemplate -suppress "lightData";
editorTemplate -suppress "opticalFXvisibility";
editorTemplate -suppress "renderState";
// if Maya Fur is loaded (ie. if the Fur shading layout procedure
// exists), then end the current layout (ie. Shadows) and add the
// Fur shading layout
//
if ( `exists AEFurShading` ) {
editorTemplate -endLayout;
eval( "AEFurShading " + $nodeName + " true false" );
}
//
// Add the Shave layout, if needed.
//
eval("shave_AElight \"" + $nodeName + "\"");
}
|