Commit Graph

3978 Commits

Author SHA1 Message Date
Pedro J. Estébanez 54abbc532f Several enhancements for the tile map editor
Allow sorting tile palette by name
Allow hiding tile ids in tile palette
2017-03-27 10:45:02 +02:00
Rémi Verschelde d4740a9853 Merge pull request #8169 from RandomShaper/fix-uniform-move
Include uniform (Shift down) mode in only-one-Node2D dragging
2017-03-27 08:56:54 +02:00
Pedro J. Estébanez e7fba3d273 Include uniform (Shift down) mode
in only-one-Node2D dragging
2017-03-27 01:32:24 +02:00
Rémi Verschelde af282b56fe Fix bogus s/_md/D_METHOD/ affecting md5 stuff 2017-03-24 22:58:50 +01:00
Rémi Verschelde fb46323022 Merge pull request #8115 from RandomShaper/improve-snapping
Improved 2D snapping behavior
2017-03-24 22:51:12 +01:00
Rémi Verschelde 98baec6880 Merge pull request #8109 from RandomShaper/warped-panning
Implement warped mouse panning for 2D & 3D editors
2017-03-24 22:50:39 +01:00
Rémi Verschelde 1ed8caa1bb i-patch for Pirate language
Credits to jo_ for the joke and hcorion for finding the typo:

<hcorion> Hi all, I was busy translating godot to Pirate, and I noticed a
  spelling error, on line 1035 in platform/uwp/export/export.cpp it mis-spells
  certificate as certficate missing the extra i
<jo_> hcorion: Nice catch.
<jo_> If you make a PR, please call it 'i-patch for Pirate."
2017-03-24 21:59:32 +01:00
Rémi Verschelde 73eaf81c16 i18n: Sync templates and translations with current code
Massive diff due to the tools/editor -> editor move.
The real changes are the difference between those two:
2017-03-24 21:54:00 +01:00
Rémi Verschelde debeee56f7 Fix typos in source code using codespell
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01:00
Pedro J. Estébanez 61d7ae3466 Improved 2D snapping behavior
Make snapping affect nodes created by drag & drop
Make snapping for a single Node2D refer to its pivot
Refactor duplicate drag setup code
Replace one occurrence of the old set_pos by set_position
2017-03-24 21:29:46 +01:00
Rémi Verschelde c103f32ea3 Only assume HiDPI mode if DPI >= 192 and width > 2000
Also fix detection of single-column dock if width < 1200,
it only worked with hidpi_mode=auto.
2017-03-24 18:04:57 +01:00
Juan Linietsky efaeebab4d Several fixes to Android exporter and port.
Android seems to be working again!
2017-03-23 20:14:12 -03:00
Pedro J. Estébanez f5004b78d0 Implement warped mouse panning for 2D & 3D editors
Enabled by default as in Blender, but can be disabled separately for 2D & 3D;
the core functionality is in Input so this could be reused or even exposed to scripts in the future
2017-03-22 21:36:52 +01:00
Juan Linietsky c37fad650f Export working (for linux at least) 2017-03-21 19:34:26 -03:00
Juan Linietsky b5a06cecff Export template management dialog.
Missing download (need to discuss this!)
2017-03-21 08:42:06 -03:00
Rémi Verschelde 7eb8a67025 Merge pull request #8067 from Hinsbart/fix_ps_cross
InputMap: Rename joypad button "PS X" to "PS Cross".
2017-03-18 14:52:55 +01:00
Rémi Verschelde 00c4782910 Merge pull request #8051 from RayKoopa/resizable_new_node_dialog
Make Create New Node dialog resizable and burninate old dialog
2017-03-18 14:52:34 +01:00
Andreas Haas f6a504fad4
InputMap: Rename joypad button "PS X" to "PS Cross". 2017-03-18 12:31:37 +01:00
Ray Koopa c0c4ba4e94 Make Create New Node dialog resizable and burninate old dialog 2017-03-18 11:21:50 +01:00
Andreas Haas 7ec697695f
Editor: Fix "About" dialog
Use a HBoxContainer instead of hardcoded positions.
2017-03-18 01:53:45 +01:00
Rémi Verschelde 52ddd9ac9c Merge pull request #8017 from volzhs/fix-dnd-2d-viewport
Fix drag and drop on 2d viewport
2017-03-13 16:25:07 +01:00
volzhs 4d0a75750f Fix drag and drop on 2d viewport 2017-03-13 19:35:27 +09:00
Rémi Verschelde 0f429f8f9e Merge pull request #7979 from RandomShaper/fix-sub-inheritance
Fix node duplication in scene sub-inheritance
2017-03-13 11:00:58 +01:00
Pedro J. Estébanez 383dea5796 Fix node duplication in scene sub-inheritance 2017-03-09 01:19:40 +01:00
Andreas Haas 9080232f17
Editor: Dim UI when a WindowDialog is shown.
Darkens the editor on WindowDialog popup.

This adds the following new Editor settings:

- interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming
- interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1)
- interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant.

Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all
windows of the editor :P
2017-03-06 20:14:41 +01:00
Rémi Verschelde 5dbf1809c6 A Whole New World (clang-format edition)
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?

I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon

A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format

A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde e1c1d7d1d7 Add a bunch of missing Godot headers in own files 2017-03-05 15:47:28 +01:00
Rémi Verschelde 49c065d29c Refactoring: rename tools/editor/ to editor/
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00