Rémi Verschelde
0f8c6dd382
Merge pull request #7904 from tagcup/use_math_prng
...
Use the common PRNG in 2D particles code.
2017-02-28 08:17:02 +01:00
Ferenc Arn
67ef529113
Use the common PRNG in 2D particles code.
...
Replaces the custom PRNG used by 2D particles code with a wrapper for the PRNG located under core/math.
2017-02-27 15:36:17 -06:00
Ray Koopa
5cf063ca9d
Add disabled tabs
2017-02-27 19:07:50 +01:00
Ray Koopa
fc9077a213
Fix several drawing and logic issues in TabContainer
2017-02-27 15:47:47 +01:00
Rémi Verschelde
df365fdc3c
Merge pull request #6462 from RandomShaper/fix-improve-anim-blend
...
Fix/improve AnimationPlayer blending logic
2017-02-27 14:39:54 +01:00
Rémi Verschelde
5f31b3ce58
Merge pull request #7897 from RandomShaper/particles2d-process-mode
...
Add process mode option to Particles2D
2017-02-27 14:03:44 +01:00
Pedro J. Estébanez
5d094602b8
Add process mode option to Particles2D
2017-02-27 10:47:28 +01:00
Rémi Verschelde
3de1415b6a
Merge pull request #7653 from Dumbeldor/RichTextLabel_remove_line
...
RichTextLabel add function remove_line
2017-02-26 21:16:30 +01:00
Rémi Verschelde
7a9b08f785
Merge pull request #7889 from Hinsbart/fix_autoenable_input
...
Fix auto-enable of _input processing when _input() method is set.
2017-02-26 20:51:53 +01:00
Rémi Verschelde
c68f0c7961
Merge pull request #7887 from bojidar-bg/particles-emission-ended
...
Add emission_finished signal to Particles2D
2017-02-26 20:50:41 +01:00
Rémi Verschelde
4d6a3cf7fc
Merge pull request #7874 from volzhs/issue-7820-master
...
Fix crash when click icon while editing node name
2017-02-26 20:28:00 +01:00
Rémi Verschelde
3abd4c906d
Merge pull request #7869 from RandomShaper/fix-touchbutton-crash
...
Fix crash if TouchScreenButton is pressed while exiting the tree
2017-02-26 20:27:43 +01:00
Rémi Verschelde
e5cf1fe350
Merge pull request #7866 from Hinsbart/tween_fix
...
Fix undefined behavior found by static code analyzer.
2017-02-26 20:27:20 +01:00
Rémi Verschelde
8e0dbd1b8e
Merge pull request #7858 from bojidar-bg/tilemap-get-size
...
Add Rect2 TileMap::get_used_rect()
2017-02-26 20:24:56 +01:00
Rémi Verschelde
539b9e09e4
Merge pull request #7856 from RandomShaper/add-duplicate-flags
...
Add more options to Node.duplicate()
2017-02-26 20:24:17 +01:00
Rémi Verschelde
caa74b70e7
Merge pull request #7831 from volzhs/tr-buttonarray-3
...
Translate ButtonArray text
2017-02-26 20:15:33 +01:00
Andreas Haas
373e0099cf
Fix auto-enable of _input processing when _input() method is set.
...
Since f3f4a11c
processing of callbacks such as `_process`, `_fixed_process`, etc will be
automatically enabled when the corresponding method is found in the script.
However, for _input() this wasn't working.
That's simply because `_input` wasn't initialized in `SceneStringNames` ^^
2017-02-25 21:12:26 +01:00
Bojidar Marinov
0d6485d919
Add emission_finished signal to Particles2D
...
(Also remove some Particles2D::testee method, which was unused)
Resolves #3963
2017-02-25 16:06:00 +02:00
Bojidar Marinov
53921faa91
Complete the globals.h -> global_config.h conversion
2017-02-23 17:47:25 +02:00
volzhs
3ae0ffa182
Fix crash when click icon while editing node name
2017-02-23 02:20:46 +09:00
Pedro J. Estébanez
75c68f6512
Fix crash if TouchScreenButton is pressed while exiting the tree
...
(cherry picked from commit 5b8d5766f4
)
2017-02-22 01:37:22 +01:00
Andreas Haas
0157969ccc
Tween: Fix undefined behavior found by static code analyzer.
...
Adresses the issue mentioned in https://software.intel.com/en-us/articles/the-ultimate-question-of-programming-refactoring-and-everything
2017-02-22 00:56:40 +01:00
Juan Linietsky
de0045cf1b
-renamed globals.h to global_config.cpp (this seems to have caused a few modified files)
...
-.pck and .zip exporting redone, seems to be working..
2017-02-21 00:06:30 -03:00
Bojidar Marinov
136e1e18ba
Add Rect2 TileMap::get_used_rect(), closes #4390
2017-02-20 23:02:03 +02:00
Pedro J. Estébanez
4e22b6acd7
Add more options to Node.duplicate()
...
to decide whether signals, groups and/or scripts should be set in the copied nodes or not; it's default value makes the method include everything, as usual
2017-02-20 20:05:01 +01:00
Juan Linietsky
f6950956bd
Editor Export Settings Dialog is completed!! Now on to make some exporters..
2017-02-19 23:21:35 -03:00
volzhs
57ed6ef741
Translate ButtonArray text
2017-02-18 00:20:55 +09:00
Vincent
c20b186e73
RichTextLabel add function remove_line
2017-02-16 20:36:25 +01:00
Hein-Pieter van Braam
b696beea65
Correct hash behavior for floating point numbers
...
This fixes HashMap where a key or part of a key is a floating point
number. To fix this the following has been done:
* HashMap now takes an extra template argument Comparator. This class
gets used to compare keys. The default Comperator now works correctly
for common types and floating point numbets.
* Variant implements ::hash_compare() now. This function implements
nan-safe comparison for all types with components that contain floating
point numbers.
* Variant now has a VariantComparator which uses Variant::hash_compare()
safely compare floating point components of variant's types.
* The hash functions for floating point numbers will now normalize NaN
values so that all floating point numbers that are NaN hash to the same
value.
C++ module writers that want to use HashMap internally in their modules
can now also safeguard against this crash by defining their on
Comperator class that safely compares their types.
GDScript users, or writers of modules that don't use HashMap internally
in their modules don't need to do anything.
This fixes #7354 and fixes #6947 .
2017-02-16 18:44:29 +01:00
Juan Linietsky
903a3aa5f0
a ton of bug fixes to the renderer
2017-02-16 08:55:43 -03:00
Rémi Verschelde
3fadcac7c4
Merge pull request #7814 from Hinsbart/timer_pause
...
SceneTreeTimer: Ability to set pause mode
2017-02-16 08:52:19 +01:00
Juan Linietsky
da11d6d9e8
Many fixes to make exported scenes work better, still buggy.
2017-02-15 08:34:02 -03:00
Andreas Haas
4de29f9c7a
SceneTreeTimer: Ability to set pause mode
...
Adds an additional flag to SceneTree::create_timer() that tells it whether or not to process when the game is paused.
Defaults to false in order to not break existing functionality.
2017-02-15 08:02:08 +01:00
Andreas Haas
dd4c2709e4
Spinbox: don't ignore double clicks.
...
Fixes the problem with spinboxes not updating when clicking too fast.
2017-02-14 00:57:49 +01:00
Rémi Verschelde
ea7e8c8e86
Merge pull request #7795 from hpvb/rename-md-macro
...
Rename the _MD macro to D_METHOD
2017-02-13 15:46:17 +01:00
geequlim
4ebc30e303
Fix compile error with TextureButton
...
Export TextureButton::ResizeMode as its own enum values
2017-02-13 21:17:47 +08:00
Hein-Pieter van Braam
411ee71b4d
Rename the _MD macro to D_METHOD
...
This new name also makes its purpose a little clearer
This is a step towards fixing #56
2017-02-13 12:50:02 +01:00
Hein-Pieter van Braam
0f687f0ccb
Remove use of _SCS from ADD_METHOD
...
This saves typing and is a step towards fixing #56
2017-02-13 10:37:47 +01:00
Rémi Verschelde
70b9aa379d
Merge pull request #7581 from Faless/v6_wild_bind
...
TCP/UDP listen bind to address and bugfixes
2017-02-12 23:31:40 +01:00
Rémi Verschelde
117a83fcb9
Merge pull request #7352 from Zylann/polyline
...
Polyline
2017-02-12 23:30:04 +01:00
Rémi Verschelde
73cedc3901
Merge pull request #7775 from Hinsbart/particles_flip
...
Particles2D: implement texture flip parameters.
2017-02-12 23:25:34 +01:00
Rémi Verschelde
b2db9279fa
Merge pull request #7769 from GodotExplorer/pr-resizeable-texturebutton_3
...
Enhance TextureButton and TextureRect with resize
2017-02-12 23:22:41 +01:00
Rémi Verschelde
458bd83dfc
Merge pull request #7747 from sanikoyes/Pr-fix-tween-transform2d
...
Fix tween Transform2D typo
2017-02-12 23:18:38 +01:00
Rémi Verschelde
53b7bbfcce
Merge pull request #7722 from RandomShaper/improve-touch-button
...
Fix touch button issues
2017-02-12 23:12:18 +01:00
Rémi Verschelde
d791f5f06e
Merge pull request #7712 from kbake/deselect-selection-on-ctrl-home/end
...
Selected text is now deselected on ctrl+home/end
2017-02-12 23:09:34 +01:00
Rémi Verschelde
c51990ec9d
Merge pull request #7706 from RandomShaper/touch-button-shape-master
...
Add shape property to TouchScreenButton
2017-02-12 23:09:16 +01:00
Pedro J. Estébanez
49e7e2cd2a
Solve TouchScreenButtons issues
...
Fix touch button needing double tap after pause (applies to those not set to pass-by)
Fix error when a pressed TouchScreenButton with no associated action exits the tree
(with some refactoring of duplicate code)
2017-02-10 20:54:54 +01:00
Andreas Haas
6a2dccaf77
Particles2D: implement texture flip parameters.
2017-02-10 00:50:21 +01:00
geequlim
ab375117ba
Add STRETCH_KEEP_ASPECT_COVERED to TextureRect StretchMode
...
Make TextureButton to the same resize behavior with TextureRect
2017-02-09 22:52:52 +08:00
Juan Linietsky
07bbcf91f7
basic contact shadows implementation, will most likely need some polishing
2017-02-08 07:35:14 -03:00