Commit Graph

265 Commits

Author SHA1 Message Date
Vasiliy Makarov 9b992dddfc Optimize AtlasTexture packing by minimal perimeter.
Fixes #19307
2018-09-18 16:41:20 +03:00
Rémi Verschelde bb13fa896e Style: Format code with clang-format 6.0.1 2018-07-18 17:56:12 +02:00
Rémi Verschelde b812d6e182
Merge pull request #18039 from allkhor/2.1
Added support for exclude folders from export [2.1]
2018-07-17 13:50:52 +02:00
Rhody Lugo 57ae75876f add NoCache wrapper to Command 2018-06-21 03:40:24 -04:00
Rémi Verschelde d739e25650 2to3 exporter: Make conversion less spammy
Also fix logic bug in transform/rot conversion.
In my tests it seems like it was not actually misbehaving,
but the logic was wrong for tracks with ID > 9.
2018-06-14 12:37:38 +02:00
Rémi Verschelde 01ebe9ae65 2to3 exporter: Improve conversion of InputEvents in code 2018-06-14 12:37:38 +02:00
Rasmus Ketelsen 7326c7f64b 2to3 exporter: Improved BaseButton and Focus Mode conversion 2018-06-14 12:22:24 +02:00
volzhs 4833cfd549 Respect visibility change by Scene dock when using Sync Scene Changes 2018-05-28 15:18:43 +09:00
dns fd55fd8961 return integer for set_output_buffer_max_size() & set_input_buffer_max_size(int) 2018-05-15 19:11:23 +07:00
allkhor cedb113ffd Added support for exclude folders from export 2018-04-30 03:05:48 +06:00
Rémi Verschelde 3764cf6245 Fix visibility toggle for Spatials in SceneTreeEditor
Fixes #17722, was a regression from #15239.
2018-03-24 16:54:05 +01:00
Rémi Verschelde 87636e1caa Style fixes 2018-03-21 21:47:17 +01:00
Rémi Verschelde f6bf93c7c8 2to3 exporter: Better handling of anchors and margins + more fixes
- Properly handle anchors changing from enum-based to a float ratio
- Flip margins when needed to match the new anchoring system
- Reuse type renames in the script converter to fix more types and usages
- Convert .pos, _rot(, _speed( and set_hidden() in scripts
2018-03-21 21:33:06 +01:00
Rémi Verschelde 42ad56c95c 2to3 exporter: Fix recursion in Pool*Array conversions 2018-03-19 11:30:35 +01:00
Rémi Verschelde 8fd6543520 2to3 exporter: Bunch of improvements and fixes
- Fixed properties with different renames based on node type:
  * Convert Joint2D's "collision/exclude_nodes" to "disable_collision"
  * Convert TextureProgress' "mode" to "fill_mode"
  * Convert Sprite and Sprite3D's "region" to "region_enabled"
- Fixed swapping "Fill" and "Expand" in size_flags
- Handle converting [self_]opacity to [self_]modulate.a, including in animations
- Fixed signals:
  * Add a bunch of missed signal renames
  * Properly convert AnimationPlayer and AnimatedSprite's "finished" to
    "animation_finished"
- Reduce diff in signal connections for tscn
- Script converter:
  * Convert _input_event( to _gui_input(
  * Convert self_opacity to self_modulate.a
  * Convert ReferenceFrame to ReferenceRect
  * Add missing Pool*Array conversions
2018-03-19 10:33:18 +01:00
Rémi Verschelde cb8b9a7ee9 2to3 exporter: Document classes for each property rename 2018-03-19 10:33:18 +01:00
Rémi Verschelde 6d6013138e 2to3 exporter: Review all property renames
Fix some bugs with missing or incorrect renames in the process.
2018-03-19 10:33:18 +01:00
Rémi Verschelde 7e042474ea 2to3 exporter: Remove duplicate renames 2018-03-19 10:33:18 +01:00
Rémi Verschelde 5c81a4b072 2to3 exporter: Reorder rename mappings alphabetically 2018-03-19 10:33:18 +01:00
Rémi Verschelde 29e2182c41 2to3 exporter: Enable script conversion and option to mark changes 2018-03-16 11:48:39 +01:00
Rémi Verschelde ddeb4ff2b0 2to3 exporter: Improvements to script conversion
- Convert `move(` to `move_and_collide(`
- Convert `<identifier> extends <Node>` to `<identifier> is <Node>`
- Simplify existing regexps
2018-03-16 11:42:14 +01:00
Rémi Verschelde 7d4f5fc5c7 2to3 exporter: Fix bug converting NodePath animation tracks
All values were multiplied by -1 when only "transform/rot" values need to be.
2018-03-16 11:39:04 +01:00
Rémi Verschelde 2caaaf3abf Fix serialization of identifiers with non printable ASCII characters
Fixes #6888.

Also apply the same logic in the 2 to 3 exporter, fixes #16850.
2018-03-02 13:32:33 +01:00
Rémi Verschelde b008b17df6 2to3 exporter: Fix NodePath prop remaps in .scn
The previous fix from 13d1df2e4b was applied when writing the NodePath
as text for .tscn/.tres, and thus not used for .scn. So we move the
conversion earlier, while processing all tracks.
2018-03-01 21:55:20 +01:00
Rémi Verschelde 33e036b8c2 2to3 exporter: Add a hack to convert rotation values in Animation tracks
Fixes #16836.

Also fix the missing renames for "playback/active" and "playback/speed".
2018-03-01 21:04:59 +01:00
Ranoller 0e69815503
Fix bindings project-settings godot exporter
Bad binded names and missings ones
2018-02-24 02:40:25 +01:00
William Tumeo 1105eea1c8 Add Color and Reference Frame/Rect to type renames 2018-02-20 23:35:07 -03:00
Rémi Verschelde ddcbdbd67c 2 to 3 exporter: Fix conversion to rotation_degrees 2018-02-19 16:56:59 +01:00
Rémi Verschelde f637578dbe Fix previous cherry-pick of 3.0-specific API 2018-02-19 11:42:47 +01:00
Marcelo Fernandez be4b63a257 Fix possible infinite loop with bucket fill tool
(cherry picked from commit 3571087843)
2018-02-19 11:38:54 +01:00
Rémi Verschelde d2fee400e8
Merge pull request #16548 from RandomShaper/fix-debug-errors-2.1
Fix wrong signal emission (2.1)
2018-02-18 17:29:27 +01:00
Rémi Verschelde 646ce0b2d2
Merge pull request #15239 from sersoong/2.1-batchtoggle
Enhanced Toggle Visibility button in Scene tree editor
2018-02-18 17:20:31 +01:00
Rémi Verschelde 5dae399fc5 Project manager: Make Show in Filesystem button smaller 2018-02-18 17:14:23 +01:00
Paulb23 55cd92aacd Fixed members overview Index p_index out of size (2.1), issue 12189 2018-02-15 19:43:21 +00:00
Anish fd1703922c Godot 2 to 3 exporter changes file extensions.
Exporter now converts the 3 letter resource file extensions to the new
longer extensions.

Resolves: #16684
See also: #9199
2018-02-14 22:08:51 +05:30
Rémi Verschelde e0b20449ad
Merge pull request #15261 from sersoong/2.1-addsettingsopen
Add open feature to editor autoload settings For 2.1
2018-02-14 17:11:57 +01:00
Pedro J. Estébanez decc0de38a Fix wrong signal emission 2018-02-11 00:59:10 +01:00
Pedro J. Estébanez de9d30d642 Fix crash on save-branch-as-scene 2018-01-10 21:16:37 +01:00
Rémi Verschelde a0de1b8999 Godot3 exporter: Prevent exporting within project directory 2018-01-06 01:02:32 +01:00
sersoong 6a3961f1dc Enhanced Toggle Visibility button 2018-01-04 09:01:12 +08:00
Razah f5f11b4317 Fix broken Info.plist after copyright update
Fixes #15293.
+ misc fixes by @akien-mga.

(cherry picked from commit e3c9a7ed4f)
2018-01-03 17:15:23 +01:00
Rémi Verschelde 78eb274de2
Merge pull request #15233 from sersoong/2.1-addshowinfilesystem
Porting show in filesystem to property editor
2018-01-03 13:00:16 +01:00
Rémi Verschelde 0685d2a062
Merge pull request #15215 from sersoong/2.1-addshowinmanager
Add Show In File Manager to project manager
2018-01-03 12:42:54 +01:00
Rémi Verschelde 3102dc17ee
Merge pull request #13437 from xsellier/bugfix/mouse-cursor-lag
Implement hardware cursor acceleration for Godot Engine 2.1
2018-01-03 08:36:44 +01:00
Jakub Grzesik 17850b7b26 AnimationTree nodes sliders fixes
(cherry picked from commit 0fc4b04f51)
2018-01-02 11:51:18 +01:00
Rémi Verschelde 2712014744 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-02 11:27:24 +01:00
sersoong 64ceb0be5b Add open feature to editor autoload settings 2018-01-02 14:55:35 +08:00
sersoong 960197d143 Porting show in filesystem to property editor 2018-01-01 11:11:23 +08:00
sersoong e9255375f3 Add Show In File Manager to project manager 2018-01-01 10:32:41 +08:00
Joachim Meyer 6f0b2e5ee4 Fix crash on startup when external editor cannot be found.
Fixes #10965
2017-12-21 21:54:01 +01:00