aboutsummaryrefslogtreecommitdiff
path: root/modules/gdnative/pluginscript/pluginscript_instance.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-03-24Fix bug added in PR#17589. Resources couldn't be saved to filesrobfram1-4/+2
This PR fixes the code to avoid saving default environment every time the project is run whitin the editor. Should fix #17727. Sorry for the troubles!
2018-03-23Overhaul the display scaling editor settingsHugo Locurcio3-26/+78
This adds more scaling options, in addition to a custom scaling option which allows any scale between 0.75 and 3.0 to be used.
2018-03-23Revert "Implement OS_OSX::execute"bruvzg2-50/+0
This reverts commit e42576548f2c0ae2c6cb24ce2b0437ffb8978d65.
2018-03-22Fix for clang warning at distance_toMarcelo Fernandez1-1/+1
2018-03-22Fix dragging window from non-retina to retina display.bruvzg1-0/+1
2018-03-22Fix several in-class initialization clang warningMarcelo Fernandez7-9/+18
2018-03-21Fix missing const in CapsuleShapeSW::get_areaMarcelo Fernandez1-1/+1
2018-03-21Fix compressor audio effect sidechain selectionBenedikt Bär1-1/+1
2018-03-21Prevented external editor from running multiple timesIvan Vodopiviz1-1/+2
Fixes #16923. I'm not a fan of the special case for scripts in editor_node.cpp, but in any case, I made it so it wouldn't make the external editor to re-open just because we switched scenes.
2018-03-21[DOCS] minor ParticlesMaterial docs fix Linear -> RadialPoommetee Ketson1-1/+1
2018-03-21Prevent android to split-screenXavier Sellier1-1/+2
2018-03-21s/2017/2018/g for gles2, websocket, linux appdataPoommetee Ketson37-73/+73
2018-03-21Add --print-fps option to output FPS to stdoutRémi Verschelde2-4/+15
Works both for the editor and games. Projects can still use "debug/settings/stdout/print_fps" to enable it permanently. The --print-fps option takes precedence (so works even if the project setting is disabled). That setting is also no longer redefined on the fly based on the verbose flag, that was a mess.
2018-03-20Updated thekla_atlas to support arm64Brigham Henry Keys2-4/+9
2018-03-20add option to invert y-axisJulien CATINEAU2-2/+13
2018-03-20Fix getting Android device informationvolzhs1-2/+8
Fix #17644
2018-03-20Add RWLockDummy for NO_THREADS buildsLeon Krause7-25/+30
2018-03-19Fix crash in `canvas_item_add_polyline` when passing more points than colorsrobfram1-4/+8
When `p_points.size() > p_colors.size()`, it crashed with invalid array access to `p_colors`. Also, when `p_colors` was an empty `Vector` it crashed due a missing `else` checking the `size` condition, as the code handling that special case exists. This PR fixes the missing `else` for `p_colors.size == 0` and, following the `canvas_item_add_multiline` spirit, it only uses the first color for the whole polyline if points and colors differ in size. Fix #17621.
2018-03-19Fix mono build properly!PJB30051-1/+1
Fixes the mistake I made in #17603 to make it require Python > 3.6.
2018-03-19Fix oversampled font artifacts after resizeRuslan Mustakov1-3/+3
Font update after resize relies on the viewport size which was updated after the font was already refreshed, which resulted in artifacts when it was rendered into the actual/new viewport size. Fixes #15173.
2018-03-19Fix possible crash when audio channels changeMarcelo Fernandez2-11/+33
2018-03-19Implement OS_OSX::executebruvzg2-0/+50
2018-03-19Fix animation length from glTF not correctly setPedro J. Estébanez1-4/+3
2018-03-19Fix glTF not accepting VEC3 colorsPedro J. Estébanez1-3/+11
Aside from the colors themselves, the rejection was adding somes issues later in the mesh import process.
2018-03-18Mono: Runtime main args and assembly search fixesIgnacio Etcheverry2-15/+42
- Setup runtime main args during initialization. This must be done manually by embedders who do not call mono_runtime_run_main. Fixes NullReferenceException in System.Environment. - Continue to search the assembly in the rest of the search locations if loading it from one of them failed.
2018-03-18Fixes wrong calculation of gridcontainer's children sizeGilles Roudiere1-2/+2
2018-03-18Disable Emscripten assertions in release_debug buildsLeon Krause1-1/+2
The messages generated by some assertions can be confusing to users.
2018-03-18Fix bad rendering of BBCode tables in `RichTextLabel`robfram2-3/+10
Text overflowed canvas as tables didn't calculate correctly the width of their columns. They used the whole table width available for each column. Also, the `cell` parameter was wrongly parsed if used with its optional argument (expand ratio). This PR fixs the parsing of `cell` parameter (i.e. `cell=e`) and the distribution of the full table width between columns, but it overrides automatically the `expand` flag if the column is smaller than it could be, to allow a better UX out-of-the-box. It keeps the `expand_ratio` flag to let the user customize how every column grows in relation to the rest. Partially fix #6289.
2018-03-18Fix listing files inside directory in pack filePedro J. Estébanez1-1/+5
When adding a directory path to the inventory of the pack, an empty file name was being added to the file list. That made `Directory.get_ntext()` signal end-of-list too early so that files in a subdirectory were missed. Fixes #15801. Helps with #16798.
2018-03-18Improve Input.is_action_just_* docs.Pieter-Jan Briers1-2/+3
More clarification.
2018-03-18Fix saving unmodified scenes and resourcesrobfram1-1/+7
When `_save_all_scenes` or `save_resource_in_path` was called, they always saved all the scenes and the resource no matter if they were modified or not. For example, when `saving before run` option was checked, it always overwrote the current scene and the default environment simply by opening and runing the project. This PR adds checks for unsaved scenes (using the same `unsave` check others method used) and modified resources (comparing last modified time and last import time). Fix #6025.
2018-03-18Fix Mono builds with Python 3.Pieter-Jan Briers1-1/+1
A subprocess call wasn't specifying an encoding, so this gave a TypeError in Python 3.
2018-03-17Fixed small typo in the "InstancePlaceholder" doc.Michael Alexsander Silva Dias1-1/+1
2018-03-17Added tool menu functions in EditorPluginMr-Slurpy3-29/+73
2018-03-17Fix non-valid characters for `input_action`robfram1-4/+13
Add a new function to check action names, `_validate_action_name`, in the spirit of `_valprop`. Offending characters include non-printable ascii, and `\/=:"`. Also set only one text for the UI message.
2018-03-17Fixes scrollbars in Canvas Item EditorGilles Roudiere2-67/+80
2018-03-17a way to ensure that camera is disabledJakub Grzesik2-4/+7
2018-03-16Fix pressing `F3` do both changing to script editor AND find next textrobfram1-0/+6
As `KEY_F3` was used both for changing to script editor window and, in the script editor, for finding the next result in the last search, and the key event is **not** consumed, the resulting behaviour was similar to press `F3` twice, first to change to script editor and second to find the next result of a previous search. This PR sets the `key_pressed` status of `InputEvent` to `false` if this event is responsible of an editor change, simulating the consumption of the event. Fix #17334
2018-03-16Open textfile in textmodeShyRed1-1/+1
Open mapping files in textmode as they are textfiles.
2018-03-16Fix typo in engine.jsLeon Krause1-2/+2
2018-03-16[DOCS] Node: Remove duplicate informationMax Hilbrunner1-1/+1
2018-03-16Warn about WorldEnvironment being ignoredBernhard Liebl1-1/+9
2018-03-16SCons: properly close files when reading controller mappingsRémi Verschelde2-6/+6
Fixup to #17296.
2018-03-16InterpolatedCamera: use internal_processPoommetee Ketson1-4/+4
2018-03-15[DOCS] Node: Networking updates, fix outdated and missing docsmhilbrunner1-30/+52
2018-03-15Mono: Avoid invalid class names.Andreas Haas4-2/+33
Disallow reserved keywords as class names and prefix base class with the Godot namespace if it's the same as the class name. Fixes #12483
2018-03-15Fix MinGW cross-buildbruvzg1-2/+3
2018-03-15Hinted shader uniforms can have a default valueJFonS1-20/+21
2018-03-15A few fixes on the ARVR ServerBastiaan Olij3-4/+73
2018-03-15Fix script template on `_ready` behaviorPoommetee Ketson1-1/+1