Skip to content

Commit

Permalink
Adding new Cortex logo graphics.
Browse files Browse the repository at this point in the history
Also installing them for IECoreHoudini and using the for ParameterisedHolders, Converter SOP, and SceneCache ROP. Still need to replace the other SceneCache icons, but those will be customized by function
  • Loading branch information
andrewkaufman committed Oct 24, 2013
1 parent 5567f12 commit 541c5cf
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 6 deletions.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -2670,7 +2670,7 @@ if doConfigure :
#=====
# install icons
#=====
houdiniIcons = glob.glob( "icons/IECoreHoudini/*.svg" )
houdiniIcons = glob.glob( "icons/IECoreHoudini/*.svg" ) + glob.glob( "graphics/CortexLogo*.svg" )
houdiniIconInstall = houdiniPluginEnv.Install( "$INSTALL_HOUDINIICON_DIR", source=houdiniIcons )
houdiniPluginEnv.Alias( "install", houdiniIconInstall )
houdiniPluginEnv.Alias( "installHoudini", houdiniIconInstall )
Expand Down
53 changes: 53 additions & 0 deletions graphics/CortexLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions graphics/CortexLogoMini.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions src/IECoreHoudini/plugin/Plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,21 @@ void newSopOperator(OP_OperatorTable *table)
SOP_OpHolder::create, SOP_ParameterisedHolder::parameters, 0, 4,
SOP_ParameterisedHolder::variables, OP_FLAG_GENERATOR
);
opHolder->setIconName( "SOP_ieOpHolder" );
opHolder->setIconName( "CortexLogoMini" );

OP_Operator *proceduralHolder = new OP_Operator(
"ieProceduralHolder", "Cortex Procedural",
SOP_ProceduralHolder::create, SOP_ParameterisedHolder::parameters, 0, 4,
SOP_ParameterisedHolder::variables, OP_FLAG_GENERATOR
);
proceduralHolder->setIconName( "SOP_ieProceduralHolder" );
proceduralHolder->setIconName( "CortexLogoMini" );

OP_Operator *converter = new OP_Operator(
SOP_CortexConverter::typeName, "Cortex Convert",
SOP_CortexConverter::create, SOP_CortexConverter::parameters, 1, 1,
SOP_CortexConverter::variables, OP_FLAG_GENERATOR
);
converter->setIconName( "SOP_ieCortexConverter" );
converter->setIconName( "CortexLogoMini" );

OP_Operator *cacheReader = new OP_Operator(
"ieInterpolatedCacheReader", "Interpolated Cache Reader",
Expand Down Expand Up @@ -160,8 +160,7 @@ void newDriverOperator( OP_OperatorTable *table )
ROP_SceneCacheWriter::create, ROP_SceneCacheWriter::buildParameters(), 0, 999, 0,
OP_FLAG_GENERATOR
);
/// \todo: get a new icon
sceneCacheWriter->setIconName( "SOP_ieCortexConverter" );
sceneCacheWriter->setIconName( "CortexLogoMini" );

table->addOperator( sceneCacheWriter );

Expand Down

0 comments on commit 541c5cf

Please sign in to comment.