Skip to content

Commit

Permalink
Merge pull request #427 from tonihele/feature/blender-svg
Browse files Browse the repository at this point in the history
Blender icons to SVG
  • Loading branch information
tonihele authored Nov 6, 2022
2 parents ff10911 + e9c6320 commit 822841b
Show file tree
Hide file tree
Showing 17 changed files with 55 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
)
@DataObject.Registration(
mimeType = "application/blender",
iconBase = "com/jme3/gde/blender/blender.png",
iconBase = "com/jme3/gde/blender/blender.svg",
displayName="#LBL_Blender_LOADER",
position=300
)
Expand Down
4 changes: 1 addition & 3 deletions jme3-blender/src/com/jme3/gde/blender/GLTFDataObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

import com.jme3.asset.ModelKey;
import com.jme3.gde.core.assets.SpatialAssetDataObject;
import com.jme3.scene.Spatial;
import com.jme3.scene.plugins.gltf.GltfModelKey;
import java.io.IOException;
import org.openide.awt.ActionID;
Expand All @@ -58,8 +57,7 @@
)
@DataObject.Registration(
mimeType = "model/gltf+json",
iconBase = "com/jme3/gde/blender/glTF.png",
//iconBase = "com/jme3/gde/blender/glTF_100px_June16.png",
iconBase = "com/jme3/gde/blender/glTF.svg",
displayName="#LBL_GLTF_LOADER",
position=300
)
Expand Down
2 changes: 1 addition & 1 deletion jme3-blender/src/com/jme3/gde/blender/OpenInBlender.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
category = "jMonkeyEngine",
id = "com.jme3.gde.blender.OpenBlender")
@ActionRegistration(
iconBase = "com/jme3/gde/blender/blender.png",
iconBase = "com/jme3/gde/blender/blender.svg",
displayName = "#CTL_OpenInBlender")
@ActionReferences({
@ActionReference(path = "Toolbars/File", position = 335),
Expand Down
2 changes: 1 addition & 1 deletion jme3-blender/src/com/jme3/gde/blender/XbufDataObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
)
@DataObject.Registration(
mimeType = "application/xbuf",
iconBase = "com/jme3/gde/blender/xbuf.png",
iconBase = "com/jme3/gde/blender/xbuf.svg",
displayName="#LBL_XBUF_LOADER",
position=300
)
Expand Down
Binary file removed jme3-blender/src/com/jme3/gde/blender/blender.png
Binary file not shown.
13 changes: 13 additions & 0 deletions jme3-blender/src/com/jme3/gde/blender/blender.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed jme3-blender/src/com/jme3/gde/blender/blender24.png
Binary file not shown.
Binary file removed jme3-blender/src/com/jme3/gde/blender/blender48.png
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
extension = {"3ds", "3DS"})
@DataObject.Registration(
mimeType = "application/x-3ds",
iconBase = "com/jme3/gde/blender/blender.png",
iconBase = "com/jme3/gde/blender/blender.svg",
displayName = "#LBL_Blender3ds_LOADER",
position = 300)
@ActionReferences({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
extension = {"dae", "DAE"})
@DataObject.Registration(
mimeType = "model/vnd.collada+xml",
iconBase = "com/jme3/gde/blender/blender.png",
iconBase = "com/jme3/gde/blender/blender.svg",
displayName = "#LBL_BlenderDae_LOADER",
position = 300)
@ActionReferences({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
extension = {"fbx"})
@DataObject.Registration(
mimeType = "application/fbx",
iconBase = "com/jme3/gde/blender/blender.png",
iconBase = "com/jme3/gde/blender/blender.svg",
displayName = "#LBL_BlenderFbx_LOADER",
position = 300)
@ActionReferences({
Expand Down
Binary file removed jme3-blender/src/com/jme3/gde/blender/glTF.png
Binary file not shown.
22 changes: 22 additions & 0 deletions jme3-blender/src/com/jme3/gde/blender/glTF.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed jme3-blender/src/com/jme3/gde/blender/glTF24.png
Binary file not shown.
Binary file removed jme3-blender/src/com/jme3/gde/blender/glTF48.png
Binary file not shown.
Binary file removed jme3-blender/src/com/jme3/gde/blender/xbuf.png
Binary file not shown.
13 changes: 13 additions & 0 deletions jme3-blender/src/com/jme3/gde/blender/xbuf.svg
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 822841b

Please sign in to comment.