Commit Graph

3689 Commits

Author SHA1 Message Date
27d97cf766 Added optional force parameter to WebServerRequest::move_file(). Also various fixes and improvements to the new upload temp file system. 2024-03-10 09:07:13 +01:00
6addb02bbb Added new wwwroot_get_simplified_abs_path() helper to FileCache. Also improved the other path helper methods. 2024-03-10 08:21:24 +01:00
b96205f05f Use the sotred path when cleanin up temp files. 2024-03-10 07:07:38 +01:00
2f950e87d6 Only count request size when not writing to a file. 2024-03-10 07:05:25 +01:00
a993a5460c Make sure temp files directory exists when starting WebServerSimple. 2024-03-10 07:01:05 +01:00
f86c6440fb - Now WebServerSimple can also use temporary files for uploads.
- Added move_file() and is_file_moved()  helper methods to WebServerRequest.
- get_file_length() in WebServerRequest now returns uint64_t.
- Removed parse_files() from WebServerRequest. It's doesn't work well with how the http protocol works.
2024-03-09 23:39:33 +01:00
432478cb70 Fix index error. 2024-03-09 16:42:24 +01:00
3be690da76 Properly lock image. 2024-03-09 16:40:10 +01:00
c67d45375b Fix LayeredTileMapPattern::get_used_cells(). 2024-03-09 16:27:43 +01:00
fe901f22bd Fix tile selection indicator graphic. 2024-03-09 11:21:59 +01:00
de33138e87 Fix creating polygons in GenericTilePolygonEditor. 2024-03-09 10:33:18 +01:00
5359053613 Fix expand in GenericTilePolygonEditor. 2024-03-09 08:35:49 +01:00
d630dec41a Added missing icon. 2024-03-09 08:27:24 +01:00
bfaf5a6b75 Don't free the Editor's UndoRedo. 2024-03-09 08:17:36 +01:00
87be638698 Lock and unlock images in LayeredTileSetAtlasSource::_create_padded_image_texture. 2024-03-09 08:13:52 +01:00
068c83f71d Keep source flags when creating padded texture. 2024-03-09 08:11:08 +01:00
bfbe04e78c Fix method name. 2024-03-09 08:03:18 +01:00
3c79d3fd50 Bind method. 2024-03-09 08:00:37 +01:00
6ee714aab7 Updated all drop_data_fw method signatures. 2024-03-09 07:25:02 +01:00
626998dc26 Fixed panning in the LayeredTileMap editor. 2024-03-09 06:56:11 +01:00
3c6f55cf3f Added the center view icon from godot4. 2024-03-09 06:42:50 +01:00
ec72d5324a Updated sample module_config.py. 2024-03-09 06:29:48 +01:00
60eb59ab19 Backpoered from Godot 4: Add is_built_in() method to Resource.
- KoBeWi
e393c2a734
2024-03-08 21:16:16 +01:00
70bd32682c Backported from godot4: Use a SpinBox in the inspector array resize dialog.
- fire-forge
d6188b4632
2024-03-08 16:43:22 +01:00
fc18954d20 Backported from godot 4: Reduce contrast in inspector array element backgrounds.
- fire-forge, reduz
f26414762f
2024-03-08 16:14:41 +01:00
b757336215 Backported from godot4: Defer EditorInspector::update_tree to the process stage to improve performance
`EditorInspector::update_tree` is expensive, so defer the call to the process phase
to prevent multiple calls in a single frame (when switching scene tabs).
- Rindbee
f352c30ad5
2024-03-08 16:12:21 +01:00
a44fb35ca1 Bakcported a change to the EditorInspector from:
Implement polygons editors in the tiles selection mode
- groud
cec004adf0
2024-03-08 16:06:42 +01:00
d1c0bc9cde Backported from godot4:
Fix property array tooltip shows wrong ID on later pages. Also do some cleanup, use`element_position` instead of `begin_array_index + i`
- jsjtxietian
d4ac65bc48
2024-03-08 16:03:16 +01:00
6027c323be Backported parts of:
Clean-up array editing
- reduz
0351a0908f
And:
Fixup array property inspector.
- rburing
4a59188898
2024-03-08 15:00:09 +01:00
1eb0c9347c Fix drag and drop with the editor properties array inspector. 2024-03-08 11:41:47 +01:00
54e735c1f2 Added an another piece of missing code. Now properties arrays work. 2024-03-08 11:12:06 +01:00
2e48acd426 Added some missing code from:
Implement properties arrays in the Inspector.
- groud
godotengine/godot@4bd7700
2024-03-08 11:00:13 +01:00
dbcb0ac6d9 Fix binding a method twice. 2024-03-08 10:59:25 +01:00
5356c1a7ea Fix typo. 2024-03-08 07:04:29 +01:00
9116814193 ItemLists does not support negative indexing. 2024-03-08 07:01:04 +01:00
a94f302003 Call the proper method. 2024-03-07 23:33:19 +01:00
66dcbb02b0 Fix calling method from signal. 2024-03-07 23:27:50 +01:00
7dc0eda074 Added missing icon. 2024-03-07 23:22:26 +01:00
f4d728b08e Use better popup() method. 2024-03-07 23:20:20 +01:00
ce1200e5ea Add missing icons for the layered tile map editor. 2024-03-07 23:15:46 +01:00
2702aa5d65 Fix theme changed notifications for the layered tile map's editor. 2024-03-07 22:56:23 +01:00
564469a118 Add missing GDClass macro. 2024-03-07 22:55:46 +01:00
ffb4c9eef7 Use clip tabs. 2024-03-07 21:58:09 +01:00
be0b5b5bdc Backported from Godot4: Implement Tabs minimum size.
- groud
898a2a7cf3
2024-03-07 21:57:49 +01:00
12a6e10ddd Fixed errors on startup. 2024-03-07 21:38:08 +01:00
f78dd78dc3 Fix inconsistent overrides. 2024-03-07 19:15:06 +01:00
9d639d5136 Enable the layered tile maps module as now it compiles. It still needs some work before it's actually usable though. 2024-03-07 19:00:47 +01:00
adea98943c Fixed compile when layered tile maps are enabled. 2024-03-07 18:57:18 +01:00
27b73fa9f9 Removed Vector2i(Vector2) constructor, added a Vector2i conversion operator to Vector2 instead. This solves ambigous Variant to Vector2i conversion errors. 2024-03-07 18:56:55 +01:00
2e45ffc5ea Work on fixing compile when layered tile maps are enabled. 2024-03-07 07:00:43 +01:00