Ruslan Mustakov
dcf5be92a3
Make BaseButton not emit press when container is scrolled
...
This fixes the problem described in #13996 in a proper way.
This also adds "deadzone" property to ScrollContainer. It can be used
on mobile, where taps are not as precise as mouse clicks. Player could
slightly move their finger when tapping, in which case we still want
the button to be pressed rather than the container to be scrolled.
2018-04-09 20:34:52 +07:00
Rémi Verschelde
6093660bfb
Merge pull request #16656 from JFonS/fix_gradient_crash
...
Fix weird editor crash when switching from editing one gradient to another keeps 'grabbing' variable to true
2018-02-27 11:38:19 +01:00
Juan Linietsky
125fc8cc44
Add a split editor to polygon 2D UV editor, moving an inch closer to adding support for in the future
2018-02-25 12:07:13 -03:00
Marc Gilleron
d2fae5c9a6
Fix Line2D tile mode for non-square textures
2018-02-25 01:49:10 +01:00
Rémi Verschelde
bc4b7bc82e
Merge pull request #16973 from JFonS/fix_initial_gizmo_visibility
...
Fix visibility of gizmos on scene load
2018-02-24 14:06:50 +01:00
JFonS
99d740c46e
Fix visibility of gizmos on scene load
2018-02-24 12:05:43 +01:00
Rémi Verschelde
eedb85e618
Merge pull request #16932 from groud/fix_collision_shape_selection
...
Fixes collisions shape selection
2018-02-24 01:32:16 +01:00
Rémi Verschelde
6b32e96d6e
Merge pull request #16930 from PJB3005/18-02-22-styleboxtexture-texture
...
StyleBoxTexture: Texture instead of RES for texture and normal_map.
2018-02-24 01:29:35 +01:00
Rémi Verschelde
23ebae01dc
Refactor version macros and fix related bugs
...
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).
The new logic defines:
- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
(e.g. official, custom_build, mageia, etc.)
Note: Slight change here, as the previous format had the build name
*before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
with "Godot v" for readability
Bugs fixed thanks to that:
- Export templates version matching now properly takes VERSION_PATCH
into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.
2018-02-23 20:15:29 +01:00
Gilles Roudiere
c250a9a9f9
Fixes collisions shape selection
2018-02-22 20:48:25 +01:00
Pieter-Jan Briers
b51a86a57a
StyleBoxTexture: Texture instead of RES for texture and normal_map.
2018-02-22 19:27:35 +01:00
Rémi Verschelde
e349cedb6e
Skeleton2D: Fix missing return value in comparator
2018-02-22 08:18:25 +01:00
Juan Linietsky
7cd867c3fe
2D Skeletons WORK IN PROGRESS
2018-02-21 17:24:00 -03:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Max
6a48f952ca
Fixed disappearing text on filedialog buttons
2018-02-21 16:04:51 +02:00
Juan Linietsky
9e3a1e5401
Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.
2018-02-21 09:39:09 -03:00
Rémi Verschelde
35053e57ab
Merge pull request #16710 from YeldhamDev/filedialog_nothing_disabled
...
Fixed "Open" button being enabled when nothing is selected in a FileDialog while in "Open folder" mode
2018-02-21 13:25:27 +01:00
Rémi Verschelde
222516a815
Merge pull request #16756 from willnationsdev/shifted-rect-sprite
...
Simplify detection of Sprite clicks
2018-02-21 10:42:47 +01:00
Rémi Verschelde
c291fc39ad
Merge pull request #16772 from damarindra/tileset_editor_improvement
...
Tileset Editor Improvement
2018-02-21 10:40:43 +01:00
Andrea Catania
39fb83630d
Added forgotten infinite_inertia to bindings
...
Related to this comment: https://github.com/godotengine/godot/pull/16757#discussion_r169470394
2018-02-21 08:42:36 +01:00
Damar Indra
e69dd47501
Tileset Editor Improvement
2018-02-20 22:33:59 +07:00
Michael Alexsander Silva Dias
db80d56388
Fixed "Open" button being enabled when nothing is selected in a FileDialog while in "Open folder" mode.
2018-02-20 12:19:06 -03:00
Rémi Verschelde
497a4e9e25
Merge pull request #16757 from AndreaCatania/kinpush
...
Improved kinematic body, Now can move rigid body
2018-02-20 15:41:10 +01:00
Andrea Catania
6ed392f47a
Improved kinematic body 2D and 3D, Now can move rigid body
2018-02-20 12:43:47 +01:00
Rémi Verschelde
2c44b2cee4
Merge pull request #16718 from Chaosus/triplanarfix
...
Add refraction possibility when triplanar uv mode enabled
2018-02-20 11:14:31 +01:00
Rémi Verschelde
55f00d9655
Merge pull request #16455 from volzhs/close-docs
...
Keep to show current script when closing all docs
2018-02-20 09:40:29 +01:00
volzhs
df84290a7e
Keep to show current script when closing all docs
...
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.
Fix #16403
2018-02-20 14:39:52 +09:00
Will Nations
b0bdb4456b
Expose Sprite._edit_get_rect for click rect access
2018-02-19 16:45:11 -06:00
Rémi Verschelde
b2aeb02e7d
Merge pull request #16530 from AndreaCatania/rays
...
Improved ray shape (2D and 3D) by addiing the possibility to act as r…
2018-02-19 22:15:49 +01:00
Rémi Verschelde
6ee4298ee3
Merge pull request #16652 from aragar/FixQuotationInString
...
Fix quotation in string
2018-02-19 22:12:53 +01:00
Rémi Verschelde
d5daaa72fa
Merge pull request #15306 from poke1024/item-list-draw-speed
...
Boost drawing speed of ItemLists with many items
2018-02-19 21:53:59 +01:00
Rémi Verschelde
5933cf867a
Merge pull request #15780 from volzhs/emoji
...
Support colored font
2018-02-19 21:51:53 +01:00
Chris Bradfield
a5688ccd90
Improve CollisionObject/CollisionObject2D warning message
2018-02-19 21:48:31 +01:00
Rémi Verschelde
a41c45c335
Merge pull request #16060 from sdfgeoff/apply_torque
...
Exposed apply_torque_impulse to gdscript
2018-02-19 21:38:33 +01:00
Andrea Catania
ffc3ef8677
Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape
2018-02-19 20:59:57 +01:00
Alexander Alekseev
66c39b1426
Fixes OptionButton selection index being reset to zero at instanciation
...
Bug: engine tries to set selected item before items were added during save scene/run project, because of wrong properties order.
Fixes #10213 .
2018-02-19 20:25:34 +01:00
Rémi Verschelde
b93d6a001b
Merge pull request #16566 from groud/gui_input_rework
...
2D Editor GUI input rework
2018-02-19 20:05:35 +01:00
Rémi Verschelde
52f45122ae
Merge pull request #16822 from Noshyaar/timefmt
...
Fix timer second not zero padded when < 10
2018-02-19 17:14:12 +01:00
Poommetee Ketson
d2e3607fa0
Fix timer second not zero padded when < 10
...
Also RTR "Time Left:"
2018-02-19 21:53:39 +07:00
isaacremnant
cc902cf9ab
Force controls to save rect_clip_content since they do not all default to false.
2018-02-18 22:24:05 -05:00
Artem Varaksa
d35e486228
Clean up some bad words from code comments
2018-02-17 16:00:39 +03:00
Gilles Roudiere
8dad41e395
2D editor GUI input rework. Changes are:
...
- The input handling is done into several distinct functions, and the
code is more consistent.
- The actions' history is more precise ("Edited CanvasItem"
is now "Rotated CanvasItem","Moved CanvasItem",etc...)
- Fixed a little bug about input key events not forwarded correctly to plugins
- IK is followed by default when you move a bone node, the alt-key allow
you to move it normally
2018-02-16 10:14:52 +01:00
sdfgeoff
cdd8334585
Exposed apply_torque_impulse to gdscript and added documentation for added apply_torque_impulse method
2018-02-15 16:42:24 +01:00
Chaosus
b5e4f637fc
Added refraction possibility for triplanar uv mode
2018-02-15 17:21:09 +03:00
Rémi Verschelde
5a83705b19
Merge pull request #15523 from Nutriz/change_primmesh_accuracy_value
...
Change primitive meshes acccuracy value
2018-02-14 17:05:19 +01:00
JFonS
f68594a525
Fix weird editor crash when switching from editing one gradient to another keeps 'grabbing' variable to true
2018-02-14 16:48:13 +01:00
Rémi Verschelde
309303d92c
Merge pull request #15592 from paulloz/textedit-initial-size
...
set a better initial size to TextEdit nodes
2018-02-14 16:38:27 +01:00
Rémi Verschelde
2551db44e1
Merge pull request #15618 from ianb96/fold_comment
...
TextEdit folding over unindented comments
2018-02-14 16:36:42 +01:00
Rémi Verschelde
f1ee573ebe
Merge pull request #15711 from poke1024/fix-rtl-descent
...
Fixes wrong vertical font layout in RichTextLabel
2018-02-14 16:28:16 +01:00
Rémi Verschelde
c5a5b10342
Merge pull request #15799 from SaracenOne/lightmap_unwrap_script_expose
...
Expose 'lightmap_unwrap' method to the scripting engine.
2018-02-14 16:17:35 +01:00