Skip to content

Commit

Permalink
The inklecate_path setting is now relative to res://
Browse files Browse the repository at this point in the history
Related to #35
  • Loading branch information
paulloz committed Jun 21, 2021
1 parent 36d1c1b commit acea307
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/paulloz.ink/PaullozDotInk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class PaullozDotInk : EditorPlugin
private Dictionary settings = new Dictionary() {
{"inklecate_path", new Dictionary() {
{ "type", Variant.Type.String },
{ "hint", PropertyHint.GlobalFile },
{ "hint", PropertyHint.File },
{ "hint_string", OS.GetName() == "OSX" ? "" : "*.exe" },
{ "default", "" }
}},
Expand Down
2 changes: 1 addition & 1 deletion addons/paulloz.ink/import_ink.gd
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func import(source_file, save_path, options, r_platform_variants, r_gen_files):
func import_from_ink(source_file, save_path, options):
var setting = "ink/inklecate_path"
if ProjectSettings.has_setting(setting) and ProjectSettings.property_can_revert(setting):
var inklecate = ProjectSettings.get_setting(setting)
var inklecate = ProjectSettings.globalize_path(ProjectSettings.get_setting(setting))
var new_file = "%d.json" % int(randf() * 100000)
var arguments = [
"-o",
Expand Down

0 comments on commit acea307

Please sign in to comment.