diff --git a/cam_preview.tscn b/cam_preview.tscn index 9053e10..ec6e713 100644 --- a/cam_preview.tscn +++ b/cam_preview.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=4 format=2] -[ext_resource path="res://addons/camera_preview/cam_preview.gd" type="Script" id=1] -[ext_resource path="res://addons/camera_preview/window.gd" type="Script" id=2] +[ext_resource path="./cam_preview.gd" type="Script" id=1] +[ext_resource path="./window.gd" type="Script" id=2] [sub_resource type="StyleBoxFlat" id=1] bg_color = Color( 0, 0, 0, 0.164706 ) diff --git a/icon.png.import b/icon.png.import new file mode 100644 index 0000000..8f730df --- /dev/null +++ b/icon.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon.png-37a5d2293e9438a3a40c69269d7ba52b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/camera_preview/icon.png" +dest_files=[ "res://.import/icon.png-37a5d2293e9438a3a40c69269d7ba52b.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/preview_button.tscn b/preview_button.tscn index 05d7d77..2053358 100644 --- a/preview_button.tscn +++ b/preview_button.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=2 format=2] -[ext_resource path="res://addons/camera_preview/toggle_button.gd" type="Script" id=1] +[ext_resource path="./toggle_button.gd" type="Script" id=1] [node name="ToolButton" type="MenuButton"] margin_right = 114.0