Maxime Leroy
6bd271139d
Fixing Curve2D/3D baked interpolated values
...
If bake interval is a multiple of the curve length, the curve would return NaN for some offset values (when `frac == 0.0`, it matches the start and end of the curve segment so `fmod == 0.0`, `frac` becomes NaN)
```
# Godot 3.1.1
var c = Curve3D.new()
c.add_point(Vector3())
c.add_point(Vector3(0.5,0,0))
c.add_point(Vector3(1,0,0))
c.bake_interval = 0.5
c.interpolate_baked(0.5) == Vector3(NAN, NAN, NAN)
```
2019-05-01 20:47:38 +02:00
Yuri Roubinsky
9f49e50d6d
Merge pull request #28571 from Chaosus/fix_vs_input2
...
Added missed inputs for other modes in visual shaders
2019-05-01 17:29:30 +03:00
Chaosus
3c159ea379
Added missed inputs for other modes in visual shaders
2019-05-01 17:04:39 +03:00
Rémi Verschelde
1d9a207dda
Merge pull request #28563 from DrMoriarty/fix-pvrtc-encoder
...
Fix pvrtc encoder
2019-05-01 15:45:16 +02:00
Rémi Verschelde
5254353ea8
Merge pull request #28567 from qarmin/fix_remove_missing_projects
...
Fix Remove Missing Projects on Windows
2019-05-01 15:08:47 +02:00
Rémi Verschelde
2f74e6b854
Merge pull request #28559 from megalike/mac_os_move_cursor_hotkeys
...
Support Mac OS default move cursor hotkeys
2019-05-01 15:08:30 +02:00
qarmin
d9eaa3e093
Fix Remove Missing Project projects on Windows
2019-05-01 14:36:04 +02:00
Rémi Verschelde
3cfab06080
Merge pull request #25406 from aqnuep/gridmap_improvements
...
GridMap editor fixes and improvements
2019-05-01 12:47:00 +02:00
megalike
17d14fe511
Support Mac OS default move cursor hotkeys
...
Add missing FALLTHROUGH define
2019-05-01 13:45:00 +03:00
Vasiliy Makarov
4009d26022
Fix pvrtc encoder
...
Always resize image to square of power2
Enable mipmaps only if original texture has it enabled
Fix #28534 , #28541
2019-05-01 13:34:01 +03:00
Rémi Verschelde
f3eafcec1a
Merge pull request #25350 from Connall/master
...
Fix "Auto Brace Complete" inserting extra quotation character sometimes in a string.
2019-05-01 10:32:41 +02:00
Rémi Verschelde
a72552367e
Merge pull request #25453 from nekomatata/button-keep-pressed-option
...
Add option to keep button pressed when moving cursor outside while pressing
2019-05-01 10:30:40 +02:00
Rémi Verschelde
48d31632a5
Merge pull request #28557 from AndreaCatania/revfix
...
Fixed game crash, regression of #26977
2019-05-01 10:08:50 +02:00
Andrea Catania
2684e81682
Fixed game crash, regression of #26977
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2019-05-01 09:55:17 +02:00
Rémi Verschelde
59b553b2af
Merge pull request #28493 from mitchcurtis/mac-line
...
Make Command + Left go to first non-whitespace character
2019-05-01 08:25:40 +02:00
Rémi Verschelde
47338a8056
Merge pull request #28455 from DrNochi/bugfix/script-dialog-path-with-spaces
...
Handle spaces correctly for base / parent scripts in the "New Script" dialog
2019-05-01 08:21:52 +02:00
Rémi Verschelde
ae41e35191
Merge pull request #27676 from qarmin/small_fixes_2
...
Small fixes to static analyzer bugs
2019-05-01 08:19:04 +02:00
Rémi Verschelde
8afc9c3938
Merge pull request #21425 from aaronfranke/decimal-functions
...
Make "decimal" functions more consistent
2019-05-01 08:16:10 +02:00
Rémi Verschelde
a8194eaef3
Merge pull request #28554 from YeldhamDev/popupmenu_minsize_fix
...
Fix regression on 'PopupMenu's minimal size
2019-05-01 08:09:51 +02:00
Michael Alexsander Silva Dias
48bfa9d17a
Fix regression on 'PopupMenu's minimal size
2019-05-01 02:30:56 -03:00
Rémi Verschelde
7ff0979747
Merge pull request #28544 from neikeq/issue-28540
...
Fix missing argument for vsnprintf_s
2019-05-01 07:18:31 +02:00
Ignacio Etcheverry
4eedb97802
Fix missing argument for vsnprintf_s
2019-04-30 23:15:25 +02:00
Aaron Franke
620ec4703f
Make "decimal" functions more consistent
...
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".
2019-04-30 13:49:17 -04:00
Rémi Verschelde
dd2cd06165
Merge pull request #25670 from aqnuep/bake_mode_affect_gi_prove
...
Disable GI probe capturing lights with bake mode disabled
2019-04-30 18:33:34 +02:00
Rémi Verschelde
0644040872
Merge pull request #27021 from MarianoGnu/font
...
Add and expose to Font a function to get the word-wraped text size
2019-04-30 18:33:00 +02:00
Rémi Verschelde
5902e15b9b
Merge pull request #27187 from IronicallySerious/add-new-folder-button
...
Add 'Create Folder' button in Install Project dialog
2019-04-30 18:32:42 +02:00
Rémi Verschelde
5f3dd5fdc7
Merge pull request #28481 from iwek7/issue28446/highlighingOfWhitespaces
...
Disable higlighting all occurences of selection in editor if it contains only whitespaces
2019-04-30 18:31:53 +02:00
Rémi Verschelde
537b1fbbba
Merge pull request #27954 from sketchyfun/bezier_fixes
...
Enhancements and fixes for the bezier animation track editor
2019-04-30 18:31:41 +02:00
Rémi Verschelde
c1cc438ce6
Merge pull request #27913 from Amssat221/issue27912
...
Set a range for line spacing
2019-04-30 18:31:20 +02:00
Rémi Verschelde
a7f00f3bac
Merge pull request #28530 from akien-mga/scons-prepend-cpppath
...
SCons: Always use env.Prepend for CPPPATH
2019-04-30 18:23:38 +02:00
Rémi Verschelde
a5c619dc8d
Merge pull request #28520 from clayjohn/GLES2-alpha-draw-order
...
Fixed GLES2 transparency order
2019-04-30 17:20:05 +02:00
DrNochi
23fd2a9175
Fix script dialog path validation to handle spaces correctly
2019-04-30 16:06:43 +02:00
Rémi Verschelde
9dc9434b1b
Merge pull request #24437 from mateusfccp/single_quotes_option
...
Add settings for single-quotes on completion
2019-04-30 14:58:33 +02:00
Daniel Rakos
07e2a86fc4
GridMap editor fixes and improvements
...
This change fixes a few outstanding issues and greatly improves the usability
of the GridMap editor through the following changes:
- Copied mesh now gets displayed during pasting (also renamed the related
identifiers accordingly)
- Duplication/paste indicator now gets rotated around the correct pivot point
(duplication worked properly before, but the indicator was shown misplaced
when rotated)
- Selected mesh library item cursor is no longer shown during selection and
duplication/pasting
- Back rotate X/Y/Z is now working during duplication/pasting
- Added true cut operation thanks to now having a proper clipboard (clear
operation got remapped to the DEL key)
- Got rid of some weird workarounds in the duplication code
- Fill and clear operations now correctly make the selection marker inactive
as this was broken partly due to the workarounds mentioned above
(duplication continues to keep the selection marker active to allow
subsequent duplications)
- Clear current selection on RMB, but treat selection as an action so previous
selection can be restored on undo
- Separated selection and paste indicator data as it's prone to error and
confusion and it's anyway needed now that selection is treated as an action
- Added support for cancelling paste, selection, and even unselect the
currently selected mesh library item with the ESC key (previously there
wasn't a way to unselect)
- Changed the key binding of fill/clear/duplicate operations to use Ctrl as a
modifier
- Changed erase to use RMB instead of Shift+RMB (free look is available
through Shift+F anyway, so no need to occupy RMB for it during gridmap
editing)
- Removed unused area, external connector, and configure menu items (there's
also the non-functional clip mode menu items, but I'm not sure whether there
are any plans with that, I suppose it's meant to be an editor aid)
- Renamed INPUT_COPY to INPUT_PICK to better reflect its purpose
- Added support for using Shift+Q and Shift+E to select multiple floors/planes
without actually changing the current floor/plane as it happens when using
e.g. the mouse wheel
Fixes #25373 and #15883
2019-04-30 14:35:18 +02:00
Rémi Verschelde
c991379b81
doc: Sync classref with current source
2019-04-30 14:23:59 +02:00
Rémi Verschelde
bd30188786
Merge pull request #28531 from LATRio/fix_phys_server_binding
...
Properly expose some PhysicsServer methods
2019-04-30 14:19:47 +02:00
Rémi Verschelde
9da3d736ad
Fix sign-compare error from #26051
2019-04-30 14:12:46 +02:00
Rémi Verschelde
58531a9a0a
Merge pull request #28532 from BastiaanOlij/fix_gdnative_notify
...
Forgot a parameter in the ARVR gdnative bindings for notifications
2019-04-30 14:00:59 +02:00
Rémi Verschelde
8a7cf6f0d1
Merge pull request #25708 from SeleckyErik/issue-25611-script_dialog_cursor
...
Moves cursor to and selects "new_script" in Create Script dialog
2019-04-30 13:57:14 +02:00
Rémi Verschelde
1b08ba1a48
Merge pull request #25713 from qarmin/remove_all_missing_projects
...
Add button in Project Manager to remove all missing projects
2019-04-30 13:56:29 +02:00
Ignacio Roldán Etcheverry
e014561a28
Merge pull request #28519 from neikeq/mono-exported-arrays-resource-type-hint
...
C#: Support resource type hint in exported arrays
2019-04-30 13:52:09 +02:00
Rémi Verschelde
378ddde5e3
Merge pull request #25720 from qarmin/fix_hide_search_project_settings
...
Clear SearchBox when unclick SearchButton
2019-04-30 13:49:01 +02:00
Rémi Verschelde
1ca65b5e26
Merge pull request #25751 from Calinou/faster-script-error-checking
...
Allow floating-point values in the idle parse delay editor setting
2019-04-30 13:47:52 +02:00
Bastiaan Olij
a8114b9936
Forgot a parameter in the ARVR gdnative bindings for notifications
2019-04-30 21:47:14 +10:00
Rémi Verschelde
9591e587fe
Merge pull request #26022 from lupoDharkael/create-script
...
Add class tree selection to script inheritance selection
2019-04-30 13:43:53 +02:00
LATRio
0562b78f40
Properly expose PhysicsServer methods
2019-04-30 20:42:07 +09:00
Rémi Verschelde
12cc760538
Merge pull request #26051 from 20kdc/videofix
...
webm/theora/yuv2rgb/libsimplewebm: Fix colour issues I could find.
2019-04-30 13:38:44 +02:00
Rémi Verschelde
b5deb1dc72
Merge pull request #26053 from qarmin/back_scroll_to_start
...
Back scroll bar to start when changing folder
2019-04-30 13:35:45 +02:00
Rémi Verschelde
2cc8848c3c
Merge pull request #26224 from hilfazer/autocomplete
...
Working autocomplete for $" and $'
2019-04-30 13:32:37 +02:00
Rémi Verschelde
88c0a8d4b8
Merge pull request #26252 from ZahFox/colorpicker
...
ColorPicker: Properties to toggle the editability and visibility of presets
2019-04-30 13:31:51 +02:00