-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
121 changed files
with
12,569 additions
and
7,886 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
awayextensions3dsmax/AWDCommands/AWDCommands-AWDCheckForUpdate.mcr
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
awayextensions3dsmax/AWDCommands/AWDCommands-ExportAWD.mcr
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
awayextensions3dsmax/AWDCommands/AWDCommands-GotoAway3dForum.mcr
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
awayextensions3dsmax/AWDCommands/AWDCommands-OpenAWDHelperMenu.mcr
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
awayextensions3dsmax/AWDCommands/AWDCommands/AWDCommands-AddAWCameraModifier.mcr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
macroScript AddAWDCameraModifier | ||
category:"AWDCommands" | ||
toolTip:"" | ||
( | ||
|
||
if selection.count==0 then ( | ||
selected=#() | ||
for i in objects do( | ||
if superclassof i==camera then( | ||
for m in i.modifiers do( | ||
if classof m as string=="AWDCamera" then( | ||
appendIfUnique selected i | ||
) | ||
) | ||
) | ||
) | ||
if selected.count>0 then( | ||
answer=queryBox ("Nothing is selected.\n\n "+selected.count as string+" AWDCamera modifiers found in the scene.\n\n Select the Objects that are holding the modifiers ?") | ||
if answer==true then( | ||
select selected | ||
) | ||
) | ||
else messageBox ("No Object is selected.\n\n No AWDCamera modifiers found in the scene.\n\n To create a AWDCamera modifier, select one camera.") | ||
|
||
) | ||
else if selection.count>=1 then ( | ||
createdAny=false | ||
lightSelected=false | ||
for i in selection do( | ||
if superclassof i==camera then( | ||
lightSelected=true | ||
print (superclassof i) | ||
hasModifier=false | ||
for m in i.modifiers do( | ||
if classof m as string=="AWDCamera" then( | ||
hasModifier=true | ||
) | ||
) | ||
if not hasModifier then ( | ||
theObj = dotNetObject "MaxCustomControls.RenameInstanceDialog" ("AWDCamera") | ||
theobj.text ="Add name for new AWDCamera" | ||
DialogResult = theObj.Showmodal() | ||
createdAny=true | ||
dotnet.compareenums TheObj.DialogResult ((dotnetclass "System.Windows.Forms.DialogResult").OK) | ||
result = theobj.InstanceName | ||
newShadowMethod=AWDCamera() | ||
newShadowMethod.name=result | ||
addModifier selection[1] newShadowMethod | ||
) | ||
) | ||
) | ||
if lightSelected then ( | ||
if not createdAny then( | ||
messageBox ("No AWDCamera-modifer created, because all selected camera allready have one applied.") | ||
) | ||
) | ||
else messageBox ("To create a AWDCamera-modifier, you need to select a camera-object.") | ||
|
||
max modify mode | ||
) | ||
|
||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ands/AWDCommands-AddAWDEffectModifier.mcr → ...ands/AWDCommands-AddAWDEffectModifier.mcr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
macroScript AddAWDEffectModifier | ||
category:"AWDCommands" | ||
category:"AWDCommands" | ||
toolTip:"" | ||
( | ||
|
||
|
Oops, something went wrong.