Skip to content

Commit

Permalink
gaffer.cmd : Add Cycles support
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Dec 19, 2022
1 parent 71d0fc2 commit 03ae373
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bin/gaffer.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,19 @@ if "%DELIGHT%" NEQ "" (
call :appendToPath "%GAFFER_ROOT%\renderMan\displayDrivers" DL_RESOURCES_PATH
)

rem cycles

if "%CYCLES_ROOT%" EQU "" (
if exist %GAFFER_ROOT%\cycles (
set CYCLES_ROOT=%GAFFER_ROOT%\cycles
)
)

if "%CYCLES_ROOT%" NEQ "" (
call :prependToPath "%CYCLES_ROOT%\bin" PATH
)


rem Set up 3rd party extensions
rem Batch files are awkward at `for` loops. The default `for`, without `/f`
rem uses semi-colons AND spaces as delimiters, meaning we would not be able
Expand Down

0 comments on commit 03ae373

Please sign in to comment.