Commit graph

8819 commits

Author SHA1 Message Date
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
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
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
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
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
Rémi Verschelde
28c85922b1 Merge pull request #10716 from Noshyaar/pr-update
Change editor update_mode to boolean (update_always)
2017-08-29 07:47:34 +02:00
Rémi Verschelde
61acc0762c Merge pull request #10704 from Noshyaar/pr-scene
EditorNode: enhance open scene error dialog
2017-08-29 07:47:04 +02:00
Rémi Verschelde
13289002dd Merge pull request #10705 from djrm/pr_gizmo_icons
Added missing gizmo icons and fixed ugly looking gizmo icons.
2017-08-29 07:46:47 +02:00
Rémi Verschelde
932ab11dd1 Merge pull request #10741 from henkz1/android-export
Android Fix export of 32 Bits Framebuffer option
2017-08-29 07:43:23 +02:00
Rémi Verschelde
672ab5dbcb Merge pull request #10731 from Noshyaar/pr-save
EditorNode: fix scene save over others
2017-08-29 07:39:35 +02:00
Poommetee Ketson
f620e19be7 Change editor update_mode to boolean
Fix potential issues when MenuOptions enum or the entry in
project metadata file is altered.
2017-08-29 07:50:41 +07:00
Henrik Andersson
230de5bc9c Fix export of 32 Bits Framebuffer option 2017-08-29 02:36:41 +02:00
Poommetee Ketson
d25ea73822 EditorNode: fix scene save over others 2017-08-29 07:27:18 +07:00
Poommetee Ketson
6bb290f6a7 EditorNode: enhance open scene error dialog 2017-08-29 07:09:47 +07:00
Rémi Verschelde
a91d12ab94 Merge pull request #10531 from RandomShaper/remove-old-android-setting
Sanitize Android debug
2017-08-29 00:09:27 +02:00
Rémi Verschelde
9a8a0e20e5 Merge pull request #10552 from RandomShaper/improve-posix
Improve Mac/UNIX conformance/reliability
2017-08-29 00:07:07 +02:00
Rémi Verschelde
0f7376921f Merge pull request #10614 from poke1024/realtime-polygon-2d
Adds realtime updates to polygon 2d editing
2017-08-28 23:58:34 +02:00
Rémi Verschelde
2353c65a1f Merge pull request #10622 from letheed/patch-1
Allow to disable shadow gradients in Light2D
2017-08-28 23:46:42 +02:00
Rémi Verschelde
9450179ff0 Disable antialiasing for CanvasItem triangle arrays
Fixes #10461 and supersedes #10645 as suggested by @bruvzg.
2017-08-28 23:37:42 +02:00
Rémi Verschelde
456bee46de Merge pull request #10676 from hpvb/speedup-_render_canvas_item_tree
Use memset to zero z_list
2017-08-28 23:08:50 +02:00
Rémi Verschelde
ddbd133097 Merge pull request #10683 from marcelofg55/rtaudio_buffer_fix
Fix RtAudio driver buffer_size incorrect calculation
2017-08-28 23:03:04 +02:00
Rémi Verschelde
3ce6972d2c Merge pull request #10692 from marcelofg55/wasapi_driver
Added new WASAPI driver for Windows
2017-08-28 22:53:53 +02:00
Daniel J. Ramirez
e5a71e3f95 Added missing gizmo icons and fixed ugly looking gizmo icons. 2017-08-28 15:49:16 -05:00
Rémi Verschelde
9a0ace41b0 Merge pull request #10709 from djrm/pr_gizmos_improvements
Highlight currently selected gizmo.
2017-08-28 22:44:29 +02:00
Rémi Verschelde
398d5bfb3f Merge pull request #10733 from tagcup/gltf_ao_metallic_chan
Fix the channels gltf importer uses for metallic and AO textures.
2017-08-28 22:11:09 +02:00
Ferenc Arn
609ef89362 Fix the channels gltf importer uses for metallic and AO textures.
Khronos blender gltf exporter uses red channel for occlusion and blue channel for metallic, whereas the current behavior is the opposite.

Fixes #10700.
2017-08-28 15:09:47 -04:00
Daniel J. Ramirez
07e8d7270e Improved directional light arrow and gizmo highlighting 2017-08-28 13:32:28 -05:00
Rémi Verschelde
d664469ec7 Fix inability to change project settings
Regression from 565600e844, fixes #10712.
2017-08-28 18:15:46 +02:00
Daniel J. Ramirez
3003e19ab1 Highlight currently selected gizmo.
Work with, GIProbe, ReflectionProbe and Particles.
2017-08-28 01:28:24 -05: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
Rémi Verschelde
213887f209 Merge pull request #10693 from Paulb23/offset_view_when_removing_issue_10529
Fixed offset view when removing text, issue 10529
2017-08-28 00:07:02 +02:00
Rémi Verschelde
59d1f96418 Merge pull request #10688 from Noshyaar/pr-csv2
ImporterCSV: add delimiter options , ; or \t
2017-08-28 00:06:50 +02:00
Rémi Verschelde
7e8a7dea2e Merge pull request #10667 from Zylann/freelook_inertia
Added freelook inertia
2017-08-28 00:06:25 +02:00
Rémi Verschelde
6ef7783abb Merge pull request #10662 from hoelzl/python3-v3
Make build scripts Python 3 compatible
2017-08-28 00:05:15 +02:00
Juan Linietsky
d23f323cde -Moved script run to editor, removed from project
-fixed to code completion
-fix shader crash bug reported by tagcup
2017-08-27 19:04:19 -03:00
Rémi Verschelde
909c9e0ba0 Merge pull request #10701 from hpvb/fix-callback-crash
Fix a crash in gdscript callbacks
2017-08-28 00:00:13 +02:00
Hein-Pieter van Braam
8064fbb174 Fix a crash in gdscript callbacks
This fixes a crash running the 'goltorus' project.
2017-08-27 23:49:13 +02:00