mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Drag problem workaround...
This commit is contained in:
parent
ddc8ae665c
commit
76f588a00e
@ -271,6 +271,9 @@ func can_drop_data(position, data):
|
||||
return typeof(data) == TYPE_DICTIONARY and (data.has('type') or (data.has('nodes') and data.has('connections')))
|
||||
|
||||
func drop_data(position, data):
|
||||
# The following mitigates the SpinBox problem (captures mouse while dragging)
|
||||
if Input.get_mouse_mode() == Input.MOUSE_MODE_CAPTURED:
|
||||
Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
|
||||
create_nodes(data, offset_from_global_position(get_global_transform().xform(position)))
|
||||
return true
|
||||
|
||||
|
@ -4,7 +4,8 @@ name="Windows Desktop"
|
||||
platform="Windows Desktop"
|
||||
runnable=true
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
export_filter="resources"
|
||||
export_files=PoolStringArray( "res://addons/procedural_material/common.shader", "res://addons/procedural_material/graph_edit.gd", "res://addons/procedural_material/graph_edit.tscn", "res://addons/procedural_material/library.gd", "res://addons/procedural_material/main_window.gd", "res://addons/procedural_material/main_window.tscn", "res://addons/procedural_material/node_base.gd", "res://addons/procedural_material/nodes/blend.gd", "res://addons/procedural_material/nodes/blend.tscn", "res://addons/procedural_material/nodes/blur.gd", "res://addons/procedural_material/nodes/blur.tscn", "res://addons/procedural_material/nodes/bricks.gd", "res://addons/procedural_material/nodes/bricks.tscn", "res://addons/procedural_material/nodes/colorize.gd", "res://addons/procedural_material/nodes/colorize.tscn", "res://addons/procedural_material/nodes/combine.gd", "res://addons/procedural_material/nodes/combine.tscn", "res://addons/procedural_material/nodes/decompose.gd", "res://addons/procedural_material/nodes/decompose.tscn", "res://addons/procedural_material/nodes/emboss.gd", "res://addons/procedural_material/nodes/emboss.tscn", "res://addons/procedural_material/nodes/export.gd", "res://addons/procedural_material/nodes/export.tscn", "res://addons/procedural_material/nodes/godot_logo.png", "res://addons/procedural_material/nodes/image.gd", "res://addons/procedural_material/nodes/image.tscn", "res://addons/procedural_material/nodes/material.gd", "res://addons/procedural_material/nodes/material.tscn", "res://addons/procedural_material/nodes/noise.gd", "res://addons/procedural_material/nodes/noise.tscn", "res://addons/procedural_material/nodes/normal_map.gd", "res://addons/procedural_material/nodes/normal_map.tscn", "res://addons/procedural_material/nodes/pattern.gd", "res://addons/procedural_material/nodes/pattern.tscn", "res://addons/procedural_material/nodes/perlin.gd", "res://addons/procedural_material/nodes/perlin.tscn", "res://addons/procedural_material/nodes/transform.gd", "res://addons/procedural_material/nodes/transform.tscn", "res://addons/procedural_material/nodes/uniform.gd", "res://addons/procedural_material/nodes/uniform.tscn", "res://addons/procedural_material/nodes/voronoi.gd", "res://addons/procedural_material/nodes/voronoi.tscn", "res://addons/procedural_material/nodes/warp.gd", "res://addons/procedural_material/nodes/warp.tscn", "res://addons/procedural_material/panoramas/experiment.hdr", "res://addons/procedural_material/panoramas/lobby.hdr", "res://addons/procedural_material/panoramas/night.hdr", "res://addons/procedural_material/panoramas/park.hdr", "res://addons/procedural_material/panoramas/schelde.hdr", "res://addons/procedural_material/pm_editor.gd", "res://addons/procedural_material/pm_editor.tscn", "res://addons/procedural_material/preview.gd", "res://addons/procedural_material/preview.tscn", "res://addons/procedural_material/widgets/about.gd", "res://addons/procedural_material/widgets/about.tscn", "res://addons/procedural_material/widgets/facebook.png", "res://addons/procedural_material/widgets/github.png", "res://addons/procedural_material/widgets/gradient_editor.gd", "res://addons/procedural_material/widgets/gradient_editor.tscn", "res://addons/procedural_material/widgets/icon.png", "res://addons/procedural_material/widgets/line_dialog.gd", "res://addons/procedural_material/widgets/line_dialog.tscn", "res://addons/procedural_material/widgets/twitter.png", "res://addons/procedural_material/widgets/youtube.png", "res://addons/procedural_material/window_dialog.tscn", "res://icon.png" )
|
||||
include_filter="*.json,res://addons/procedural_material/library/base/*.png"
|
||||
exclude_filter="*.ptex"
|
||||
patch_list=PoolStringArray( )
|
||||
|
@ -15,7 +15,7 @@ run/main_scene="res://addons/procedural_material/main_window.tscn"
|
||||
config/use_custom_user_dir=true
|
||||
config/custom_user_dir_name="material_maker"
|
||||
config/icon="res://icon.png"
|
||||
config/release="0.2"
|
||||
config/release="0.3p1"
|
||||
|
||||
[display]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user