nel-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nel] Max4 plugin fixes


From: Cyril 'Hulud' Corvazier
Subject: Re: [Nel] Max4 plugin fixes
Date: Fri, 23 Aug 2002 11:17:02 +0200

> >   http://zerodeux.net/misc/nel/max_script.patch
> >     'align:left' -> 'align:#left'
> >     It fixes Max4 warnings on startup, but I don't know if it's still 
> > compatible with Max3.

#left patch applied.

I have not applied the patch below:

This code is correct, iAlphaOperation_# must be 5 (alpha blending mode) to 
enable the alpha blending operator combobox.
iAlphaBlendSource_# is the alpha blending operator choosed by the combobox 
dlAlphaBlendSource.

Hld.

---

***************
*** 1166,1172 ****
      dlRgbArg0Operand.enabled = bEnableSlot_1 and bNormalShader
      dlRgbArg1Operand.enabled = bEnableSlot_1 and bNormalShader
      dlAlphaOperation.enabled = bEnableSlot_1 and bNormalShader
!     dlAlphaBlendSource.enabled = (bEnableSlot_1 == true) and 
(iAlphaOperation_1 == 5) and bNormalShader
      dlAlphaArg0.enabled = bEnableSlot_1 and bNormalShader
      dlAlphaArg1.enabled = bEnableSlot_1 and bNormalShader
      dlAlphaArg0Operand.enabled = bEnableSlot_1 and bNormalShader
--- 1166,1172 ----
      dlRgbArg0Operand.enabled = bEnableSlot_1 and bNormalShader
      dlRgbArg1Operand.enabled = bEnableSlot_1 and bNormalShader
      dlAlphaOperation.enabled = bEnableSlot_1 and bNormalShader
!     dlAlphaBlendSource.enabled = (bEnableSlot_1 == true) and 
(iAlphaBlendSource_1 == 5) and bNormalShader
      dlAlphaArg0.enabled = bEnableSlot_1 and bNormalShader
      dlAlphaArg1.enabled = bEnableSlot_1 and bNormalShader
      dlAlphaArg0Operand.enabled = bEnableSlot_1 and bNormalShader
***************
*** 1326,1332 ****
      dlRgbArg0Operand.enabled = bEnableSlot_2 and bNormalShader
      dlRgbArg1Operand.enabled = bEnableSlot_2 and bNormalShader
      dlAlphaOperation.enabled = bEnableSlot_2 and bNormalShader
!     dlAlphaBlendSource.enabled = (bEnableSlot_2 == true) and 
(iAlphaOperation_2 == 5) and bNormalShader
      dlAlphaArg0.enabled = bEnableSlot_2 and bNormalShader
      dlAlphaArg1.enabled = bEnableSlot_2 and bNormalShader
      dlAlphaArg0Operand.enabled = bEnableSlot_2 and bNormalShader
--- 1326,1332 ----
      dlRgbArg0Operand.enabled = bEnableSlot_2 and bNormalShader
      dlRgbArg1Operand.enabled = bEnableSlot_2 and bNormalShader
      dlAlphaOperation.enabled = bEnableSlot_2 and bNormalShader
!     dlAlphaBlendSource.enabled = (bEnableSlot_2 == true) and 
(iAlphaBlendSource_2 == 5) and bNormalShader
      dlAlphaArg0.enabled = bEnableSlot_2 and bNormalShader
      dlAlphaArg1.enabled = bEnableSlot_2 and bNormalShader
      dlAlphaArg0Operand.enabled = bEnableSlot_2 and bNormalShader







reply via email to

[Prev in Thread] Current Thread [Next in Thread]