Dawid Wdowiak
0f14489ecb
Center script line when double clicked on error in debugger
2019-06-23 15:58:07 +02:00
Rémi Verschelde
ee07560abf
Curve: Prevent forcing 1.0 min value to 0.99
...
The setters are called when the property is first initialized, and before
that its default min and max are 0.0 and 1.0 respectively.
If you configured min_value to 1.0 and max_value to e.g. 3.0, since the
min_value setter can be called before that of max_value (which thus still
defaults to 1.0), the min will be set to 0.99.
Same conflict could happen with a configured max_value of 0 if its setter
is called before that of a valid, negative min value.
2019-06-21 16:08:45 +02:00
Rémi Verschelde
b3fe249e94
CPUParticles: Set linear velocity to 0, like GPU Particles
2019-06-21 15:23:48 +02:00
Rémi Verschelde
fae3df1204
Particles: Properly initialize angular velocity parameter
...
Right now it would take garbage values when loading scenes,
which could end up written to the scene file.
2019-06-21 15:23:10 +02:00
qarmin
c77ff48a85
Fix some editor crashes
2019-06-21 11:34:32 +02:00
Rémi Verschelde
5c66771e3e
Merge pull request #29283 from qarmin/fix_some_always_same_values
...
Remove always true/false values
2019-06-20 21:10:10 +02:00
qarmin
072e40368e
Fix always true/false values
2019-06-20 16:59:48 +02:00
Rémi Verschelde
8591691b9b
Merge pull request #24249 from zorbathut/zorbathut/animimmediate
...
Implement AnimationPlayer call modes as per #23498 .
2019-06-20 13:04:34 +02:00
Rémi Verschelde
300d4dfd54
Merge pull request #25573 from nekomatata/button-shortcut-fix
...
Fixed shortcut events in BaseButton (now acts the same as ui_accept action)
2019-06-20 12:06:31 +02:00
Rémi Verschelde
b9f8e072ce
Merge pull request #26205 from Calinou/spatialmaterial-use-packed-channels
...
Tweak SpatialMaterial's default metallic and roughness texture channels
2019-06-20 11:46:01 +02:00
PouleyKetchoupp
1e6fa5d1a5
Fixed shortcut events in BaseButton (now acts the same as ui_accept action)
2019-06-20 09:13:23 +02:00
Rémi Verschelde
5a29be31b3
Merge pull request #27188 from samH-FIT/MacroUpdate
...
Made use of semicolons after GDCLASS more consistent, added semicolons where I found them missing.
2019-06-19 22:59:49 +02:00
Rémi Verschelde
02ed4b392c
Merge pull request #29902 from KoBeWi/dem_setters
...
Fix set_pick_color error
2019-06-19 20:43:15 +02:00
JohnJLight
38d3bfe971
Made use of semicolons more consitent, fixed formatting
2019-06-19 15:24:31 +02:00
Rémi Verschelde
30cbe28677
Merge pull request #27310 from KoBeWi/angular_dank
...
Make angular_damp of new Area nodes match the global default
2019-06-19 15:00:44 +02:00
Tomasz Chabora
9bdf110840
Fix set_pick_color error
2019-06-19 14:52:54 +02:00
Rémi Verschelde
d7af08aa95
Merge pull request #27389 from YeldhamDev/acceptdiag_label_wrap
...
Add option to enable autowrapping for label inside 'AcceptDialog'
2019-06-19 14:46:32 +02:00
Rémi Verschelde
66a854da78
Merge pull request #29878 from Dentrax/fixes
...
Added ERR_FAIL checks for `Animation::track_set_key_value` and `AnimationNodeStateMachine::remove_node`
2019-06-19 14:18:52 +02:00
Rémi Verschelde
bb0aeb4874
Merge pull request #28659 from KoBeWi/rainbow_mode
...
Add HSV mode to color picker
2019-06-19 12:41:51 +02:00
Furkan Türkal
09907a28b3
added forgotten err_fail_index check
2019-06-19 13:07:18 +03:00
Rémi Verschelde
d6176db271
Unexpose subclasses of ResourceFormatLoader and -Saver
...
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden
to add support for different formats in ResourceLoader and ResourceSaver.
Those should be exposed as they can be overridden in plugins.
On the other hand, all predefined subclasses of those two base classes
are only meant to register support for new file and resource types, but
should not and cannot be used directly from script, so they should not
be exposed.
Also unexposed ResourceImporterOGGVorbis (and thus its base class
ResourceImporter) which are editor-only.
2019-06-18 17:56:23 +02:00
Rémi Verschelde
d61d1af64d
Merge pull request #29489 from groud/fixes_nan
...
Fixes NaN errors with anchors mode
2019-06-18 09:53:25 +02:00
clayjohn
7d1ee6d3c3
change emit shape circle to sphere in CPUParticles2D
2019-06-17 11:59:31 -07:00
Rémi Verschelde
3b3ba7d179
Merge pull request #29847 from yurchor/master
...
Fix minor typos
2019-06-17 17:28:55 +02:00
Rémi Verschelde
1d93b4abef
Merge pull request #29633 from jbuck3/optionbutton-selection
...
Connect OptionButton selection to menu's "index_pressed" signal
2019-06-17 16:56:16 +02:00
Yuri Chornoivan
340c2c0584
Fix minor typos
2019-06-17 15:11:49 +03:00
Rémi Verschelde
24ee8c3566
Add script to fix style issues and copyright headers
...
This is only meant to check the validity of the whole codebase every
now and then, or to apply clang-format config changes when relevant.
2019-06-17 13:35:47 +02:00
Rémi Verschelde
2935caa13f
Merge pull request #29838 from KoBeWi/4real
...
Fix selection undo... for real
2019-06-17 11:07:26 +02:00
Rémi Verschelde
e7c8682075
Merge pull request #29835 from Calinou/tweak-editor-property-hints
...
Tweak some editor property hints to be more flexible and consistent
2019-06-17 11:06:48 +02:00
Tomasz Chabora
e5cfb9d6b2
Fix selection undo... for real
2019-06-17 03:54:28 +02:00
Hugo Locurcio
c0b3e20ca7
Tweak some editor property hints to be more flexible and consistent
...
This partially addresses #19242 .
2019-06-16 23:52:16 +02:00
Michael Alexsander Silva Dias
98d0c99652
Fix Range's "changed" signal emitting with a value even if binded to emit none
2019-06-16 12:00:49 -03:00
Rémi Verschelde
9d3342545d
Merge pull request #29700 from clayjohn/cpuparticles_transform_bug
...
Fix CPU particles bug with local_coords and transform
2019-06-16 10:49:30 +02:00
Rémi Verschelde
baab976d0f
Merge pull request #10643 from BastiaanOlij/camera_server
...
CameraServer class
2019-06-16 10:22:26 +02:00
Rémi Verschelde
68735d2a88
Fix compilation warnings in JS and Windows builds
...
Warnings raised by Emscripten 1.38.0 and MinGW64 5.0.4 / GCC 8.3.0.
JS can now build with `werror=yes warnings=extra`.
MinGW64 still has a few warnings to resolve with `warnings=extra`,
and only one with `warnings=all`.
Part of #29033 and #29801 .
2019-06-15 14:40:45 +02:00
BastiaanOlij
02ea99129e
Adding a new Camera Server implementation to Godot.
...
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server.
Other parts of Godot can interact with this to obtain images from the camera as textures.
This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-06-15 21:30:32 +10:00
Rémi Verschelde
0a3c21d999
Merge pull request #29785 from eligt/fix-richtext-alignment
...
Fix RichTextLabel alignment tags not working properly
2019-06-15 10:34:22 +02:00
Rémi Verschelde
e999929024
Merge pull request #29787 from Paulb23/fix_negative_cursor_column
...
Fix TextEdit cursor.column having a negative value
2019-06-15 00:29:07 +02:00
Paulb23
1d55207fd2
Fix TextEdit cursor.column having a negative value
2019-06-14 21:48:16 +01:00
Elia Sarti
c4e5ee1fd2
Fix RichTextLabel alignment tags not working properly
...
Also fixes #6982
Fix error and formatting
2019-06-14 21:38:33 +01:00
Rémi Verschelde
8e04aecb19
Merge pull request #29647 from YeldhamDev/file_dialog_hidden_toggle
...
Add toggle for hidden file visibility in FileDialog
2019-06-14 22:29:49 +02:00
clayjohn
52696e98b4
fix CPU particles bug with local_coords and transform
2019-06-14 13:22:19 -07:00
Rémi Verschelde
0b555fc70a
Merge pull request #29782 from JFonS/expose_camera_clip_offset
...
Expose ClippedCamera clip_offset
2019-06-14 18:31:47 +02:00
jfons
30b3591152
Expose ClippedCamera clip_offset
2019-06-14 17:39:13 +02:00
Rémi Verschelde
40f2480d0e
Merge pull request #29621 from DevinPentecost/feature/0_duration_tween
...
Implementing 0-duration tweens
2019-06-14 16:57:09 +02:00
Devin Pentecost
265eaf1a2c
Implementing 0-duration tweens
...
Some light refactor
Adding comments in functions
2019-06-14 07:20:13 -07:00
Rémi Verschelde
52dd0f8751
Implement missing orbit velocity for CPUParticles and CPUParticles2D
...
The relevant code was copied from (GPU) ParticlesMaterial but commented
out initially, and never ported.
Closes #29580 .
2019-06-13 11:35:07 +02:00
Rémi Verschelde
a745934761
Merge pull request #29731 from akien-mga/scene-is-off-limits
...
Cleanup some unecessary editor/ includes in scene/
2019-06-12 23:44:24 +02:00
Rémi Verschelde
84d969a42a
Cleanup some unecessary editor/ includes in scene/
...
Part of #29730 , handles false positives.
2019-06-12 22:48:43 +02:00
Rémi Verschelde
2cedf7173a
BaseButton: Make shortcuts call virtual methods
...
When buttons are not in Toggle Mode, shortcuts used to only trigger the
`pressed` signal, without calling the `_pressed` virtual method,
contrarily to what happens when you click the button.
For Toggle Mode buttons, it did call the `_toggled` virtual method
together with emitting the `toggled` signal *twice*.
This commit harmonizes it all and makes shortcuts behave the same as
mouse clicks or `ui_accept`, for both toggle and non-toggle modes.
Fixes #29604 .
2019-06-12 16:35:49 +02:00