Skip to content

Commit

Permalink
Merge pull request #586 from tonihele/feature/obj-icons
Browse files Browse the repository at this point in the history
SVG icons for OBJ
  • Loading branch information
tonihele authored Mar 24, 2024
2 parents 1aeb071 + 265ca07 commit 301a97d
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
mimeType = "text/x-wavefrontmtl",
extension = {"mtl", "MTL"}
)
@DataObject.Registration(displayName = "Wavefront OBJ Material", mimeType = "text/x-wavefrontmtl", iconBase="com/jme3/gde/wavefront/Computer_File_083.gif")
@DataObject.Registration(displayName = "Wavefront OBJ Material", mimeType = "text/x-wavefrontmtl", iconBase="com/jme3/gde/wavefront/obj-file-outline-icon.svg")
public class WaveFrontMaterialDataObject extends AssetDataObject {

public WaveFrontMaterialDataObject(FileObject pf, MultiFileLoader loader) throws DataObjectExistsException, IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
mimeType = "text/x-wavefrontobj",
extension = {"obj", "OBJ"}
)
@DataObject.Registration(displayName = "Wavefront OBJ", mimeType = "text/x-wavefrontobj", iconBase ="com/jme3/gde/wavefront/People_039.gif")
@DataObject.Registration(displayName = "Wavefront OBJ", mimeType = "text/x-wavefrontobj", iconBase ="com/jme3/gde/wavefront/obj-file-icon.svg")
@ActionReferences(value = {
@ActionReference(id =
@ActionID(category = "jMonkeyPlatform", id = "com.jme3.gde.core.assets.actions.ConvertModel"), path = "Loaders/text/x-wavefrontobj/Actions", position = 10),
Expand Down
43 changes: 43 additions & 0 deletions jme3-wavefront/src/com/jme3/gde/wavefront/obj-file-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 301a97d

Please sign in to comment.