Rémi Verschelde
2b50dc5d4f
Merge pull request #11057 from hpvb/fix-various-warnings
...
Fix various assorted warnings
2017-09-12 11:39:47 +02:00
Rémi Verschelde
8da1732013
Merge pull request #11044 from hpvb/fix-enum-as-bool
...
Fix using enum as bool value
2017-09-12 11:18:27 +02:00
Rémi Verschelde
dbb28559db
Merge pull request #11040 from hpvb/fix-enum-compare
...
Fix warnings comparing enums of different types
2017-09-12 11:17:28 +02:00
Rémi Verschelde
3941e01a57
Merge pull request #11041 from hpvb/fix-clang-format-error
...
Fix serveral recent new clang-format errors
[ci skip]
2017-09-12 11:16:36 +02:00
geequlim
20442d0a89
Add user data directory support for ProjectSettings::globalize_path
2017-09-10 16:33:54 +08:00
Hein-Pieter van Braam
daa66cd5c2
Correct the Pool*Array documentation
2017-09-09 16:39:22 +02:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam
8230bf0a2f
Remove assignment and declarations in if statements
...
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
Hein-Pieter van Braam
67a706fc1b
Fix various assorted warnings
...
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08 14:57:48 +02:00
BastiaanOlij
099546ac00
Fixed loading package from resource folder, exporting textures to bundle and added a bit of feedback for a debug compile
2017-09-08 11:39:32 +10:00
Hein-Pieter van Braam
5e18967d77
Fix serveral recent new clang-format errors
2017-09-08 00:20:16 +02:00
Juan Linietsky
eedb39091a
Several fixes to directional shadows, closes #10926
...
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
2017-09-07 18:00:47 -03:00
mrawlingst
6aa5bc2347
Change Color.to_32() to to_rgba32() and format as RGBA
2017-09-07 16:19:44 -04:00
Scayze
6872cc7b12
Add get_points method to AStar
2017-09-07 19:15:46 +02:00
Hein-Pieter van Braam
6fb86dda8a
Fix using enum as bool value
...
This warning actually hid a bug. The value of ERR_INVALID_DATA is
actually 30, returning this as a bool returns true while false was
required.
2017-09-07 11:39:14 +02:00
Hein-Pieter van Braam
0b23a31b43
Fix warnings comparing enums of different types
...
This fixes a source of many compiler warnings regarding comparing the
enum VARIANT_TYPE to Variant::Type. This changes the local value to a
static const Variant::Type value rather than an unrelated enum, this
also saves us a cast.
2017-09-07 09:03:11 +02:00
Juan Linietsky
c771e03ee2
-Fixed changes to default input actions not working, closes #10502
...
-Added Array.duplicate() method, needed to fix above
2017-09-06 18:14:04 -03:00
Ignacio Etcheverry
96b205d2ed
Fixes ERR_EXPLAIN being overwritten
2017-09-06 04:43:07 +02:00
Thomas Herzog
dcdde2f5a9
Merge pull request #10993 from endragor/nativescript-property-order
...
Provide NativeScript properties in definition order
2017-09-05 11:47:51 +02:00
Ruslan Mustakov
269203a022
Provide NativeScript properties in definition order
2017-09-05 12:45:23 +07:00
Evgeny Zuev
a0bdb6e2f6
Optimize memory allocations in VariantParser::get_token
2017-09-05 11:04:33 +07:00
Evgeny Zuev
cae0059d5f
Add StringBuffer class
2017-09-05 11:04:11 +07:00
Rémi Verschelde
efa50fbdfd
Merge pull request #10975 from hpvb/remove-null-check-from-cast-to
...
Remove NULL check from Object::cast_to()
2017-09-05 00:14:35 +02:00
Thomas Herzog
84c33cfe6b
Merge pull request #10860 from karroffel/bob-the-string-builder
...
added StringBuilder class
2017-09-04 23:44:23 +02:00
Hein-Pieter van Braam
f8cb9f5516
Remove NULL check from Object::cast_to()
...
After discussing this with @reduz on IRC we agreed to remove these
checks. We now consider cast_to() to be NULL safe
2017-09-04 22:29:43 +02:00
Juan Linietsky
6d233c651b
-Changed KinematicBody API yet again to make it friendlier
...
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
2017-09-04 07:49:42 -03:00
Rémi Verschelde
b5d2d0a9a5
Merge pull request #10939 from neikeq/fix-overridden-external-editors
...
Fixes language overridden external editors
2017-09-04 08:12:29 +02:00
Ignacio Etcheverry
52a7be4eef
Fixes language overridden external editors
2017-09-03 21:23:36 +02:00
Juan Linietsky
ce28452109
-Fixed EditorDirDialog, which was really old and needed to use EditorFileSystem
...
-Fixed refactoring tools to work with imported scenes (properly move .import files)
2017-09-03 00:24:36 -03:00
Rémi Verschelde
53e7f55a89
Merge pull request #10903 from neikeq/fix-defval-order-definitely-i-promise
...
Fixes order of default arguments in MethodInfo
2017-09-03 01:38:30 +02:00
Ignacio Etcheverry
d1e00130e9
Fixes order of default arguments in MethodInfo
...
This time for real
2017-09-02 20:43:40 +02:00
Poommetee Ketson
459f526119
Fix typos 'a' and 'an'
2017-09-02 21:19:06 +07:00
Hein-Pieter van Braam
9c63ab99f0
Fix use of unitialized variables
...
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Rémi Verschelde
dac150108a
Merge pull request #10846 from hpvb/fix-sign-compare
...
Fix signed and unsigned comparisons
2017-09-01 21:52:55 +02:00
Ignacio Etcheverry
6209b72b07
Merge pull request #10862 from neikeq/fix-defvals-methodinfo
...
Fixes reversed order of default arguments in MethodInfo
2017-09-01 21:19:58 +02:00
Karroffel
95a0886f93
added StringBuilder class
...
When doing large string concatenations the default push_back on the
String class can slow down things quite a bit. This is because it
has to constantly reallocate the memory and copy the contents. This
StringBuilder class delays the concatenation until the size of the
resulting string is known.
2017-09-01 19:52:32 +02:00
Ignacio Etcheverry
27ca7e7313
Fixes reversed order of default arguments in MethodInfo
2017-09-01 16:33:16 +02:00
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
Rémi Verschelde
1e0fc4dc4e
Merge pull request #10318 from endragor/ordered-hash-map
...
Implement OrderedHashMap
2017-09-01 13:09:30 +02:00
Hein-Pieter van Braam
2ea5d33358
Has_method is already provided by Object
...
c812c17633
introduces some extra gdscript bindings for signal discovery
and adds a binding for has_method() to Script objects. This method is
already provided by the ancestor Object.
This fixes the startup message:
ERROR: bind_methodfi: Class Script already has a method has_method
At: core/class_db.cpp:1178.
2017-09-01 09:04:08 +02:00
Hein-Pieter van Braam
f9467ec1ea
Fix signed and unsigned comparisons
...
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01 08:13:12 +02:00
Juan Linietsky
d39e79e7ec
Fix issues regarding reload of resources in imported scenes. Closes #10017
2017-08-31 18:57:44 -03:00
Rémi Verschelde
f00760b22c
Merge pull request #10382 from toger5/dark_icons
...
Light Theme
2017-08-31 11:47:18 +02:00
toger5
426c6b2c49
added to_ABGR32() to core/Color
2017-08-30 21:20:01 +02:00
Ferenc Arn
5ad8d310f2
Add a new decomposition to Basis.
...
This new decomposition splits the basis into a rotation-reflection matrix and a positive scaling matrix, which is required for physics calculations.
2017-08-30 09:37:18 -04:00
Ferenc Arn
a0bbf5c9af
Remove Basis::set_scale and Basis::set_rotation_* functions.
...
Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people.
Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
2017-08-29 21:47:59 -04:00
Juan Linietsky
145ff58277
Fix constant reimport on broken files, closes #9930
2017-08-29 20:17:59 -03:00
Juan Linietsky
9c3bddfac2
Merge pull request #10745 from neikeq/fix-docdata-and-stuff
...
DocData and virtual method type hints fixes
2017-08-29 20:11:07 -03:00
Ignacio Etcheverry
ddb1ce08c3
Fixes missing default arguments in MethodInfo
2017-08-29 19:40:28 +02:00
Ignacio Etcheverry
c16d00591b
DocData and type hints fixes
...
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types
- Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string.
- PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void.
- Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29 19:40:21 +02:00
Juan Linietsky
c812c17633
Made some methods to check method/signal availability in GDScript, closes #9800
2017-08-29 14:33:27 -03:00
Wilson E. Alvarez
b9d0579be9
Removed ParamDef and ParamHint structs
2017-08-29 04:28:17 -04:00
Juan Linietsky
8fce79aaee
-Some fixes to code completion.
...
-Fix getter in code completion being displayed when it shouldn't
-Clean up preview generation for editors and exposed it as editor plugin
2017-08-28 00:04:24 -03:00
Matthias Hoelzl
b6e1e47e3a
Make build scripts Python3 compatible
...
- The Windows, UWP, Android (on Windows) and Linux builds are
tested with Scons 3.0 alpha using Python 3.
- OSX and iOS should hopefully work but are not tested since
I don't have a Mac.
- Builds using SCons 2.5 and Python 2 should not be impacted.
2017-08-27 23:05:39 +02:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Rémi Verschelde
c90bfcb1c6
Re-apply clang-format to all files
...
Some badly formatted code has managed to pass through our CI...
2017-08-27 14:16:32 +02:00
Ignacio Etcheverry
b50a937fe6
MethodBind: Adds operator== to compare by id
2017-08-26 21:41:25 +02:00
Rémi Verschelde
53c0010932
Merge pull request #10658 from henkz1/android-build
...
Fix Android build
2017-08-26 20:32:23 +02:00
Poommetee Ketson
4950ef7478
Fix double single quotes in connect
error print
2017-08-27 00:46:33 +07:00
Henrik Andersson
3cd3c1da5f
Fix refactored Object::cast_to in NO_SAFE_CAST branch
2017-08-26 18:59:37 +02:00
Rémi Verschelde
9f1e3903df
Merge pull request #10648 from Xrayez/image-get-size
...
Add handy get_size() method to Image class
2017-08-26 18:37:08 +02:00
Rémi Verschelde
565600e844
Cleanup tons of obsolete commented out code
...
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
Andrii Doroshenko (Xrayez)
4de96518c8
Add handy get_size() method to Image class
2017-08-26 15:01:21 +03:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Hein-Pieter van Braam
4aa2c18cb4
Add a static version of Object::cast_to()
...
This is to prepare to replace all instances of the member version of
cast_to().
2017-08-24 23:08:24 +02:00
volzhs
62bb600b5c
Show proper string with InputEvent.as_text()
2017-08-25 01:14:36 +09:00
Juan Linietsky
05a6785344
GCC fixes
2017-08-24 00:50:16 -03:00
Juan Linietsky
36e0a72c77
-Code completion for enumerations
...
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Juan Linietsky
3d1c031871
Changed MethodBind API to request information from methods. It's much claner now.
...
Also changed PropertyInfo to include informatino about class names.
2017-08-23 19:11:11 -03:00
Wilson E. Alvarez
298a6934b6
Moved member variables to initializer list
2017-08-22 11:47:50 -04:00
Juan Linietsky
8a4e05a440
Merge pull request #10520 from RandomShaper/fix-double-parsing
...
Fix tokenization of doubles
2017-08-22 10:02:42 -03:00
Rémi Verschelde
7f49e2a7a0
Merge pull request #10487 from marcelofg55/curscr_as_default
...
p_screen param from get_screen_* funcs now default to the current screen
2017-08-22 08:12:04 +02:00
Rémi Verschelde
df590fc2d3
Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2017-08-22 00:58:12 +02:00
Rémi Verschelde
13f879587d
Merge pull request #10254 from marcelofg55/master
...
Added notification const NOTIFICATION_WM_ABOUT
2017-08-22 00:56:31 +02:00
Juan Linietsky
2cc8309249
Merge pull request #10351 from neikeq/enums-are-for-the-weak
...
ClassDB: Provide the enum name of integer constants
2017-08-21 19:56:08 -03:00
Rémi Verschelde
92410df24c
Merge pull request #10415 from tagcup/euler_hack
...
Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) conven…
2017-08-22 00:54:39 +02:00
Rémi Verschelde
135027a2f6
Merge pull request #10225 from Noshyaar/map
...
GDScript Built-in: add inverse_lerp & range_lerp
2017-08-22 00:31:46 +02:00
Pedro J. Estébanez
6759a28050
Fix tokenization of doubles
...
Fixes #9600 .
2017-08-21 23:59:29 +02:00
Rémi Verschelde
e9c43cecbf
Merge pull request #10433 from djrm/pr_svg_support
...
SVG support
2017-08-21 23:49:07 +02:00
Marcelo Fernandez
63f847b306
p_screen param from get_screen_* funcs now default to the current screen
2017-08-21 18:28:29 -03:00
Rémi Verschelde
de261ef380
Merge pull request #10484 from Sipaha/pr_mt_queue_deadlock_fix
...
Fix deadlock in CommandQueueMT
2017-08-21 22:55:07 +02:00
Wilson E. Alvarez
738d2ab969
Removed unnecessary assignments
2017-08-21 15:15:55 -04:00
Rémi Verschelde
4717d37bfa
Merge pull request #10471 from akien-mga/args-doubledash
...
Third take at making command-line arguments more UNIX-like + main.cpp and help cleanup
2017-08-21 21:01:19 +02:00
Juan Linietsky
1be30f35a6
Fix binary object marshalling, closes #9472
2017-08-21 11:22:08 -03:00
Rémi Verschelde
93f1fb1c2f
Fixes for new two-dash long command line arguments
...
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Always use long form of arguments when starting a new Godot process from C++, for clarity and easy grepping
- Cleanup obsolete code here and there
2017-08-21 08:09:22 +02:00
Juan Linietsky
533014b88c
simplify the way window is allowed to steal focus, no longer relying on project.godot. Closes #9459
2017-08-20 23:42:54 -03:00
Ignacio Etcheverry
32dd9a9f66
ClassDB: Provide the enum name of integer constants
2017-08-20 22:07:43 +02:00
Daniel J. Ramirez
da8fecf25e
Added support for SVG
2017-08-20 13:53:02 -05:00
Sipaha
f6ee4cac39
Move wait_for_flush out of queue lock
2017-08-21 01:10:44 +07:00
Juan Linietsky
541fdffc0a
Merge pull request #10319 from neikeq/pr-engine-editor-hint
...
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00
Rémi Verschelde
f6c39830cb
Merge pull request #10481 from neikeq/water-store-remark
...
Fixes Ref's GetTypeInfo missing with ptrcall disabled
2017-08-20 16:34:38 +02:00
Ignacio Etcheverry
af4c4397df
Fixes Ref's GetTypeInfo missing with ptrcall disabled
2017-08-20 14:28:22 +02:00
Przemysław Gołąb (n-pigeon)
6d56c73de7
Exposed Transform.interpolate_with()
...
Additionaly changed values names for 2D version to more descriptive ones.
2017-08-20 00:09:45 +02:00
Juan Linietsky
b9dcebb37c
Revert "Second take at making command-line arguments more UNIX-like + main.cpp and help cleanup"
2017-08-19 17:47:27 -03:00
Rémi Verschelde
70b0857f6c
Fixes for new two-dash long command line arguments
...
- Fixes some single-dash leftovers that were missed in the previous commit
- Reorder the help output for clarity, and document missing options
- Drop obsolete options: --noop, --pack, --editor-scene, --level, --import, --import-script, --no-quit
- Improve error message on malformed arguments and do not display help on error
- Cleanup obsolete code here and there
2017-08-19 16:48:11 +02:00
Ignacio Etcheverry
fd69604bd9
Adds editor_hint to Engine class
2017-08-19 01:03:12 +02:00
Rémi Verschelde
18a7315381
Rename localization method to tr
again
...
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-18 22:38:38 +02:00
Juan Linietsky
72be8876ea
Properly manage drawing of primitives when they lack an area, fixes #8930
2017-08-18 15:12:48 -03:00
Poommetee Ketson
d28da86f9f
GDScript Built-in: add inverse_lerp & range_lerp
2017-08-18 21:49:03 +07:00
Juan Linietsky
dc62389739
-Properly check limits to objects sent (regarding to size), fixes #9034
...
-Changed the way objects are marshalled and sent to the debugger
-Editing debugged objects happens in the remote inspector now
2017-08-18 10:59:31 -03:00
Rémi Verschelde
1a92906b68
Merge pull request #10406 from marcelofg55/closest_power_of_2
...
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 08:12:56 +02:00
Ferenc Arn
94aa4092f5
Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) convention.
...
Fixes #10352 .
2017-08-18 01:45:36 -04:00
Marcelo Fernandez
eab850524e
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Rémi Verschelde
ee59e627de
Merge pull request #10380 from akien-mga/XL_MESSAGE
...
Rename `XL_MESSAGE`/`tr` to `localize`
2017-08-17 22:41:55 +02:00
Rémi Verschelde
c72529baf0
Rename XL_MESSAGE
aka tr
to localize
...
Also renames `set_message_translation` to `set_message_localization`
for consistency.
2017-08-17 18:10:22 +02:00
Marcelo Fernandez
aae29c7a0e
Added notification const NOTIFICATION_WM_ABOUT
2017-08-17 11:28:45 -03:00
Rémi Verschelde
a8a6082dc0
Merge pull request #8899 from toger5/BetterFlatStylebox
...
Better flat stylebox with rounded corners
2017-08-16 18:15:04 +02:00
TwistedTwigleg
00f6c85928
Synchronize parameter names in definition and declaration
...
Fixes #10244 .
2017-08-16 17:22:23 +02:00
Rémi Verschelde
035d74f54a
Rename cull_AABB to cull_aabb
...
Part of #8830 .
2017-08-16 17:01:05 +02:00
Rémi Verschelde
a8207b2dc7
Merge pull request #10264 from Rubonnek/use-const-reference
...
Use const reference where favorable
2017-08-16 16:41:35 +02:00
kubecz3k
edd6dce622
Merge pull request #10334 from Faless/fix_spbuffer_utf8
...
Fix StreamPeer put_utf8_string not working
2017-08-15 23:06:40 +02:00
toger5
c39ac8650d
Added Corner Enum
2017-08-15 19:36:34 +02:00
Andreas Haas
155402dc1b
Removing a Resource also deletes imported files.
2017-08-15 01:13:41 +02:00
Wilson E. Alvarez
21d281c4a9
Use const reference where favorable
2017-08-14 13:28:06 -04:00
Juan Linietsky
b7571582ed
Ability to save objects to binary format
2017-08-14 11:59:23 -03:00
Fabio Alessandrelli
74795b98da
Fix StreamPeer put_utf8_string not working
2017-08-14 13:19:02 +02:00
Rémi Verschelde
0e81053de8
Merge pull request #10296 from raymoo/fixstreampeerbuffer
...
Fix broken stream reading in StreamPeerBuffer
2017-08-13 17:24:49 +02:00
Ruslan Mustakov
8d26748f80
Implement OrderedHashMap
2017-08-13 17:38:00 +07:00
Andreas Haas
5052cb2b91
InputEventJoypadMotion: Add missing is_pressed() method.
2017-08-12 13:04:14 +02:00
Raymoo
f87100780e
Fix broken stream reading in StreamPeerBuffer
2017-08-12 01:19:50 -07:00
Rémi Verschelde
5c6e41cc13
Merge pull request #10190 from tagcup/euler_yxz
...
Use YXZ convention for Euler angles.
2017-08-11 10:38:46 +02:00
Rémi Verschelde
7ed64327a9
Merge pull request #10163 from ISylvox/resoucre-to-resource
...
Core/io: Fix typo in resource_format_binary
2017-08-11 10:36:33 +02:00
Rémi Verschelde
5cb09d31d8
Merge pull request #10142 from bruvzg/3.0-osx-ime
...
Add IME support (macOS)
2017-08-11 10:35:10 +02:00
Rémi Verschelde
306c0471f7
Merge pull request #9987 from Rubonnek/move-members-to-initilization-list
...
Moved member variables from constructor to initialization list
2017-08-11 10:31:04 +02:00
Ignacio Etcheverry
78619a5866
Fixes method definitions with extra number of arguments
2017-08-10 07:17:51 +02:00
Ignacio Etcheverry
b8420cda9c
Removes type information from vararg method binds
2017-08-10 07:17:51 +02:00
Ignacio Etcheverry
2f290038d6
Removes type information from method binds
2017-08-10 07:17:50 +02:00
Ignacio Etcheverry
1e74f27f8f
Adds missing type information to virtual method binds
2017-08-10 07:17:50 +02:00
Ignacio Etcheverry
46fdf16399
Improves method bind detection of signature types
2017-08-10 07:17:44 +02:00
bruvzg
8aa86cb9bc
Implement NSTextInputClient protocol for IME
2017-08-09 19:09:33 +03:00
Ferenc Arn
53c23b0222
Use YXZ convention for Euler angles.
...
As discussed in issues #1479 and #9782 , choosing the up axis (which is Y in Godot) as the axis of the last (or first) rotation is helpful in practical use cases.
This also aligns Godot's convention with Unity, helping with a smoother transition for people who are used to working with Unity (issue #9905 ).
Internally, both XYZ and YXZ functions are kept, for potential future applications.
2017-08-09 09:05:37 -04:00
Wilson E. Alvarez
6d112a68b6
Moved member variables from constructor to initialization list
2017-08-08 21:43:19 -04:00
Juan Linietsky
90a595ac42
Set some reasonable limits for sending information to the debugger, closes #5848
2017-08-08 20:55:22 -03:00
Indah Sylvia
51f56a4282
core/io: fix typo 'resoucre' to 'resource'
2017-08-08 12:02:49 +07:00
Juan Linietsky
cd9539f85d
Display the Y angle properly when rotating from gizmo, partially helps #1479
2017-08-07 15:09:08 -03:00
Rémi Verschelde
e12b422c90
Merge pull request #10112 from ISylvox/completely-renaming-path_db
...
Renames Leftover 'path_db' -->> 'node_path'
[ci skip]
2017-08-07 15:09:43 +02:00
Indah Sylvia
83691fec4e
renames leftover 'path_db' to node_path
2017-08-07 20:03:58 +07:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07:00
Juan Linietsky
134b3edf5a
Merge pull request #10123 from bojidar-bg/7695-key-kp-enter
...
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
2017-08-06 21:04:11 -03:00
Bojidar Marinov
7b7c7c8dc0
Rename KEY_RETURN to KEY_ENTER and KEY_ENTER to KEY_KP_ENTER
...
Closes #7695
2017-08-06 16:26:07 +03:00
Juan Linietsky
475e8b28b2
keep default exported script values unless overriden, closes #8127
2017-08-06 09:33:59 -03:00
Ruslan Mustakov
789815466a
Fix is_class check typo in ObjectDB::cleanup
2017-08-06 16:04:35 +07:00
Ignacio Etcheverry
97e942dd42
Merge pull request #10117 from neikeq/pr-classdb-getpropidx
...
ClassDB: Adds get_property_index method
2017-08-06 07:26:49 +02:00
Juan Linietsky
37adf936ab
few bugs fixed thanks to explicit bool constructor and clang.
...
explicit bool constructor has thus now been removed, as it served it's mission!
2017-08-05 21:43:10 -03:00
Ignacio Etcheverry
aee99ab59f
ClassDB: Adds get_property_index method
2017-08-06 02:04:10 +02:00
Juan Linietsky
a3a7fb83e6
Made bool constructor explicit in Variant to avoid bugs, fixes #7843
2017-08-05 19:50:53 -03:00
Juan Linietsky
cfe4b30941
renamed node path, closes #5691
2017-08-05 09:13:59 -03:00
Juan Linietsky
5c361485db
-Added GLTF scene support (still missing animations and .glb extension)
...
-Fixed bugs regarding tangent generation in SurfaceTool
2017-08-02 15:43:49 -03:00
Pedro J. Estébanez
02607b3103
Use atomics for memory use tracking
...
Plus:
- An allocation is counted only after checking its success.
- Max usage is updated after growing reallocs as well.
- Drop unused header.
- Changed the 0xFFF.. at get_mem_available() to -1 with a comment telling it's the same, but more universal.
2017-08-01 01:50:56 +02:00