Rémi Verschelde
433d4ada05
Merge pull request #10765 from poke1024/osx-system-dir
...
Implements OS_OSX::get_system_dir()
2017-08-31 10:58:02 +02:00
Rémi Verschelde
b3496ee7ab
Merge pull request #10763 from poke1024/realtime-polygon-2d-fix
...
Fixes two glitches in polygon2d wip mode introduced with #10614
2017-08-31 10:57:46 +02:00
Rémi Verschelde
752459cc5a
Merge pull request #10641 from tagcup/o3_posscale_decomposition
...
Add a new decomposition to Basis.
2017-08-30 18:39:20 +02:00
Rémi Verschelde
6611dfbd6c
Merge pull request #10378 from RandomShaper/nav-keep-start-end
...
Guarantee start & end points are returned by Navigation2D
2017-08-30 16:12:12 +02:00
Rémi Verschelde
a469bb029d
Merge pull request #10786 from hpvb/fix-crash-on-early-dialog
...
Fix a crash when an early dialog tries to appear
2017-08-30 16:06:40 +02:00
Rémi Verschelde
348eb4e4c5
Merge pull request #10361 from RandomShaper/tilemap-global-mtl
...
Let TileMap apply its material
2017-08-30 16:02:12 +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
Hein-Pieter van Braam
89fbc5482d
Fix a crash when an early dialog tries to appear
...
This changes the order of creating some of the dialogs that may appear
during project import/startup. It is possible for the 'accept' dialog to
be required before it is initialized.
This moves all of these dialogs to earlier in the constructor so this
can't happen.
2017-08-30 13:59:48 +02:00
Juan Linietsky
a1d7c496b9
Improved default directional shadow params, added bias split scale, closes #9828
2017-08-30 08:08:44 -03:00
Rémi Verschelde
fdc1a907b8
Merge pull request #10782 from hpvb/fix-gdnative-10778
...
Remove 10778 related methods from GDNative
2017-08-30 12:57:21 +02:00
Hein-Pieter van Braam
ec63438231
Remove 10778 related methods from GDNative
...
After #10778 master didn't build any longer with GDNative. This removes
the methods removed in that PR from the GDNative bindings for Basis
also.
2017-08-30 12:54:59 +02:00
Scayze
fbda0cc45c
AutoUse Pencil on Polygon creation
2017-08-30 12:52:06 +02:00
Rémi Verschelde
98ad0e5a02
Merge pull request #10743 from djrm/pr_improved_spatial_gizmo
...
Better spatial gizmo.
2017-08-30 12:46:53 +02:00
Rémi Verschelde
93c83da782
Merge pull request #10727 from hoelzl/vs2017
...
Generate project files for VS2017
2017-08-30 12:46:36 +02:00
Rémi Verschelde
7609efe757
Merge pull request #10746 from cryptonaut/issue9187-3.0
...
Cleaned up logic in Tween::_tween_process(), fixes #9187 (3.0)
2017-08-30 12:46:20 +02:00
Rémi Verschelde
fd7ad7d80a
Merge pull request #10750 from Rubonnek/fix-duplicate-script-changed-signal
...
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-30 12:46:00 +02:00
Rémi Verschelde
3e98835061
Merge pull request #10778 from tagcup/basis_set_rotscale
...
Remove Basis::set_scale and Basis::set_rotation_* functions.
2017-08-30 12:45:22 +02:00
Rémi Verschelde
aac077774e
Merge pull request #10774 from djrm/pr_gizmo_fixes
...
Fixed problem with highlight boxes not updating on translation
2017-08-30 12:45:01 +02:00
Rémi Verschelde
e59b1212da
Merge pull request #10776 from hpvb/fix-10758
...
Disable -ffast-math for etc2comp
2017-08-30 12:44:16 +02:00
Hein-Pieter van Braam
d44414c711
Disable -ffast-math for etc2comp
...
Apparently -ffast-math generates incorrect code with recent versions of
GCC and Clang. The manual page for GCC warns about this possibility.
In my tests it doesn't actually appear to be measurably slower in this
case, and this is used in a batch process so it seems safe to disable
this.
This fixes #10758 and fixes #10070
2017-08-30 11:51:24 +02:00
Thomas Herzog
8b9026c05e
Merge pull request #10747 from endragor/fix-gdnative-apigen
...
Fix GDNative API description generator
2017-08-30 09:17:11 +02:00
Ruslan Mustakov
415f7da025
Fix GDNative API generator after changes to MethodBind
2017-08-30 10:45:10 +07:00
Ruslan Mustakov
bbb4ee90ce
Add enums in GDNative API generator
2017-08-30 10:38:58 +07: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
efcafab625
Changed defaults, as it seems to be obviousy better to keep materials outside by default..
2017-08-29 21:54:26 -03:00
Juan Linietsky
181420f3b2
Added nice icon to show when a file is broken on import.
2017-08-29 20:17:59 -03:00
Juan Linietsky
145ff58277
Fix constant reimport on broken files, closes #9930
2017-08-29 20:17:59 -03:00
Juan Linietsky
6d41ceea99
Merge pull request #10771 from neikeq/pr-improve-build-callbacks
...
Improve build callbacks
2017-08-29 20:12:04 -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
Daniel J. Ramirez
b61374e5bd
Fixed problem with highlight boxes not updating on translation
2017-08-29 17:50:45 -05:00
Juan Linietsky
1564a146b3
Merge pull request #10772 from djrm/pr_icons
...
Improved and added some icons
2017-08-29 19:50:37 -03:00
Daniel J. Ramirez
e3e5dfdaf4
Improved and added some icons
2017-08-29 17:02:55 -05:00
Ignacio Etcheverry
c18b7046c6
Improve build callbacks
...
- Build callbacks now return bool to determine if the build was successful. If the build fails, the editor won't run the game.
- Makes sure build callbacks are called after saving the scene ("Save Before Running" option).
2017-08-29 23:59:26 +02:00
poke1024
9d841b5336
Implements OS_OSX::get_system_dir()
2017-08-29 20:31:03 +02:00
poke1024
d8fcc7d1c2
Fixes two glitches in polygon2d wip mode introduced with #10614
2017-08-29 20:29:03 +02:00
Juan Linietsky
06d7e36898
Changed bools to uint32_t as this may be a compiler bug..
2017-08-29 15:09:59 -03:00
Ignacio Etcheverry
8bd92a96a4
Makes built-in vararg methods actual vararg methods
...
- Removes hardcoded parameters from built-in vararg methods and adds METHOD_FLAG_VARARG to them.
- Makes EditorHelp display built-in vararg methods correctly.
2017-08-29 19:40:28 +02: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
Matthias Hoelzl
cecff2dc74
Generate project files for VS2017
2017-08-29 16:53:46 +02:00
Juan Linietsky
e8b05ca996
-Fixed screen edge SSAO filter, fixes #9678
...
-Raised the SSAO limits, making the effect a lot more useful
-Still pending to enable tresholding to avoid some hollow places
2017-08-29 11:46:02 -03:00
Wilson E. Alvarez
a400a65c8a
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-29 10:24:10 -04:00
Juan Linietsky
089cf8176e
removed DISCARD built in variable, replaced by actual discard GLSL instruction, fixes #9677
2017-08-29 10:15:49 -03:00
Rémi Verschelde
e91c9b881c
Merge pull request #10739 from Rubonnek/removed-paramdef-paramhint
...
Removed ParamDef and ParamHint structs
2017-08-29 14:52:56 +02:00
Juan Linietsky
a2027cfa49
-Fixes to how collada generates tangents (use SurfaceTool), closes #9562
...
-Fix to gridmap cell size (wrong property type)
2017-08-29 08:48:39 -03:00
Rémi Verschelde
b2d53257ed
Merge pull request #10754 from bojidar-bg/10723-fix-shadows
...
Fix #10723 , a regression from 7a07895
2017-08-29 13:42:39 +02:00
Bojidar Marinov
839083789a
Fix #10723 , a regression from 7a07895
...
Using @akien-mga's patch
2017-08-29 14:32:01 +03:00
Wilson E. Alvarez
b9d0579be9
Removed ParamDef and ParamHint structs
2017-08-29 04:28:17 -04:00
cryptonaut
023b68542f
Cleaned up logic in Tween::_tween_process(), fixes #9187
2017-08-29 00:08:59 -07:00