Commit Graph

3706 Commits

Author SHA1 Message Date
fd5ed33a7b Set up EditorInspectors for LayeredTileMaps properly. 2024-03-11 15:35:32 +01:00
93d90fb69d Fix LayeredTileSetAtlasSourceEditor's dropdown property selector. 2024-03-11 14:13:09 +01:00
b11bd949cc Backported from Godot4: Allow disabling scrolling in Tree.
- groud
b2dddc3c82
2024-03-11 13:46:53 +01:00
850b5b03ef Fix the sizing of LayeredTileSourceInspectorPlugin's show_id_edit_dialog. 2024-03-11 13:24:19 +01:00
ee7140fe51 Bind method. 2024-03-11 13:18:33 +01:00
5435987237 Fix the sizing of the LayeredTileSetScenesCollectionSourceEditor. 2024-03-11 13:16:22 +01:00
5604071bb4 Fix 2d mesh transforms and colors. 2024-03-11 12:45:36 +01:00
fb99db4585 Re-extracted class docs. 2024-03-10 10:36:13 +01:00
0e32e11ea1 Small LayeredTileMap doc fixes. 2024-03-10 10:34:27 +01:00
b376573e8a Fix arguments of the _use_tile_data_runtime_update() vmethod. 2024-03-10 10:34:14 +01:00
f54b3c8a45 Updates to the LayeredTileMap modules's docs. 2024-03-10 10:29:38 +01:00
b3a5b516f7 Proper docs for WebServerSimple. 2024-03-10 10:24:16 +01:00
6f81a15fc0 Various doc fixes. 2024-03-10 10:10:02 +01:00
3f4cc73caa Updated docs for FileCache. 2024-03-10 10:09:19 +01:00
74c46ccfda Fix uninitialized variable. 2024-03-10 10:04:23 +01:00
aaf744aad0 Improve multipart filename handling a bit. 2024-03-10 09:32:01 +01:00
75e8f68a24 Use String::length(), even though in this case size() works too. 2024-03-10 09:16:43 +01:00
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