diff --git a/dmodels/src/icons/Sources.pp b/dmodels/src/icons/Sources.pp index a4522afb79..e8562fca47 100644 --- a/dmodels/src/icons/Sources.pp +++ b/dmodels/src/icons/Sources.pp @@ -1,10 +1,24 @@ -#define DIR_TYPE models -#define INSTALL_TO icons - - -#begin install_icons - #define SOURCES \ - folder.gif minusnode.gif openfolder.gif plusnode.gif python.gif \ - sphere2.gif tk.gif -#end install_icons - +#define DIR_TYPE models +#define INSTALL_TO icons + +#define fltfiles $[wildcard *.flt] +#begin flt_egg + #define SOURCES $[fltfiles] +#end flt_egg + +#define mayafiles $[wildcard *.mb] +#begin maya_egg + #define SOURCES $[mayafiles] +#end maya_egg + +#begin install_icons + #define SOURCES \ + folder.gif minusnode.gif openfolder.gif plusnode.gif python.gif \ + sphere2.gif tk.gif +#end install_icons + +#begin install_egg + #define SOURCES \ + $[fltfiles:%.flt=%.egg] $[mayafiles:%.mb=%.egg] \ + icon_lightbulb.egg +#end install_egg diff --git a/dmodels/src/icons/icon_lightbulb.egg b/dmodels/src/icons/icon_lightbulb.egg new file mode 100755 index 0000000000..8017d52fba --- /dev/null +++ b/dmodels/src/icons/icon_lightbulb.egg @@ -0,0 +1,33 @@ + { + "egg-texture-cards -o icon_lightbulb.egg ../../src/maps/lightbulb.tif" +} + lightbulb { + "../../src/maps/lightbulb.tif" +} + { + vpool { + 0 { + -0.5 0.5 0 + { 0 1 } + } + 1 { + -0.5 -0.5 0 + { 0 0 } + } + 2 { + 0.5 -0.5 0 + { 1 0 } + } + 3 { + 0.5 0.5 0 + { 1 1 } + } + } + lightbulb { + { + { 1 1 1 1 } + { lightbulb } + { 0 1 2 3 { vpool } } + } + } +} diff --git a/dmodels/src/maps/lightbulb.tif b/dmodels/src/maps/lightbulb.tif new file mode 100755 index 0000000000..09212e65db Binary files /dev/null and b/dmodels/src/maps/lightbulb.tif differ