Benjamin Dahse
b95f57d050
Add null-check to get_normal_frame
2017-06-20 00:37:34 +02:00
Thomas Herzog
86407aebc5
Merge pull request #8407 from Jylhis/popup_item_select_hide
...
Update PopupMenu hiding
2017-06-20 00:20:21 +02:00
Thomas Herzog
bfac7c476d
Merge pull request #8629 from hikari-no-yume/Sprite3D_double_sided_flag_master
...
Add double-sided flag to SpriteBase3D [master]
2017-06-19 23:46:54 +02:00
Thomas Herzog
b6b225f4c5
Merge pull request #8870 from tagcup/pathfollow
...
Fix PathFollow rotations.
2017-06-19 23:30:40 +02:00
Poommetee Ketson
443e58e88c
ColorPicker: fix DPI, hue & color update issues
2017-06-20 04:00:05 +07:00
Juan Linietsky
8928509f09
Merge pull request #9256 from MarianoGnu/master
...
Fix ColorPicker's screen pick functionality
2017-06-19 13:32:24 -03:00
Mariano Suligoy
f5185e7ba6
Fix ColorPicker's screen pick functionality
2017-06-19 09:23:57 -03:00
BastiaanOlij
bf6f3881a1
Align primitive defaults to default collision shape sizes
2017-06-19 21:40:16 +10:00
Juan Linietsky
0288be1e76
Texture rect_region drawing now clamps UV to avoid bleeding. This avoids scenarios like single-texture tilemap tiles leaking pixels to the next tile when filter is enabled on it.
2017-06-18 22:55:02 -03:00
Juan Linietsky
969fa3cc73
-Added AudioStreamPlayer2D, for 2D positional sound
...
-Added ability for Area2D to redirect positional sound to a specific audio bus
2017-06-18 21:07:32 -03:00
Juan Linietsky
33bf180067
Added normalmap support to stylebox and animated sprite.
2017-06-18 00:03:28 -03:00
Juan Linietsky
5c6cac4e53
Add normalmap support for drawing in all low level primitives. Only added support in Sprite so far.
2017-06-17 23:27:42 -03:00
Juan Linietsky
2da3f48e5a
-Fixed shader lang to not be able to get scalar from matrix (ie mat.x), to make it more GLSL compatible
...
-Fixed referencing of world_transform in fragment shader not working
-Fixed unsycn bug related to getting shader param list from the server
-Fixed getting all textures from shader properly, fixes #8353
2017-06-17 11:03:48 -03:00
Rémi Verschelde
63544169f0
Merge pull request #9228 from BastiaanOlij/fix_primitive_slider
...
Fix sliders for primitives
2017-06-17 10:36:41 +02:00
Juan Linietsky
b19225bfce
-Fix freezes caused by etccomp2, closes #9183
...
-Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality.
2017-06-16 21:49:37 -03:00
BastiaanOlij
4f20f52d5f
fix sliders for primitives
2017-06-17 09:18:09 +10:00
George Marques
7966ebe6fa
Complete changing of resource extensions
...
Some places were missing in e42d59f
.
2017-06-16 15:42:18 -03:00
Rémi Verschelde
7e5d9ed461
Merge pull request #9212 from BastiaanOlij/add_primitive_hints
...
Add sensible hints to properties for primitive meshes
2017-06-16 17:51:14 +02:00
Rémi Verschelde
8b1bc9da88
Merge pull request #9208 from Calinou/tweak-default-fov
...
Increase the default perspective camera FOV
2017-06-16 17:51:04 +02:00
BastiaanOlij
1e5a6d3cc8
Add sensible hints to properties
2017-06-16 23:56:13 +10:00
BastiaanOlij
9483613138
Godot 3.0 primitives as resources for use with MeshInstance
...
Adds the following resources:
- CapsuleMesh: a capsule object
- CubeMesh: a cube that can be subdivided
- CylinderMesh: a cylinder
- PlaneMesh: a horizontal plane that can be subdivided
- PrismMesh: a prism shape
- SphereMesh: a sphere
- QuadMesh: reintroduction of the original quadmesh
Removes the old Quad and TestCube nodes
2017-06-16 21:40:23 +10:00
Juan Linietsky
5d02b948a9
Cleaned up Screen Space Reflections, closes #8119
2017-06-16 08:30:21 -03:00
Juan Linietsky
29cfc365aa
Fixes to SSR, WIP.
2017-06-16 08:30:21 -03:00
Rémi Verschelde
3fadbe2172
Merge pull request #9201 from vnen/rename-extensions
...
Rename Godot-specific resource extensions
2017-06-16 13:01:10 +02:00
Hugo Locurcio
cdcc3c919b
Increase the default perspective camera FOV
...
This does not affect existing projects, but will affect newly-created
editor settings and Camera nodes.
2017-06-16 12:07:07 +02:00
Rémi Verschelde
3e7bbf2ca3
Merge pull request #9196 from volzhs/scene-tab
...
Enhance scene tabs
2017-06-16 08:14:45 +02:00
volzhs
fc2fe7ebd1
Enhance scene tabs
...
- show scene thumbnail on hover
- resize if has many tabs
- show full scene file name with current edited scene
- can be customized EditorSettings > Interface > Scene Tab
- close scene with mouse middle button
2017-06-16 13:21:05 +09:00
George Marques
e42d59f01e
Rename Godot-specific resource extensions
2017-06-15 21:35:20 -03:00
Rémi Verschelde
7b1f1dbf37
Merge pull request #9192 from remorse107/master
...
Color Picker Fixed Appearance
2017-06-15 19:17:11 +02:00
Juan Linietsky
da14225ad8
fix bug related to unshaded materials not working on MSVC. Not cleanest solution, might think about how to improve later.
2017-06-15 10:36:00 -03:00
remorse107
61feec28cf
Color Picker Fixed Appearance
...
Corrected bug with color picker hue section and with the wrong color array being sent to the 256x256 palette selector.
Color Picker Fixed Appearance and clang Format
2017-06-15 06:32:57 -05:00
Rémi Verschelde
b7a2a40b8e
Merge pull request #9176 from RandomShaper/fix-touchbutton
...
Fix/improve TouchScreenButton
2017-06-15 12:38:59 +02:00
Juan Linietsky
c1df35037f
get rid of button array
2017-06-14 18:27:44 -03:00
Rémi Verschelde
80de0c35df
Merge pull request #9160 from karroffel/color-ramp-rename
...
renamed occurances of ColorRamp with Gradient
2017-06-14 23:09:30 +02:00
Rémi Verschelde
bccee07ae7
Merge pull request #9165 from Noshyaar/pr-area
...
Refactor layer_mask to collision_layer
2017-06-14 23:04:04 +02:00
Juan Linietsky
462d8ceb46
Fixed several bugs with directional light, and changed defaults to be more sensible.
2017-06-14 17:06:36 -03:00
Pedro J. Estébanez
d27d1dba23
Fix/improve TouchScreenButton
...
- Refactor touch acceptance logic so the same is used whether passby is enabled or not.
- Remove the check for visibility during input handling as it should never fail; instead using now an ERR_FAIL_COND() just in case since we have been checking for that so far.
- Fix cast to wrong InputEventScreenTouch when it should be InputEventScreenDrag.
- Replaced use of references by plain pointers for a more readable code and maybe a little performance gain.
2017-06-14 17:19:58 +02:00
Poommetee Ketson
6c44fff508
Refactor layer_mask to collision_layer
2017-06-14 10:58:34 +07:00
Marc Gilleron
0fd5ab479c
Fixed broken Line2D due to math changes in f271591ac2
2017-06-14 02:21:40 +02:00
Karroffel
23c5fa8687
renamed occurances of ColorRamp with Gradient
...
ColorRamp got renamed to Gradient recently, reduz missed some occurances though.
2017-06-14 01:24:04 +02:00
Juan Linietsky
a8a1f2e2a8
-Fixed occluder rendering, closes #8560
...
-Ability to smooth out 2D shadow filters
2017-06-13 01:23:04 -03:00
Juan Linietsky
95c248e24f
Remove default shadow bias of 0.1 for spot and omni light, fixes #8654
2017-06-13 00:07:05 -03:00
Juan Linietsky
b21d45e4e1
Change Omni light default mode to Cube, avoids users confusing it as a bug, closes #8813
2017-06-12 23:37:31 -03:00
Juan Linietsky
42b2d52c88
Properly adjust the visible editor rect and make limits respected, closes #8328
2017-06-12 16:19:12 -03:00
Juan Linietsky
4d50c7ad8c
Restored multiple viewport function, as well as view modes.
2017-06-11 15:52:03 -03:00
Juan Linietsky
bcc435094d
Restired multithread support in OSX and Windows, should stop the crashes.
2017-06-10 10:15:33 -03:00
alexholly
935f730170
renamed all Rect3.pos to Rect3.position
2017-06-09 15:54:02 +02:00
Juan Linietsky
612ab8fcdb
-Restored multithread capability to VisualServer
...
-Restored resource previews!
2017-06-09 00:24:18 -03:00
Rémi Verschelde
606b4ee9df
Merge pull request #9051 from toger5/fixedScriptEditorListSeperation
...
fixed spacing for script editor script list
2017-06-08 07:34:27 +02:00
Juan Linietsky
5bf810b5db
-Added proper access to depth texture from shader
...
-Split Mesh into Mesh (abstrat class) and ArrayMesh, to allow to proper mesh primitives, as well as streamable meshes in the future.
2017-06-07 18:20:04 -03:00
Juan Linietsky
840ac8c018
Fog is complete!
2017-06-07 08:38:21 -03:00
toger5
50e5c7f980
fixed overlapping of temp. colors (script editor)
...
+ added a little bit more spacing to the scripts in the script list.
the temp colors now expand to the vseperation, instead of having the same size than the stylebox
2017-06-07 02:41:08 -07:00
Rémi Verschelde
897d6377b7
Revert "Fix text warp in color blocks with CJK"
...
This reverts commit cd778e00dc
.
That commit introduced regressions for non-CJK languages are discussed
in #8952 . Fixes #9078 .
2017-06-07 07:38:53 +02:00
Andreas Haas
9e5efa4abd
GraphNode: Remove debug print.
2017-06-06 21:19:55 +02:00
Juan Linietsky
0fb99306ff
-working SCREEN_TEXTURE, SCREEN_UV shader variables
...
-Added refraction support for default material
-Enabled BCS adjustments, as well as color correction.
2017-06-05 22:34:32 -03:00
Poommetee Ketson
5fd458e03a
Fix build error
2017-06-05 21:19:54 +07:00
Rémi Verschelde
f8d7670e82
Merge pull request #9038 from AlexHolly/rect2-rename-pos
...
renamed all Rect2.pos to Rect2.position
2017-06-05 15:52:05 +02:00
Juan Linietsky
01198cb896
Removed stupid right arrow to edit resource. Now simply click it..
2017-06-04 20:35:45 -03:00
Juan Linietsky
5aa66d03d8
Added depth texture support (using parallax) to default material.
2017-06-04 20:35:45 -03:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
Andreas Haas
9bc5348961
InputEvent: Renamed "pos" property to "position"
...
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Juan Linietsky
8a1097a224
many fixes to image loader, voxel cone tracing, etc.
2017-06-02 22:08:41 -03:00
Juan Linietsky
e79d7149ea
GI probes working back again
2017-06-01 22:38:07 -03:00
Juan Linietsky
c03131fc9f
Rework shading modes and change location of light shader
2017-06-01 18:56:02 -03:00
Andreas Haas
5dd52320cb
Merge pull request #8982 from noshyaar/pr-anim
...
Fix autoplay animation starts from last editor state #8976
2017-06-01 21:05:41 +02:00
Juan Linietsky
a134f58fb3
rewritten PBR implementation to make it friendlier with Blender
2017-05-31 20:29:56 -03:00
Ferenc Arn
a1c8896d9d
Fix PathFollow rotations.
...
Used parallel transport to move the object along the curve. Also introduced a few more math checks useful for debugging.
2017-05-31 13:58:31 -05:00
Poommetee Ketson
c7ac90c97f
Fix autoplay animation starts from last editor state #8976
2017-05-31 23:54:40 +07:00
Juan Linietsky
5567e898d1
Several fixes related to PBR and Environment
2017-05-30 08:56:19 -03:00
Juan Linietsky
bb20f230ad
-Added .hdr format support
...
-Added default environment editor setting
-Added environment created by default in new projects
-Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-28 21:48:05 -03:00
Kristupas Stumbrys
0251e9eb01
Fixing typo for rect_position in _change_notify call for Control
2017-05-28 16:38:22 +03:00
Geequlim
b93fce1c18
Fix text warp in color blocks with CJK
...
(cherry picked from commit cd778e00dc
)
2017-05-27 11:37:33 +02:00
Sean Bohan
cba62864c8
Fix item list scroll speed.
...
Remove the extra `set_val` action after the proper one, so the right scroll value won’t get overrided any more.
(cherry picked from commit 064dce7a4c
)
2017-05-27 11:37:33 +02:00
Juan Linietsky
bf6380ee70
Removed skybox support, added panorama support. Skybox support may come back eventually, but hope not.
2017-05-25 14:00:43 -03:00
Rémi Verschelde
6d0809b095
Merge pull request #8869 from Hinsbart/errors
...
Fix errors on engine startup.
2017-05-25 08:37:48 +02:00
Juan Linietsky
afcce9eb12
-Fix the "set_val" call deferred, it was the only one.. closes #8742
...
-Removed redundant bind in input_event
2017-05-23 09:06:22 -03:00
Juan Linietsky
d093b78f12
Fix stex import into black textures when lossless and lossy are selected, closes #8801
2017-05-23 08:55:32 -03:00
Andreas Haas
4d8e45de17
Fix errors on engine startup.
...
Fixes a bunch of the most spammy console errors introduced by recent refactorings:
- `AudioServerState` does not exist, this was the reference to it in the source. The surrounding code made it clear that `AudioServerLayout` was meant to be used instead.
- `StreamCSVTranslation` same here, it's the only reference. I went with `Translation` here, but I'm not 100% sure on this one.
- Some methods have been moved from `Texture` to `Image`, but the old bindings were still there.
- A few `name == ""` errors related to duplicating nodes.
2017-05-22 20:50:59 +02:00
Rémi Verschelde
a6122ce68b
Merge pull request #8862 from volzhs/editor-theme-margin
...
Fit grid with label and component of editor
2017-05-22 15:16:57 +02:00
volzhs
a2ad2eedbb
Fit grid with label and component of editor
2017-05-22 20:25:19 +09:00
Rémi Verschelde
0964129a10
Merge pull request #8832 from Zireael07/vehicle-improvs-master
...
Expose wheel's contact to GDScript and set roll influence in editor [3.0]
2017-05-22 07:50:34 +02:00
toger5
955615a3c3
fixed crash when dragging to change color in color picker
2017-05-21 19:11:11 -07:00
Juan Linietsky
5b3709d309
Removal of InputEvent as built-in Variant type..
...
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Zireael07
c82c5a2e56
GDScript can now tell if the wheel is in contact with the ground; change roll influence of the wheel in editor
2017-05-20 12:42:09 +02:00
Rémi Verschelde
869d6b1d33
Merge pull request #8818 from tagcup/mesh_methods
...
GDScript bindings for various missing Mesh functions.
2017-05-20 09:48:36 +02:00
Rémi Verschelde
67389d4db7
Merge pull request #8844 from Hinsbart/audioplayer-crash
...
Fix crash when saving AudioPlayer without stream.
2017-05-20 07:34:59 +02:00
Rémi Verschelde
231511b2a6
Merge pull request #8631 from volzhs/editor-theme-custom
...
New customizable editor theme
2017-05-20 07:16:11 +02:00
Andreas Haas
02aa1dd600
Fix crash when saving AudioPlayer without stream.
...
Guards against calling this setter with invalid input.
2017-05-20 03:49:54 +02:00
Ferenc Arn
f2a335d0c1
GDScript bindings for various missing Mesh functions.
...
Fixes #8041 .
2017-05-18 16:29:17 -05:00
Rémi Verschelde
a75623f436
Merge pull request #8796 from yanorax/treecolumn_title_pressed
...
Add column_title_pressed signal to Tree node
2017-05-18 19:06:25 +02:00
yanorax
7b00ad22b9
Add column_title_pressed signal to Tree node
...
The Tree node column/table form is missing the ability to
capture column title clicks easily.
Adding this functionality will give us the ability to
create functions such as sort by column, which is a common
table manipulation ability in games/apps.
https://godotengine.org/qa/7699
2017-05-18 13:12:27 +10:00
Rémi Verschelde
c3baf5eb3c
Fix two typos from previous commit
...
Also cleanup comments on variant types.
2017-05-17 18:45:56 +02:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
Rémi Verschelde
d801ff2b3d
Merge pull request #8778 from honix/master
...
Particles potential crash fix 2
2017-05-16 16:34:37 +02:00
honix
73385e362b
Particles potential crash fix 2
2017-05-16 16:24:33 +03:00
Rémi Verschelde
27dd415196
Merge pull request #8759 from AlexHoratio/master
...
Fixed #8526 , popup menu width now responds to submenu icon
2017-05-15 08:00:50 +02:00
AlexHoratio
69359f2220
Fixed #8526 , popup menu width now responds to submenu icon
2017-05-14 18:55:55 +01:00
Damian Day
f2564ca97f
Fix natural sorting order in EditorFileDialog, FileDialog and EditorFileSystemDirectory
...
Make EditorFileDialog, FileDialog and EditorFileSystemDirectory alphanumerical sorting more natural
Added a new method 'naturalnocasecmp_to' and comparator 'NaturalNoCaseComparator' to String.
Fixes #8712 .
2017-05-12 13:02:25 +01:00
volzhs
bb81293047
New customizable editor theme
2017-05-09 17:46:54 +09:00
Poommetee Ketson
64879e592b
RayCast2D: fix detached arrow tip
2017-05-08 16:12:40 +07:00
toger5
304a1f5b5a
Implemented scrolling factor for smooth trackpad scrolling
...
Working platforms platform: OSX, Windows.
Support for almost all ui elements, including project list.
2017-05-07 14:23:56 +02:00
Fabio Alessandrelli
a5ce7a98cb
Fix bug in pause mode propagation
...
Pause mode was not correctly propagating effectively stopping
immediately when the mode was not PAUSE_MODE_INHERIT.
2017-05-06 02:37:17 +02:00
Andreas Haas
def41b9856
Tree: Clear search string on selection.
...
The Tree node has the ability to jump to a specific item by typing the first few chars of it's name.
But on selection ('item_activated' signal), it didn't clear the search string used for that. It was especially annoying in `FileDialog`s and has been bugging me for
ages :P
With this, you can traverse a directory structure in a FileDiag quickly with the keyboard (like you'd expect from pretty much any modern file browser) :)
2017-05-04 22:08:09 +02:00
Poommetee Ketson
e64c473bc9
LineEdit: fix placeholder text affected by secret
2017-05-03 19:23:36 +07:00
volzhs
17e8e343fb
Revert "Add new editor and default theme (WIP)"
...
This reverts commit f045efe007
.
2017-05-03 06:19:15 +09:00
Andrea Faulds
fd5b929831
Add double-sided flag to SpriteBase3D ( fixes #8007 )
2017-05-02 21:03:17 +01:00
Marc Gilleron
d78efddbf5
Fix #8617 WindowDialog with custom panel background crashes godot
2017-05-02 02:18:50 +02:00
Rémi Verschelde
d4029aa51a
Move other lone thirdparty files to thirdparty/misc
...
Also move Box2D ConvexDecomposition contrib code to
thirdparty/b2d_convexdecomp.
2017-04-28 21:19:25 +02:00
Rémi Verschelde
2398eb6ed4
Move core thirdparty files to thirdparty/{minizip,misc}
2017-04-28 21:19:23 +02:00
Rémi Verschelde
5f15f03d38
Fix theme_data.h formatting via make_header.py
...
Should make clang-format happy.
2017-04-27 08:58:11 +02:00
Rémi Verschelde
2feb24953c
Merge pull request #8520 from Hinsbart/tree_tooltips
...
Tree: Ability to add tooltips to TreeItem buttons.
2017-04-27 08:10:11 +02:00
Daniel J. Ramirez
f045efe007
Add new editor and default theme (WIP)
2017-04-27 08:04:57 +02:00
Andreas Haas
29999942a2
Tree: Ability to add tooltips to TreeItem buttons.
...
Adds a tooltip parameter to `TreeItem::add_button()` and set a few tooltips in the Project settings and SceneTree dock.
2017-04-26 19:14:35 +02:00
Ramesh Ravone
cc973b461b
Revert " 3.0 recompute_aabb on add_surface"
2017-04-26 13:18:01 +05:30
Rémi Verschelde
ffbe6660cf
Merge pull request #8538 from RameshRavone/patch-7
...
3.0 recompute_aabb on add_surface
2017-04-26 08:57:10 +02:00
Ramesh Ravone
930ad8fc8c
3.0 recompute_aabb on add_surface
2017-04-26 07:57:13 +05:30
volzhs
de4267fc99
Fix auto_accept_quit option to work
...
auto_accept_quit value is set first properly with GLOBAL_DEF("application/auto_accept_quit", true) in main.cpp
after that it's reset to true in SceneTree:init() whatever value was.
2017-04-25 20:05:22 +09:00
Rémi Verschelde
b6e0eaf3ca
Merge pull request #8509 from nunodonato/fixspatialmaterial
...
Fixed #8102 , by renaming FixedSpatialMaterial to SpatialMaterial
2017-04-24 12:05:43 +02:00
Rémi Verschelde
8032dd18dd
Merge pull request #8408 from 20kdc/bugfix-kine-mas
...
Apply is_ceiling/is_wall swap fix to 2D move_and_slide
2017-04-24 11:25:08 +02:00
Nuno Donato
c1e771dfe9
Fixed #8102 , by renaming FixedSpatialMaterial to SpatialMaterial
2017-04-24 10:20:32 +01:00
Rémi Verschelde
05d35bb156
Merge pull request #8395 from 20kdc/master
...
Ported move_and_slide to KinematicBody (3D)
2017-04-24 11:20:10 +02:00
Rémi Verschelde
5939a9b8e8
Merge pull request #8343 from volzhs/prevent_uncheck
...
Prevent to uncheck selected item with button group
2017-04-24 11:19:14 +02:00
Rémi Verschelde
5ae1e172da
Merge pull request #8277 from tagcup/math_checks
...
Added various functions basic math classes. Also enabled math checks …
2017-04-24 11:16:20 +02:00
Rémi Verschelde
90ef1fd03d
Merge pull request #8102 from bd339/iss3172
...
Show 3D raycasts when debugging collisions
2017-04-24 11:11:04 +02:00
Rémi Verschelde
515f92d03b
Fix property warnings and hide some debug prints
...
"ALL IS GOOD" was a lie.
In particular, removes verbose "path not recognized" false positive.
The actual logic is to (somewhat naively) check all ResourceFormatLoaders
and to pick the first good match, so no need to warn about the formats
that do not match the type hint.
2017-04-23 11:17:32 +02:00
20kdc
e2df5d661d
Ported/fixed move_and_slide to KinematicBody (3D+floor/ceiling args)
...
This version of the commit has the on_ceiling/on_wall fix without any
explaination of that code, since apparently it wasn't complicated enough.
As for the notes at the top of the function, they're still there.
move_and_slide is rather useful for character-controllers, etc.
It reduces the amount of boilerplate code.
Not having move_and_slide makes the APIs somewhat inconsistent.
(It might be nice to figure out a way to share the code between the two
move_and_slide implementations, but that's for someone who knows what
the policy is on shared code like that.)
2017-04-21 21:19:41 +01:00
Rémi Verschelde
99529fb80d
Move VERSION_MKSTRING logic to version.h
...
Fixes a bug where the VERSION_PATCH define is not yet in scope if
typedefs.h is included before version.h at compilation time.
(cherry picked from commit 3b687c5474
)
2017-04-20 12:14:34 +02:00
Rémi Verschelde
22b9c0207b
Merge pull request #8417 from neikeq/hello-there
...
External editor improvements and fixes
2017-04-20 02:20:04 +02:00
Rémi Verschelde
c88f56be64
Merge pull request #8376 from RayKoopa/fix_stylebox_expand_margin
...
Respect the expand margin for StyleBoxTextures again.
2017-04-20 02:10:55 +02:00
Paulb23
84bca4e72f
Added support for space indentation
2017-04-18 12:30:46 +01:00
Ignacio Etcheverry
4b8568006d
External editor improvements and fixes
...
Notable changes:
- Now ScriptLanguages have the option to override the global external editor setting.
If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used.
- Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`.
- `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from.
Fixes:
- Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor.
- Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit.
- `Script::get_member_line()` now returns -1 ("found nothing") by default.
2017-04-17 01:51:30 +02:00
gamemanj
0a4dde93d4
Apply is_ceiling/is_wall swap fix to 2D move_and_slide (minus explaination)
...
As it turns out, is_ceiling would be true when hitting a wall,
and is_wall would be true momentarily when hitting a ceiling.
This makes a tiny one-line change to fix that.
Without trying to explain the code for anyone else having to
mess around with it.
2017-04-15 10:24:36 +01:00
Andreas Haas
1a8f94edd4
Merge pull request #8370 from volzhs/fix-stylebox-master
...
Fix editor style box for ToolButton
2017-04-14 17:51:30 +02:00
Jylhis
8ccb9d13c3
Update PopupMenu hiding
...
Make PopupMenu hiding distinguish between checkable item and non checkable
item.
2017-04-14 15:00:38 +03:00
Andreas Haas
a96e795241
Merge pull request #8402 from neikeq/pr-fix-binds
...
PackedScene: Fix wrong DEFVAL
2017-04-14 03:14:01 +02:00
Ignacio Etcheverry
30835f9d37
PackedScene: Fix wrong DEFVAL
2017-04-14 02:18:38 +02:00
Ray Koopa
75f684bc17
Respect the expand margin for StyleBoTextures again.
2017-04-13 10:37:22 +02:00
volzhs
25a4daa5ce
Fix editor style box for ToolButton
2017-04-12 12:40:16 +09:00
Sergey Pusnei
8589ca3903
Rename [gs]et_pos to [gs]et_position for Controls
...
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
2017-04-10 08:27:34 +02:00
volzhs
706ca4efd6
Prevent to uncheck selected item with button group
2017-04-10 13:57:24 +09:00
Juan Linietsky
1c480698ce
-Fixed crash with splash screen on windows
...
-properly show editor without having to resize window on windows
2017-04-09 20:40:48 -03:00
Rémi Verschelde
d596946a45
Merge pull request #8271 from MattUV/master
...
Add methods to get and set bits of collision layers and masks for TileMaps (3.0)
2017-04-09 23:37:56 +02:00
Rémi Verschelde
769bec26a7
Merge pull request #8321 from RandomShaper/zero-preprocess-particles2d
...
Allow zero preprocess time for Particles2D
2017-04-09 17:44:40 +02:00
Juan Linietsky
4286aef693
Particle system is complete. Rejoice!
2017-04-08 22:40:06 -03:00
Andreas Haas
6075dfe511
Particles2D: Fix flip property (again).
...
should have flipped the dst_rect..
2017-04-09 01:42:39 +02:00
Pedro J. Estébanez
d0ef1acea4
Allow zero preprocess time for Particles2D
2017-04-08 20:04:06 +02:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Rémi Verschelde
b81d5f4687
Merge pull request #8308 from RandomShaper/optimize-out-debug-n-non-tools
...
Optimize-out some debug and/or non-tools methods
2017-04-07 22:22:54 +02:00
Rémi Verschelde
efba539f93
Fix build on older GCC versions
...
Travis builds would fail with:
./drivers/gles3/rasterizer_storage_gles3.h:1018:19: error: ISO C++ forbids initialization of member 'fixed_fps' [-fpermissive]
2017-04-07 19:24:37 +02:00
Rémi Verschelde
12b84eb9f4
Merge pull request #8304 from RandomShaper/reset-folded-on-reset-edit-children
...
Reset display folded for an instanced scene if editable children is toggled off
2017-04-07 19:12:42 +02:00
Rémi Verschelde
d8f011828e
Add compatibility class for FixedSpatialMaterial
...
Fixes loading existing 3.0-alpha projects broken by 74808ac4d9
.
2017-04-07 18:59:10 +02:00
Pedro J. Estébanez
665bf52948
Optimize-out some debug and/or non-tools methods
...
Collisions and nav debug are conditionally compiled depending on DEBUG_ENABLED
is_editor_hint() and is_node_being_edited() are compiled only with TOOLS_ENABLED
Every affected method is implemented in the header in case its macro is not present (the getters just returning false and the setters having an empty body) so the compiler can inline and finally no-op-out them as likely as possible.
is_node_being_edited() already showed a similar optimization effort and has been adapted to this change.
Furthermore, and as a consequence, -debugcol and -debugnav will not work on non-debug (strict release) builds.
This can bring a little bit of runtime performance on release and non-tooled builds (less code, so less cycles to spend and maybe more cache friendly).
2017-04-07 16:35:55 +02:00
Pedro J. Estébanez
4b85ddabda
Reset display folded for an instanced scene if editable children is toggled off
...
This avoids the display folded flag needlessly getting into the scene file (potentially forever) and also gives more visual feedback if the user re-enables editable children so it will display unfolded at first.
2017-04-07 15:48:07 +02:00
Juan Linietsky
74808ac4d9
New particle system, mostly working, some small features missing.
2017-04-06 23:49:27 -03:00
MattUV
6b5305b972
Add set/get_collision_layer/mask_bit() to TileMaps
...
Add four methods to the TileMap node to make collision layers and masks be modified bit by bit (like PhysicBody2Ds and RayCast2Ds:
* set_collision_layer_bit()
* set_collision_mask_bit()
* get_collision_layer_bit()
* get_collision_mask_bit()
To comply with collision layers' renaming from https://github.com/godotengine/godot/issues/5696 , the method names are NOT set/get_layer_mask_bit()
2017-04-06 23:27:55 +02:00
Rémi Verschelde
25d09b92be
Merge pull request #8296 from Hinsbart/normapmap
...
Fix typo in FixedSpatialMaterial
[ci skip]
2017-04-06 23:27:36 +02:00
Andreas Haas
362e52c2fd
Fix typo in FixedSpatialMaterial
...
NormapMap
2017-04-06 23:20:00 +02:00
Ferenc Arn
9a37ff1e34
Added various functions basic math classes. Also enabled math checks only for debug builds.
...
Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly.
Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions.
Various other changes mostly cosmetic in nature.
2017-04-06 13:03:56 -05:00
supaiku
d51fe99a8b
Fix highlight typo
2017-04-06 17:35:08 +02:00
Rémi Verschelde
5b5a825c7f
Fixer looping timer accumulation in _process
...
Follow-up to #8251 .
2017-04-05 08:22:41 +02:00
Rémi Verschelde
02f9851d0d
Merge pull request #8259 from bojidar-bg/move-slide-wall-fix
...
Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurable
2017-04-05 01:24:19 +02:00
Rémi Verschelde
2c4e4432af
Merge pull request #8214 from tagcup/bounce_reflect_slide
...
Made slide and reflect active verbs acting on itself in Vector2 and V…
2017-04-05 01:23:09 +02:00
Bojidar Marinov
289abd3710
Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurable
...
Fixes #7313
2017-04-04 18:32:27 +03:00
Rémi Verschelde
57badfd1df
Merge pull request #8251 from cynicaldevil/master
...
Previous value of time_left is added to wait_time before assigning to time_left
2017-04-04 00:22:44 +02:00
Rémi Verschelde
4d3ed11212
Merge pull request #8248 from Hinsbart/fix_notify_renames
...
Fix more property names in _change_notify calls.
2017-04-04 00:21:12 +02:00
Rémi Verschelde
41986b2092
Merge pull request #8244 from RandomShaper/improve-touch-button
...
Improve TouchScreenButton
2017-04-04 00:19:47 +02:00
Nikhil Shagrithaya
ea4fbee8f2
previous value of time_left is added to wait_time before assigning to time_left
2017-04-04 00:37:42 +05:30
Andreas Haas
0a287cfe4c
Fix more property names in _change_notify calls.
2017-04-03 18:35:15 +02:00
Ferenc Arn
1a620bd5fa
Made slide and reflect active verbs acting on itself in Vector2 and Vector3.
...
This is in alignment with other functions in vector classes.
Also added checks for normalization, fixed the sign of reflect (which now corresponds to reflection along a plane mathematically), added bounce method and updated docs.
Fixes #8201 .
2017-04-03 10:02:12 -05:00
Pedro J. Estébanez
6caa9fc94c
Improve TouchScreenButton
...
Fix shape not being updated
Add a way to hide the shape on editor and debug-with-visible-shapes
Remove useless checks
2017-04-03 14:42:46 +02:00
Rémi Verschelde
1bd3648bb0
Merge pull request #8211 from robertdhernandez/NinePatch-Fix
...
[3.0] Fixed NinePatchRect/StyleBoxTexture incorrectly drawing AtlasTexture
2017-04-03 14:41:53 +02:00
Rémi Verschelde
5b09dde3fe
Merge pull request #8146 from supagu/astar
...
Added ability to change A-star cost function
2017-04-03 13:52:59 +02:00
Rémi Verschelde
9f85befbfd
Merge pull request #8048 from ficoos/was_input_handled
...
Add the option to check if input was handled
2017-04-03 13:48:57 +02:00
Andreas Haas
b49d206a4c
Merge pull request #8219 from robertdhernandez/Node2D-Canvas-Sync
...
Node2D/Control variables now update with canvas changes
2017-04-03 00:33:40 +02:00
Andreas Haas
1d3c9c448d
Viewport: Fix undefined behaviour found by llvm sanitizer.
...
When godot was running as the project manager, it tried to call a method on a null pointer (get_tree()->get_edited_scene_root()).
This is undefined behaviour and caused a crash when compiled with sanitizing enabled.
2017-04-02 09:46:51 +02:00
Robert Hernandez
8078b5ecf6
Fixed Node2D/Control not updating properties
2017-04-01 20:13:52 -04:00
Fabian Mathews
b541402417
Added ability to change A-star cost function
2017-04-01 16:36:22 +10:30
Saggi Mizrahi
245ace6e2e
Add the option to check if input was handled
...
When working with a viewport you should call Viewport.input() to pass
the input, but if the input was unhandled you might also want to call
Viewport.unhandled_input() so that objects in the sub-scene can handle
the event. This adds a way to check if the input was handled so that you
know whether you should call Viewport.unhandled_input() or not.
Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
2017-03-31 17:56:32 +03:00
Robert Hernandez
7a428206fe
Fixed WindowDialog not aligning properly
2017-03-31 01:48:02 -04:00
Robert Hernandez
a4a12a2b7b
Fixed AtlasTexture being incorrectly
...
Fixed StyleBoxTexture and NinePatchRect drawing the entire texture of an
AtlasTexture.
2017-03-30 21:09:25 -04:00
Benjamin Dahse
93d6003aa8
Show 3D raycasts when debugging collisions
...
Represent a raycast by a line segment using the direction and magnitude of the cast_to vector.
The entire line segment will become red while a collision occurs.
2017-03-30 22:34:05 +02:00
Rémi Verschelde
d7dd276ccc
Merge pull request #8208 from Shin-NiL/master
...
Honor the Tween's final values
2017-03-30 13:09:17 +02:00
Shin-NiL
d8c396a44f
Honor the Tween's final values
2017-03-30 07:58:20 -03:00
Rémi Verschelde
c6ba3bf9d5
Merge pull request #8203 from RandomShaper/add-missing-bind
...
Add missing binding for DUPLICATE_USE_INSTANCING
2017-03-30 07:37:46 +02:00
Pedro J. Estébanez
c2165bb1a5
Add missing binding for DUPLICATE_USE_INSTANCING
2017-03-30 00:38:06 +02:00
Rémi Verschelde
397380e9e5
Merge pull request #8130 from volzhs/cache-font-master
...
Cache DynamicFont resource for Android
2017-03-24 22:52:36 +01:00
Rémi Verschelde
c25246d158
Merge pull request #8010 from AlexHolly/Timer-is_time_left
...
added Timer is_time_left()
2017-03-24 22:48:01 +01:00
Rémi Verschelde
debeee56f7
Fix typos in source code using codespell
...
From https://github.com/lucasdemarchi/codespell
2017-03-24 21:45:31 +01:00
volzhs
56af1a3790
Cache DynamicFont resource for Android
2017-03-24 16:18:35 +09:00
AlexHolly
636963b11d
is_active to is_paused
...
rm doc
2017-03-19 22:29:20 +01:00
Rémi Verschelde
14c01dfea7
Merge pull request #8037 from RandomShaper/remove-warning
...
Remove warning on owner re-assignment
2017-03-18 10:49:06 +01:00
Rémi Verschelde
e55b7fa7d0
Merge pull request #8030 from RandomShaper/fix-redundant-connections
...
Fix redundant connections saved in sub-inheritance
2017-03-18 10:45:29 +01:00
Rémi Verschelde
3cf4103a89
Merge pull request #8023 from CrazyGuy108/master
...
List Control::has_point as a virtual method
2017-03-18 10:36:55 +01:00
Rémi Verschelde
5b6900ed9b
Merge pull request #8014 from AlexHolly/fix-remove-and-skip
...
fix remove_and_skip()
2017-03-18 10:32:14 +01:00
Rémi Verschelde
3ceefab232
Merge pull request #8020 from karroffel/class-db-inconsistency
...
fixed ClassDB inconsistencies
2017-03-15 19:09:43 +01:00
Pedro J. Estébanez
e3b4b7fa98
Remove warning on owner re-assignment
2017-03-15 12:28:57 +01:00
Pedro J. Estébanez
3b36df3730
Fix redundant connections saved in sub-inheritance
2017-03-15 11:46:45 +01:00
CrazyGuy108
9589936d6e
List Control::has_point as a virtual method
...
According to Issue #8018 , a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h.
classes.xml was updated to also list this method in Control.
2017-03-14 19:08:13 -07:00
Karroffel
6ab3213a55
fixed ClassDB inconsistencies
...
fixes #7960
2017-03-13 21:17:31 +01:00
Rémi Verschelde
bde0c2e03e
Merge pull request #8019 from Hinsbart/dim_fix
...
WindowDialog: Fix crash when running as ProjectManager
2017-03-13 16:14:04 +01:00
Andreas Haas
a2776af672
WindowDialog: Fix crash when running as ProjectManager
...
Fixes a bug introduced in #7970
2017-03-13 16:05:18 +01:00
Rémi Verschelde
26c12ded24
Merge pull request #8011 from neikeq/pr-issue-6602-1
...
Fix connection errors when replacing node
2017-03-13 11:05:32 +01:00
Rémi Verschelde
e8ce94b092
Merge pull request #7988 from RandomShaper/fix-touch-button
...
Several fixes for TouchScreenButton
2017-03-13 11:02:47 +01:00
Rémi Verschelde
a45e6f67d5
Merge pull request #7981 from RandomShaper/position-for-2d-shaders
...
Map POSITION to gl_FragCoord.xy for 2D shaders
2017-03-13 11:01:14 +01:00
Rémi Verschelde
0f429f8f9e
Merge pull request #7979 from RandomShaper/fix-sub-inheritance
...
Fix node duplication in scene sub-inheritance
2017-03-13 11:00:58 +01:00
AlexHolly
3f78f1f17d
fix remove_and_skip()
2017-03-12 18:50:43 +01:00
Ignacio Etcheverry
d210ac66ef
Fix connection errors when replacing node
...
- Avoid connecting the signals to nonexistent methods
- Preserve only persistent connections
2017-03-11 20:21:04 +01:00
Pedro J. Estébanez
a0ecbb5ac0
Fixes for TouchScreenButton
...
- getting stuck on pause
- handling input when not visible
2017-03-10 14:10:29 +01:00
Pedro J. Estébanez
383dea5796
Fix node duplication in scene sub-inheritance
2017-03-09 01:19:40 +01:00
Pedro J. Estébanez
5ff0924a93
Map POSITION to gl_FragCoord.xy for 2D shaders
2017-03-08 02:07:59 +01:00
Andreas Haas
9080232f17
Editor: Dim UI when a WindowDialog is shown.
...
Darkens the editor on WindowDialog popup.
This adds the following new Editor settings:
- interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming
- interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1)
- interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant.
Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all
windows of the editor :P
2017-03-06 20:14:41 +01:00
Pedro J. Estébanez
640d8aa458
Fix VisibilityNotifier2D reapplication of viewport offset
2017-03-06 02:28:58 +01:00
Rémi Verschelde
5dbf1809c6
A Whole New World (clang-format edition)
...
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Rémi Verschelde
e1c1d7d1d7
Add a bunch of missing Godot headers in own files
2017-03-05 15:47:28 +01:00
Rémi Verschelde
49c065d29c
Refactoring: rename tools/editor/ to editor/
...
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
2017-03-05 14:21:25 +01:00
Rémi Verschelde
532f6d4b43
Merge pull request #7954 from Hinsbart/tilemap_self_modulate
...
TileMap: Respect self_modulate property
2017-03-05 12:05:16 +01:00
Rémi Verschelde
630158c992
Merge pull request #7916 from RebelliousX/tab_container
...
TabContainer's signal changes (v3)
2017-03-05 12:03:09 +01:00
Andreas Haas
962243f931
TileMap: Respect self_modulate property
...
Now `TileMap`s make use of the `self_modulate` property.
There's still a bug: The Editor doesn't re-draw with the new color when you change the TileMaps `self_modulate`
in the inspector. You'll have to make it update manually (by placing a tile, changing the transform, etc..)
I'll open an issue for that after this is merged (If I don't fix it in the meantime ^^).
2017-03-05 11:42:01 +01:00
Thaer Razeq
c9bda06dfd
- tab_changed
signal emits only by selecting a different tab.
...
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again.
- Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index.
- Add documentation for the added function and signals. Fix a typo too.
2017-03-05 02:47:09 -06:00
Rémi Verschelde
81a393a2b4
Merge pull request #7508 from lonesurvivor/area2d-fix
...
Fix two problems with Area2D and remove_child()
2017-03-04 17:19:04 +01:00
Rémi Verschelde
723f74c851
Merge pull request #7929 from RayKoopa/editor_resizable_dialogs
...
Resizable editor / project settings dialogs & save their bounds
2017-03-04 17:04:27 +01:00
Rémi Verschelde
51f1a56d20
Merge pull request #7927 from volzhs/wrong-ref-treeitem
...
Fix wrong TreeItem reference after reconstructing
2017-03-04 16:48:02 +01:00
Karol Walasek
29908d32ba
Added a SceneTree.has_network_peer, closes #7922
2017-03-04 11:35:44 +01:00
Ray Koopa
7623fd10bf
Make Editor, Export and Project settings dialogs resizable and store their bounds
2017-03-03 18:45:53 +01:00
volzhs
66b7586fb0
Fix wrong TreeItem reference after reconstructing
2017-03-03 04:01:04 +09:00
Ray Koopa
e07aa5deb8
Added functionality for resizable dialogs.
2017-03-01 23:40:10 +01:00
Rémi Verschelde
a1cbe8e22b
Merge pull request #7878 from RebelliousX/else
...
Bunch of missing `else` statements and general logic
2017-02-28 23:03:10 +01:00
Saracen
5e938f0001
Inf and NaN support added to GDScript.
2017-02-28 21:52:33 +00:00
Thaer Razeq
f50488a361
Various fixes detected using PVS-Studio static analyzer.
...
- Add FIXME tags comments to some unfixed potential bugs
- Remove some checks (always false: unsigned never < 0)
- Fix some if statements based on reviews.
- Bunch of missing `else` statements
2017-02-28 07:52:02 -06:00
Rémi Verschelde
0f8c6dd382
Merge pull request #7904 from tagcup/use_math_prng
...
Use the common PRNG in 2D particles code.
2017-02-28 08:17:02 +01:00
Ferenc Arn
67ef529113
Use the common PRNG in 2D particles code.
...
Replaces the custom PRNG used by 2D particles code with a wrapper for the PRNG located under core/math.
2017-02-27 15:36:17 -06:00
Ray Koopa
5cf063ca9d
Add disabled tabs
2017-02-27 19:07:50 +01:00
Ray Koopa
fc9077a213
Fix several drawing and logic issues in TabContainer
2017-02-27 15:47:47 +01:00
Rémi Verschelde
df365fdc3c
Merge pull request #6462 from RandomShaper/fix-improve-anim-blend
...
Fix/improve AnimationPlayer blending logic
2017-02-27 14:39:54 +01:00
Rémi Verschelde
5f31b3ce58
Merge pull request #7897 from RandomShaper/particles2d-process-mode
...
Add process mode option to Particles2D
2017-02-27 14:03:44 +01:00
Pedro J. Estébanez
5d094602b8
Add process mode option to Particles2D
2017-02-27 10:47:28 +01:00
Rémi Verschelde
3de1415b6a
Merge pull request #7653 from Dumbeldor/RichTextLabel_remove_line
...
RichTextLabel add function remove_line
2017-02-26 21:16:30 +01:00
Rémi Verschelde
7a9b08f785
Merge pull request #7889 from Hinsbart/fix_autoenable_input
...
Fix auto-enable of _input processing when _input() method is set.
2017-02-26 20:51:53 +01:00
Rémi Verschelde
c68f0c7961
Merge pull request #7887 from bojidar-bg/particles-emission-ended
...
Add emission_finished signal to Particles2D
2017-02-26 20:50:41 +01:00
Rémi Verschelde
4d6a3cf7fc
Merge pull request #7874 from volzhs/issue-7820-master
...
Fix crash when click icon while editing node name
2017-02-26 20:28:00 +01:00
Rémi Verschelde
3abd4c906d
Merge pull request #7869 from RandomShaper/fix-touchbutton-crash
...
Fix crash if TouchScreenButton is pressed while exiting the tree
2017-02-26 20:27:43 +01:00
Rémi Verschelde
e5cf1fe350
Merge pull request #7866 from Hinsbart/tween_fix
...
Fix undefined behavior found by static code analyzer.
2017-02-26 20:27:20 +01:00
Rémi Verschelde
8e0dbd1b8e
Merge pull request #7858 from bojidar-bg/tilemap-get-size
...
Add Rect2 TileMap::get_used_rect()
2017-02-26 20:24:56 +01:00
Rémi Verschelde
539b9e09e4
Merge pull request #7856 from RandomShaper/add-duplicate-flags
...
Add more options to Node.duplicate()
2017-02-26 20:24:17 +01:00
Rémi Verschelde
caa74b70e7
Merge pull request #7831 from volzhs/tr-buttonarray-3
...
Translate ButtonArray text
2017-02-26 20:15:33 +01:00
Andreas Haas
373e0099cf
Fix auto-enable of _input processing when _input() method is set.
...
Since f3f4a11c
processing of callbacks such as `_process`, `_fixed_process`, etc will be
automatically enabled when the corresponding method is found in the script.
However, for _input() this wasn't working.
That's simply because `_input` wasn't initialized in `SceneStringNames` ^^
2017-02-25 21:12:26 +01:00
Bojidar Marinov
0d6485d919
Add emission_finished signal to Particles2D
...
(Also remove some Particles2D::testee method, which was unused)
Resolves #3963
2017-02-25 16:06:00 +02:00
Bojidar Marinov
53921faa91
Complete the globals.h -> global_config.h conversion
2017-02-23 17:47:25 +02:00
volzhs
3ae0ffa182
Fix crash when click icon while editing node name
2017-02-23 02:20:46 +09:00
Pedro J. Estébanez
75c68f6512
Fix crash if TouchScreenButton is pressed while exiting the tree
...
(cherry picked from commit 5b8d5766f4
)
2017-02-22 01:37:22 +01:00
Andreas Haas
0157969ccc
Tween: Fix undefined behavior found by static code analyzer.
...
Adresses the issue mentioned in https://software.intel.com/en-us/articles/the-ultimate-question-of-programming-refactoring-and-everything
2017-02-22 00:56:40 +01:00
Juan Linietsky
de0045cf1b
-renamed globals.h to global_config.cpp (this seems to have caused a few modified files)
...
-.pck and .zip exporting redone, seems to be working..
2017-02-21 00:06:30 -03:00
Bojidar Marinov
136e1e18ba
Add Rect2 TileMap::get_used_rect(), closes #4390
2017-02-20 23:02:03 +02:00
Pedro J. Estébanez
4e22b6acd7
Add more options to Node.duplicate()
...
to decide whether signals, groups and/or scripts should be set in the copied nodes or not; it's default value makes the method include everything, as usual
2017-02-20 20:05:01 +01:00
Juan Linietsky
f6950956bd
Editor Export Settings Dialog is completed!! Now on to make some exporters..
2017-02-19 23:21:35 -03:00
volzhs
57ed6ef741
Translate ButtonArray text
2017-02-18 00:20:55 +09:00
Vincent
c20b186e73
RichTextLabel add function remove_line
2017-02-16 20:36:25 +01:00
Hein-Pieter van Braam
b696beea65
Correct hash behavior for floating point numbers
...
This fixes HashMap where a key or part of a key is a floating point
number. To fix this the following has been done:
* HashMap now takes an extra template argument Comparator. This class
gets used to compare keys. The default Comperator now works correctly
for common types and floating point numbets.
* Variant implements ::hash_compare() now. This function implements
nan-safe comparison for all types with components that contain floating
point numbers.
* Variant now has a VariantComparator which uses Variant::hash_compare()
safely compare floating point components of variant's types.
* The hash functions for floating point numbers will now normalize NaN
values so that all floating point numbers that are NaN hash to the same
value.
C++ module writers that want to use HashMap internally in their modules
can now also safeguard against this crash by defining their on
Comperator class that safely compares their types.
GDScript users, or writers of modules that don't use HashMap internally
in their modules don't need to do anything.
This fixes #7354 and fixes #6947 .
2017-02-16 18:44:29 +01:00
Juan Linietsky
903a3aa5f0
a ton of bug fixes to the renderer
2017-02-16 08:55:43 -03:00
Rémi Verschelde
3fadcac7c4
Merge pull request #7814 from Hinsbart/timer_pause
...
SceneTreeTimer: Ability to set pause mode
2017-02-16 08:52:19 +01:00
Juan Linietsky
da11d6d9e8
Many fixes to make exported scenes work better, still buggy.
2017-02-15 08:34:02 -03:00
Andreas Haas
4de29f9c7a
SceneTreeTimer: Ability to set pause mode
...
Adds an additional flag to SceneTree::create_timer() that tells it whether or not to process when the game is paused.
Defaults to false in order to not break existing functionality.
2017-02-15 08:02:08 +01:00
Andreas Haas
dd4c2709e4
Spinbox: don't ignore double clicks.
...
Fixes the problem with spinboxes not updating when clicking too fast.
2017-02-14 00:57:49 +01:00
Rémi Verschelde
ea7e8c8e86
Merge pull request #7795 from hpvb/rename-md-macro
...
Rename the _MD macro to D_METHOD
2017-02-13 15:46:17 +01:00
geequlim
4ebc30e303
Fix compile error with TextureButton
...
Export TextureButton::ResizeMode as its own enum values
2017-02-13 21:17:47 +08:00
Hein-Pieter van Braam
411ee71b4d
Rename the _MD macro to D_METHOD
...
This new name also makes its purpose a little clearer
This is a step towards fixing #56
2017-02-13 12:50:02 +01:00
Hein-Pieter van Braam
0f687f0ccb
Remove use of _SCS from ADD_METHOD
...
This saves typing and is a step towards fixing #56
2017-02-13 10:37:47 +01:00
Rémi Verschelde
70b9aa379d
Merge pull request #7581 from Faless/v6_wild_bind
...
TCP/UDP listen bind to address and bugfixes
2017-02-12 23:31:40 +01:00
Rémi Verschelde
117a83fcb9
Merge pull request #7352 from Zylann/polyline
...
Polyline
2017-02-12 23:30:04 +01:00
Rémi Verschelde
73cedc3901
Merge pull request #7775 from Hinsbart/particles_flip
...
Particles2D: implement texture flip parameters.
2017-02-12 23:25:34 +01:00
Rémi Verschelde
b2db9279fa
Merge pull request #7769 from GodotExplorer/pr-resizeable-texturebutton_3
...
Enhance TextureButton and TextureRect with resize
2017-02-12 23:22:41 +01:00
Rémi Verschelde
458bd83dfc
Merge pull request #7747 from sanikoyes/Pr-fix-tween-transform2d
...
Fix tween Transform2D typo
2017-02-12 23:18:38 +01:00
Rémi Verschelde
53b7bbfcce
Merge pull request #7722 from RandomShaper/improve-touch-button
...
Fix touch button issues
2017-02-12 23:12:18 +01:00
Rémi Verschelde
d791f5f06e
Merge pull request #7712 from kbake/deselect-selection-on-ctrl-home/end
...
Selected text is now deselected on ctrl+home/end
2017-02-12 23:09:34 +01:00
Rémi Verschelde
c51990ec9d
Merge pull request #7706 from RandomShaper/touch-button-shape-master
...
Add shape property to TouchScreenButton
2017-02-12 23:09:16 +01:00
Pedro J. Estébanez
49e7e2cd2a
Solve TouchScreenButtons issues
...
Fix touch button needing double tap after pause (applies to those not set to pass-by)
Fix error when a pressed TouchScreenButton with no associated action exits the tree
(with some refactoring of duplicate code)
2017-02-10 20:54:54 +01:00
Andreas Haas
6a2dccaf77
Particles2D: implement texture flip parameters.
2017-02-10 00:50:21 +01:00
geequlim
ab375117ba
Add STRETCH_KEEP_ASPECT_COVERED to TextureRect StretchMode
...
Make TextureButton to the same resize behavior with TextureRect
2017-02-09 22:52:52 +08:00
Juan Linietsky
07bbcf91f7
basic contact shadows implementation, will most likely need some polishing
2017-02-08 07:35:14 -03:00
sanikoyes
9123e91634
Fix tween Transform2D typo
2017-02-07 15:45:49 +08:00
Juan Linietsky
5cc63dee0f
ability to adjust propagation in gi probe
2017-02-06 05:12:15 -03:00
Juan Linietsky
6f2e16306a
Several bugfixes, improving the import workflow
2017-02-06 00:38:39 -03:00
kbake
1169f4e040
Selected text is now deselected on ctrl+home/end
...
This fixes Issue #7694 and also the error mentioned in the comments of that issue.
2017-02-03 02:01:41 -05:00
Juan Linietsky
a02933bb3c
wav file importing!
2017-02-02 22:51:58 -03:00
Pedro J. Estébanez
7b2fa207e9
Add shape property to TouchScreenButton
...
Adapted from 67a0da34a2
2017-02-02 12:16:14 +01:00
Pawel Kowal
b602096b9b
Fix #7011 ScrollContainer takes into account child's EXPAND flag when scrolling is enabled
...
(cherry picked from commit e9316a009e
)
2017-02-02 08:24:37 +01:00
Rémi Verschelde
39f11ffc51
Merge pull request #7666 from Paulb23/line_length_guideline
...
Fixed line lenght guideline, and added colour option
2017-02-02 08:12:46 +01:00
Juan Linietsky
2cd2ca7bbc
Lot of work in new importer, importing textures now works.
2017-02-01 09:46:36 -03:00
Paulb23
6b42cd5fe6
Fixed line lenght guideline drawing with color option
2017-01-28 14:36:57 +00:00
lonesurvivor
9cddaab4d1
When overlappinng Area2Ds are removed with remove_child(), _enter_tree and _exit_tree signals are now properly disconnected upon removal
2017-01-25 20:52:44 +01:00
Juan Linietsky
4c28f35b2c
Merge pull request #7002 from RandomShaper/vcs-friendliness
...
Greater VCS friendliness
2017-01-25 14:52:40 -03:00
Juan Linietsky
7e1afeafd4
Audio bus editing is COMPLETE!
2017-01-25 14:31:52 -03:00
Juan Linietsky
3b019bf644
Ability to delete, drag and drop audio buses!
2017-01-23 23:12:41 -03:00
Fabio Alessandrelli
88a56ba783
Remove set_ip_type from network classes (no longer needed)
...
- TCP:
- `listen` bind to wildcard "*" -> dual stack socket
- `listen` bind to address -> socket from address type
- `connect` -> resolve using best protocol (UNSPEC), socket from address type
- UDP:
- `listen` bind to wildcard "*" -> dual stack socket
- `listen` bind to address -> socket from address type
- `put_packet`/`put_var` -> resolve using TYPE_ANY (UNSPEC), socket from address type
(to change socket type you must first call `close` it)
2017-01-23 20:18:22 +01:00
Rémi Verschelde
a19a28288c
Merge pull request #7610 from Hinsbart/shape_warning
...
CollisionShape2D: Fix warning icon not updating.
2017-01-23 07:55:50 +01:00
Rémi Verschelde
5ec3b5f2c9
Merge pull request #7604 from RayKoopa/gui_button_style_pressed
...
Respect style boxes for Button states other than "normal"
2017-01-23 07:55:24 +01:00
Andreas Haas
16eee2f59b
CollisionShape2D: Fix warning icon not updating.
...
`CollisionPolygon2D` also had this problem.
2017-01-22 14:11:17 +01:00
Juan Linietsky
0aa7242624
WIP new AudioServer, with buses, effects, etc.
2017-01-21 19:01:00 -03:00
Ray Koopa
2baeb531e6
Respect style boxes for Button states other than "normal"
2017-01-21 23:00:59 +01:00
Juan Linietsky
ee0f53df52
Merge pull request #7528 from tagcup/real_t_float_fixes
...
Use real_t rather than float or double in generic functions (core/mat…
2017-01-20 19:24:49 -03:00
Rémi Verschelde
8e84e53ebb
Merge pull request #7574 from RayKoopa/canvas_item_fix_is_hidden
...
Fix Spatial::is_visible and editor calls to CanvasItem/Spatial::is_visible
2017-01-19 16:12:00 +01:00
Ferenc Arn
81d9fe44df
Use property convention introduced in b085c4 (_ rather than / as separator).
...
Fixes #7476 .
2017-01-18 18:56:27 -06:00
Ray Koopa
faa13adad3
Fix editor method calls to is_visible for Spatial and CanvasItem and is_visible itself for Spatial
2017-01-18 22:00:00 +01:00
Ferenc Arn
6f4f9aa6de
Overloaded basic math funcs (double and float variants). Use real_t rather than float or double in generic functions (core/math) whenever possible.
...
Also inlined some more math functions.
2017-01-16 13:36:33 -06:00
Pedro J. Estébanez
7dbb1c0571
Improve .tscn VCS
...
Serialize dictionaries adding newlines between key-value pairs
Serialize group lists also with newlines in between
Serialize string properties escaping only " and \ (needed for a good diff experience with built-in scripts and shaders)
Bonus:
Make AnimationPlayer serialize its blend times always sorted so their order is predictable in the .tscn file.
This PR is back-compat; won't break the load of existing files.
2017-01-16 18:03:51 +01:00
BastiaanOlij
3a02df7739
Working on compile issues for iOS
2017-01-16 23:14:13 +11:00
Rémi Verschelde
f44ee891be
Style: Fix statements ending with ';;'
2017-01-16 08:49:52 +01:00
Rémi Verschelde
40323407df
Style: No break before list brace
...
clang-format does not handle that well *at all*.
For the reference, found the relevant pieces of code with:
`ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
2017-01-16 08:48:24 +01:00
Rémi Verschelde
3890256fc5
Style: Cleanups, added headers, renamed files
...
Made sure files in core/ and tools/ have a proper Godot license header
when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h}
to rect3.{cpp,h} and class_db.{cpp,h} respectively.
Also added a proper header to core/io/base64.{c,h} after clarifying
the licensing with the original author (public domain).
2017-01-16 08:04:23 +01:00
Juan Linietsky
b400c69cd4
Oops! Audio engine has vanished :D
2017-01-15 16:07:51 -03:00
Rémi Verschelde
e0faf8a51b
Style: Cosmetic fixes to play nice with clang-format
2017-01-15 16:42:17 +01:00
Juan Linietsky
5dde810aa5
no more errors related to missing GlobalConfig::Get (or so I hope)
2017-01-14 21:57:22 -03:00
Marc Gilleron
e2fba10b95
Added Line2D node that draws a polygon-based line
...
It supports unlimited width, color gradient, texture and some geometry
options for joints and caps. Also transparency without artifacts
(provided that line joints aren't too sharp).
2017-01-15 00:44:46 +01:00
Juan Linietsky
94609305a0
Merge pull request #6519 from RandomShaper/enhance-tileset
...
Add modulate (color) to TileSet tiles
2017-01-14 16:52:16 -03:00
Juan Linietsky
dcb95ec147
removed duplicated functions in class hierarchy that were bound more than once
...
added a check to detect this case in the future
2017-01-14 11:10:42 -03:00
Rémi Verschelde
93ab45b6b5
Style: Fix whole-line commented code
...
They do not play well with clang-format which aligns the `//` part
with the rest of the code block, thus producing badly indented commented code.
2017-01-14 14:52:23 +01:00
Juan Linietsky
d093cc8bf8
Renamed call_group to call_group_flags, made call_group without flags the default
2017-01-14 10:03:53 -03:00
Rémi Verschelde
7b9f2d9929
Finish renaming *Frame GUI classes to *Rect
...
ReferenceFrame had been overlooked, and the cpp files still used the old
names. Also ripgrep'ed it all to find some forgotten references.
2017-01-14 10:52:54 +01:00
Juan Linietsky
d9d77291bc
rename String.extension() -> String.get_extension() / String.basename() -> String.get_basename()
2017-01-14 00:51:09 -03:00
Juan Linietsky
f3b6177ece
rename monitoring functions
2017-01-13 20:03:51 -03:00
Juan Linietsky
6e88b1096a
Vector2.get_aspect() renamed to Vector2.aspect() to keep consistent method naming
2017-01-13 20:00:43 -03:00
Juan Linietsky
00ec16e3f3
renamed tween animationplayer scale functions to speed_scale
2017-01-13 19:36:04 -03:00
Rémi Verschelde
b191ea8f02
Node name casing: fix mistake from previous commit
2017-01-13 22:43:39 +01:00
Rémi Verschelde
f19fd7a4c1
Reenable node name case setting + code cleanups
...
The method _generate_serial_child_name is indeed called relatively often
in editor mode, but that commented out code chunk hardly adds to its
slowness (and with the default setting, not at all).
Also did various related code cleanups and simplifications.
2017-01-13 22:38:43 +01:00
Rémi Verschelde
f392b340ff
Tween: Rename times_in_sec (sic) param to duration
2017-01-13 19:40:18 +01:00
Juan Linietsky
de8cc309d6
Renamed button functions to be more verboes, same with Range unit value -> ratio
2017-01-13 14:08:30 -03:00
Juan Linietsky
e53c247cb1
Created new Engine singleton, and moved engine related OS functions to it.
2017-01-13 12:51:14 -03:00
Juan Linietsky
0ad9939603
Rename collision layer as suggested in #5696
2017-01-13 11:01:19 -03:00
Juan Linietsky
04c749a1f0
New API for visibility in both CanvasItem and Spatial
...
visible (property) - access set_visible(bool) is_visible()
is_visible_in_tree() - true when visible and parents visible
show() hide() - for convenience
2017-01-13 10:45:50 -03:00
Juan Linietsky
a2903fc51d
Must now register with set_transform_notify() to get NOTIFICATION_TRANSFORM_CHANGED
2017-01-12 20:35:46 -03:00
Juan Linietsky
da477b76a9
some class renames
...
TextureFrame -> TextureRect
Patch9Frame -> NinePatchRect
ColorFrame -> ColorRect
2017-01-12 18:28:12 -03:00
Ray Koopa
a971186c26
Project setting to control node name casing
...
(cherry picked from commit 87fd54b2f1
)
2017-01-12 20:47:25 +01:00
Juan Linietsky
35b404ba08
Unify naming of blendshape / morphtarget into just "Blend Shape"
2017-01-12 08:34:00 -03:00
Juan Linietsky
5afaf84ae1
Added a list of signals to rename, this should become a header eventually
2017-01-12 00:54:21 -03:00
Juan Linietsky
83cb84753f
Renamed most signals so they refer to:
...
-An action being requested to the user in present tense: (ie, draw, gui_input, etc)
-A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
2017-01-12 00:51:08 -03:00
Juan Linietsky
f698e2be4f
Proper inheritance checking when requesting theem resources
2017-01-11 18:29:59 -03:00
Juan Linietsky
b7d69c2444
Added a BACK notification besides QUIT, so they go in separate channels.
2017-01-11 16:42:31 -03:00
Juan Linietsky
bc26f90581
Type renames:
...
Matrix32 -> Transform2D
Matrix3 -> Basis
AABB -> Rect3
RawArray -> PoolByteArray
IntArray -> PoolIntArray
FloatArray -> PoolFloatArray
Vector2Array -> PoolVector2Array
Vector3Array -> PoolVector3Array
ColorArray -> PoolColorArray
2017-01-11 00:52:51 -03:00
Juan Linietsky
710692278d
Merge pull request #7426 from m4nu3lf/bugfix/physics
...
Fixed inertia tensor computation and center of mass
2017-01-10 22:27:32 -03:00
Juan Linietsky
0acd4fccd5
Merge pull request #7438 from tagcup/matrix3_rotate_fix
...
Fix the order in which additional transformations are applied
2017-01-10 22:22:56 -03:00
Juan Linietsky
4338c90163
It is now possible to name layers of different kinds!
2017-01-10 22:20:57 -03:00
Juan Linietsky
f3f4a11cfb
- _ready() callback only happens once now, if you want to receive it again, use request_ready()
...
- C++ Nodes mostly do an internal process callback, so it does not conflict with users willing to use their own process callbacks
- callbacks such as _input, _process, _fixed_process _unhandled_input, _unhandled_key_input do not requiere calling a function to enable them. They are enabled automatically if found on the script.
2017-01-10 18:04:33 -03:00
Rémi Verschelde
0507f87de9
Merge pull request #7491 from BastiaanOlij/tools-no-fixes
...
Few small fixes so tools=no and target=release compiles
2017-01-10 15:31:03 +01:00
Rémi Verschelde
b7915b3ea2
Merge pull request #7482 from volzhs/modulate-color
...
Fix modulate property bind to Color
2017-01-10 15:30:28 +01:00
BastiaanOlij
bf990b0822
Few small fixes so tools=no and target=release compiles
2017-01-10 21:42:14 +11:00
Juan Linietsky
48097f6df3
Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a container!
2017-01-10 01:49:55 -03:00
Juan Linietsky
a503f8aadc
Groundbreaking!! Godot resources can now be flagged to be local to the scene being edited!
...
This means that each time this scene is instanced, the resource will be unique!
As such, thanks to this, the following features were implemented:
-ButtonGroup is no longer a control, it's now a resource local to the scene
-ViewportTexture can be created from the editor and set to any object, making ViewportSprite and other kind of nodes obsolete!
2017-01-10 01:07:03 -03:00
Juan Linietsky
1f8451001d
-Translation text will change automatically for in-game buttons, labels, poups when translation is changed.
...
-Added a NOTIFICATION_TRANSLATION_CHANGED for controls that need custom code
-Sorry, editor will not update automatically because it uses a different translatio method.
2017-01-09 16:43:44 -03:00
Juan Linietsky
e9bb65db81
-All types have editable script now in properties
...
-Changed clip to a property in Control which can be set by the user
2017-01-09 15:50:59 -03:00
volzhs
b8ea0ba984
Fix modulate property bind to Color
2017-01-09 21:53:20 +09:00
Juan Linietsky
a168cd7a23
Add clamp and wrap loop modes for animation tracks.
2017-01-09 00:41:16 -03:00
m4nu3lf
2e38b32e0f
Fixed inertia tensor computation and center of mass
2017-01-09 00:13:54 +00:00
Juan Linietsky
13cdccf23b
Variant INT and REAL are now 64 bits (other types remain at 32)
2017-01-08 20:58:39 -03:00
Juan Linietsky
94ee7798ce
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
2017-01-08 19:54:19 -03:00
Juan Linietsky
4fd464a4c5
Removed ratio anchoring (will have to fix multiple 3D views later..)
2017-01-08 19:12:24 -03:00
Juan Linietsky
de73297883
Swapped expand and fill flag bits, so scenes don't save this property by default
2017-01-08 19:12:24 -03:00
Juan Linietsky
fa170cbc58
PopupMenu now emits both index_pressed and id_pressed instead of item_pressed, closes #3188
2017-01-08 18:18:54 -03:00
Juan Linietsky
1b0930c435
Renamed finished to animation_finished, also passes the animation name when finished
2017-01-08 17:41:32 -03:00
Juan Linietsky
a464afb4e7
Removed the "released" signal from button, it's pointless now that button_down and button_up exist.
2017-01-08 17:27:48 -03:00
Juan Linietsky
547a57777b
renamed joystick to joypad everywhere around source code!
2017-01-08 17:06:33 -03:00
Juan Linietsky
920947f297
renamed _input_event for GUI events to _gui_input, so it's more differentiated than generalized _input
2017-01-08 16:28:12 -03:00
Ferenc Arn
6b1252cdfa
Fix the order in which additional transformations are applied in Matrix3 and Transform.
...
This is a part of the breaking changes proposed in PR #6865 , solving the issue regarding the order of affine transformations described in #2565 . This PR also fixes the affected code within Godot codebase. Includes improvements to documentation too.
Another change is, Matrix3::get_scale() will now return negative scaling when the determinant of the matrix is negative. The rationale behind this is simple: when performing a polar decomposition on a basis matrix M = R.S, we have to ensure that the determinant of R is +1, such that it is a proper rotation matrix (with no reflections) which can be represented by Euler angles or a quaternion.
Also replaced the few instances of float with real_t in Matrix3 and Transform.
Furthermore, this PR fixes an issue introduced due to the API breakage in #6865 . Namely Matrix3::get_euler() now only works with proper rotation matrices. As a result, the code that wants to get the rotation portion of a transform needs to use Matrix3::get_rotation() introduced in this commit, which complements Matrix3::get_scaled(), providing both parts of the polar decomposition.
Finally, it is now possible to construct a rotation matrix from Euler angles using the new constructor Matrix3::Matrix3(const Vector3 &p_euler).
2017-01-08 10:36:14 -06:00
Juan Linietsky
8ecc34bfae
removed unnecesary modulate funtions, which were superseded by self_modulate
2017-01-08 12:31:14 -03:00
Juan Linietsky
8963ca3d17
Fix code completion for new getnode syntax
2017-01-08 03:01:52 -03:00
Juan Linietsky
2ab83e1abb
Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector
2017-01-07 18:26:38 -03:00
Juan Linietsky
99ceddd11e
Editor settings categories are now tidy and beautiful!
2017-01-05 19:41:36 -03:00
Juan Linietsky
495d059a74
Merge branch 'master' of https://github.com/godotengine/godot
2017-01-05 09:18:03 -03:00
Juan Linietsky
0f7af4ea51
-Changed most project settings in the engine, so they have major and minor categories.
...
-Changed SectionedPropertyEditor to support this
-Renamed Globals singleton to GlobalConfig, makes more sense.
-Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-05 09:16:00 -03:00
Juan Linietsky
d8e54b1e26
Merge pull request #7431 from MarianoGnu/gles3
...
Fix Color Picker
2017-01-04 20:28:28 -03:00
Juan Linietsky
76c2e8583e
Merge branch 'master' of https://github.com/godotengine/godot
2017-01-04 01:17:41 -03:00
Juan Linietsky
b085c40edf
-Conversion of most properties to a simpler syntax, easier to use by script
...
-Modified help to display properties
GDScript can still not make use of them, though.
2017-01-04 01:16:14 -03:00
Ferenc Arn
bd7ba0b664
Use right handed coordinate system for rotation matrices and quaternions. Also fixes Euler angles (XYZ convention, which is used as default by Blender).
...
Furthermore, functions which expect a rotation matrix will now give an error simply, rather than trying to orthonormalize such matrices. The documentation for such functions has be updated accordingly.
This commit breaks code using 3D rotations, and is a part of the breaking changes in 2.1 -> 3.0 transition. The code affected within Godot code base is fixed in this commit.
2017-01-03 17:41:04 -06:00
Juan Linietsky
3fae505128
Begin modifying properties to make them more friendly to script and doc.
2017-01-03 00:38:16 -03:00
Juan Linietsky
118eed485e
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
...
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00
Juan Linietsky
ce26eb74bc
Merge branch 'master' of https://github.com/godotengine/godot
2017-01-02 19:12:25 -03:00
Rémi Verschelde
3f3f5a5359
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
...
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde
c9366f8b56
Merge pull request #7410 from nounoursheureux/master
...
Add the 'finished' signal to AnimatedSprite
2017-01-02 15:54:58 +01:00
Rémi Verschelde
b530904038
Merge pull request #7341 from bruno-ortiz/master
...
Bugfixes for Tree node
2017-01-02 15:53:43 +01:00
Rémi Verschelde
0b2771bd65
Merge pull request #7271 from Faless/ipv6_cleanup
...
Fixes and improvementes for IPv6 implementation.
2017-01-02 15:51:45 +01:00
Rémi Verschelde
6428ebd91f
Merge pull request #7406 from neikeq/pr-issue-5076
...
TileMap: _update_dirty_quadrants() cancel pending update pre return
2017-01-02 15:11:23 +01:00
Rémi Verschelde
f50afe81d8
Merge pull request #7385 from bojidar-bg/tree-range-drag-lock
...
Fix #7098 by not accepting right clicks while dragging the range
2017-01-02 14:38:25 +01:00
Bruno Ortiz
4b9a96859b
Making deselect work for TreeItem when select_mode is SELECT_SINGLE and item_selected is now properly emitted
2017-01-02 11:26:37 -02:00
Rémi Verschelde
3e1b5ad223
Merge pull request #7382 from volzhs/fix-visibility
...
Able to change visibility when ancestor node is hidden
2017-01-02 14:17:42 +01:00
Rémi Verschelde
1a2a57e2ee
Merge pull request #7376 from volzhs/scroll-horizontal
...
Scroll horizontally with mouse wheel when horizontal enabled only
2017-01-02 13:52:31 +01:00
Rémi Verschelde
2e87232f0a
Merge pull request #7391 from ktksgit/master
...
Update DebugMesh when NavMesh changes
2017-01-02 13:50:10 +01:00
Rémi Verschelde
0cf34cb3af
Merge pull request #7372 from chanon/master
...
Fix ColorPicker not correctly updating after pasting hex html color
2017-01-02 13:48:03 +01:00
Rémi Verschelde
17bb7e1c7e
Merge pull request #7363 from Elinvention/bone_attachment
...
Expose set_bone_name and get_bone_name to GDscript
2017-01-02 13:43:13 +01:00
Wilhem Barbier
f6262fde11
Add the 'finished' signal to AnimatedSprite
2017-01-02 12:24:37 +01:00
Juan Linietsky
741e038671
Add a metallic mode
2017-01-02 00:01:55 -03:00
Juan Linietsky
c2a217c350
WIP particle system
...
Ability to enable and change MSAA settings
Ability to change VCT quality
Ability to enable/disable HDR rendering
2017-01-01 22:16:52 -03:00
Rémi Verschelde
c7bc44d5ad
Welcome in 2017, dear changelog reader!
...
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
2017-01-01 22:03:33 +01:00
Ignacio Etcheverry
5b3acd287d
TileMap: _update_dirty_quadrants() cancel pending update pre return
2017-01-01 21:08:12 +01:00
Juan Linietsky
a62c99c4e4
Some fixes and clean ups
2016-12-31 10:53:29 -03:00
reduz
f4a56e7782
begin work on new particle system
2016-12-30 08:35:54 -03:00
ktksgit
2807507325
Update DebugMesh when NavMesh changes
...
Fixes #7371
2016-12-29 12:16:36 +01:00
Bojidar Marinov
d40eb1565e
Fix #7098 by not accepting right clicks while dragging the range
2016-12-28 23:20:54 +02:00
volzhs
f33e21e7af
Show visual notice for visibility on Scene Dock
2016-12-28 22:12:08 +09:00
volzhs
792ff11642
Able to change visibility when ancestor node is hidden
2016-12-28 14:27:27 +09:00
volzhs
22b76511fb
Scroll horizontally with mouse wheel when horizontal enabled only
2016-12-27 16:32:22 +09:00
chanon
0bf5d86546
fix ColorPicker not correctly updating after pasting hex html color
2016-12-26 15:38:48 +07:00
reduz
0d4abf2aa3
fixed a horrible bug on Windows AMD, scenes saved until now in this branch
...
are no longer valid :(
2016-12-24 16:23:30 -03:00
Elia Argentieri
b96e2e1126
Expose set_bone_name and get_bone_name to GDscript
2016-12-24 15:27:08 +01:00
Rémi Verschelde
0f76c47be3
Merge pull request #7349 from volzhs/fix-richtextlabel
...
Fix duplicated string on RichTextLabel if starts with '\n'
2016-12-23 16:00:21 +01:00
Rémi Verschelde
2b847d2a2e
Merge pull request #7330 from darkfoxprime/#7326-fix-whole-word-search
...
Fix search to find "whole" words at end of line
2016-12-23 15:52:21 +01:00
Rémi Verschelde
6d6ec54093
Merge pull request #7311 from bojidar-bg/quad-leak
...
Fix a Quad node mesh data leak
2016-12-23 15:45:57 +01:00
Ivan P. Skodje
da950cd0f2
PopupMenu upgrade: Hide on item selection ( #7306 )
...
* Added the option to set hide on item selection. Usable in GDScript and from within the source code when you want to specify popup menus you don't want to close immediately when selecting an item
* Renamed getter from get_ to is_, fixed parent/child behavior, renamed bool variable to match most code and added ADD_PROPERTYNO to save some memory
2016-12-23 15:43:45 +01:00
Juan Linietsky
3adb42e217
Fixed many more bugs reported by Valgrind
2016-12-23 08:47:16 -03:00
Juan Linietsky
4e729f38e0
baking now shows a proper button, and bakes can be saved.
2016-12-23 00:37:38 -03:00
Juan Linietsky
f9603d8236
can bake for omni and spotlight
...
store normal when baking
2016-12-22 10:00:15 -03:00
volzhs
0ecc968c5c
Fix duplicated string on RichTextLabel if starts with '\n'
...
Fix #6212 , #3773
2016-12-22 08:52:57 +09:00
Juan Linietsky
075fde7f26
work in progress global illumination
2016-12-20 00:21:07 -03:00
Ignacio Etcheverry
ce41464fc0
Register SpatialGizmo as a scene type
2016-12-18 20:02:35 +01:00
Johnson Earls
d1cf29fe99
Fix search to find "whole" words at end of line
...
Fix `_get_column_pos_of_word` so that the `SEARCH_WHOLE_WORDS` flag will properly find words that are at the end of a line.
Fixes #7326 .
2016-12-18 06:19:22 -08:00
Bojidar Marinov
7504a015aa
Fix #7303 , Quad node mesh data leak
2016-12-16 14:50:46 +02:00
Fabio Alessandrelli
d194e1c48e
Expose HTTP classes' set_ip_type to scripting
2016-12-13 11:09:37 +01:00
Rémi Verschelde
afbe013ba1
Merge pull request #7283 from Hinsbart/clear_curve
...
Curve2D/3D: Add clear_points method.
2016-12-13 08:44:40 +01:00
Ignacio Etcheverry
d579d0a814
KinematicBody: Fix wrong method bind return type
2016-12-10 16:23:47 +01:00
Juan Linietsky
22a90e8f2a
DOF blur, near and far fields..
2016-12-10 01:13:20 -03:00
Fabio Alessandrelli
a77a0118f6
Allow setting ip_type for TCP/UDP and HTTP classes
2016-12-09 18:24:59 +01:00
Juan Linietsky
18ebd22000
Multi stage glow with light bleeding from HDR
2016-12-08 09:48:38 -03:00
Juan Linietsky
8534ced22d
Tonemapping and Auto Exposure support
2016-12-07 17:49:52 -03:00
Juan Linietsky
a299c3ebf1
Support for SSAO
2016-12-04 12:45:30 -03:00
Andreas Haas
e741da869a
Curve2D/3D: Add clear_points method.
...
Adds a method to the Curve2D and Curve3D classes to easily clear the curve.
So you don't have to remove each point manually.
2016-12-03 21:35:59 +01:00
Andreas Haas
4dd6bead1f
Particles2D: Fix initial size randomness property having no effect.
...
It was just a little typo :p
2016-12-03 20:16:03 +01:00
Juan Linietsky
27a46d78ec
Subsurface scattering material param is now working!
2016-12-02 22:23:16 -03:00
Pedro J. Estébanez
86789c7071
Add modulate (color) to TileSet tiles
2016-11-30 14:33:39 +01:00
Rémi Verschelde
440c37fbd9
Revert "Do not emit NOTIFICATION_READY more than once (breaking change)"
...
This reverts commit b6eab006db
.
This commit broke compatibility in an undesired way, as outlined in
https://github.com/godotengine/godot/issues/3290#issuecomment-263388003
2016-11-30 00:08:01 +01:00
Juan Linietsky
a47c78aed1
Screen space reflection effect
2016-11-29 19:55:12 -03:00
Rémi Verschelde
8e4f10a3a1
Merge pull request #7200 from volzhs/fix-anim-scroll
...
Fix scroll bar moving in AnimationPlayer editor
2016-11-28 15:32:27 +01:00
Rémi Verschelde
bb1201af1f
Merge pull request #7198 from volzhs/fix-color-picker
...
Fix color selected with mouse scroll
2016-11-28 15:32:06 +01:00
Rémi Verschelde
895b29978b
Merge pull request #7184 from volzhs/spinbox
...
Prevent Spinbox value update while not focused or disabled
2016-11-28 15:28:55 +01:00
Rémi Verschelde
2cf4c5e173
Merge pull request #7170 from Ovnuniarchos/TileMapBlendMode
...
TileMap now honors blending mode.
2016-11-28 15:21:35 +01:00
Rémi Verschelde
39fede4b17
Merge pull request #7157 from leezh/buttonarray_fixes
...
Flat button support in ButtonArray. Fixes #7153
2016-11-28 15:20:07 +01:00
Rémi Verschelde
35e754db59
Merge pull request #7138 from bojidar-bg/ready_guard
...
Do not enter _ready twice
2016-11-28 15:19:50 +01:00
volzhs
babc5048dd
Fix scroll bar moving in AnimationPlayer editor
...
Fix #7196
2016-11-28 02:41:47 +09:00
volzhs
d9048309e4
Fix color selected with mouse scroll
...
Fix #7192
2016-11-28 01:58:01 +09:00
Juan Linietsky
a732708b9d
Blend shapes using transform feedback (GPU)
2016-11-24 20:46:55 -03:00
Ovnuniarchos
e07dd9ab32
TileMap now honors blending mode.
2016-11-24 21:28:10 +01:00
volzhs
4df33cbcb3
Prevent Spinbox value update while not focused or disabled
2016-11-25 03:15:42 +09:00
Juan Linietsky
943d27f46d
Instancing is working! (hooray)
2016-11-22 01:26:56 -03:00
Rémi Verschelde
9e2d09f580
Merge pull request #7145 from avril-gh/fixes-6464-lost-icons
...
fixes #6464 lost icons in dock and file dialog, also #6443 , #6302
2016-11-21 12:01:23 +01:00
Rémi Verschelde
e3c09ed90d
Merge pull request #7124 from volzhs/select_match
...
Select exactly matched file automatically in FileDialog
2016-11-21 11:54:33 +01:00
Juan Linietsky
a2505542ff
Huge amount of improvement in the material system. Materials should be
...
a lot more complete and usable now.
2016-11-20 22:49:53 -03:00
Juan Linietsky
c39d2b3f42
working reflection probes!!
2016-11-19 13:23:37 -03:00
Zher Huei Lee
191fdc873e
Reused Button styleboxes for ButtonArray
...
Plus other tweaks to make it look more similar to a VBoxContainer of
Buttons.
2016-11-19 22:07:12 +08:00
Zher Huei Lee
4b7443aeea
Flat button support in ButtonArray. Fixes #7153
2016-11-19 21:48:39 +08:00
Ariel Manzur
b3616089fa
adding get_stored_values method
...
changed order name
(cherry picked from commit dbca4ee3fe
)
2016-11-18 21:55:21 +01:00
Avril
958dbc1173
fixes #6464 lost icons in dock and file dialog, also #6443 , #6302
...
Fixes lost icons in docks, file manager, sample library, settings and
various other places.
2016-11-18 06:13:36 +01:00
Bojidar Marinov
b6eab006db
Do not emit NOTIFICATION_READY more than once (breaking change)
...
Currently, there is no notification with the old behaviour, so probably breaks all cpp code relying on that notification as well.
2016-11-17 18:46:45 +02:00
Bojidar Marinov
184173a9b9
Guard agains duplicate calling of _ready when instanced in _enter_tree
...
Fixes #6005
2016-11-17 18:10:53 +02:00
volzhs
ff4f04e878
Select exactly matched file automatically in FileDialog
2016-11-17 03:39:30 +09:00
Rémi Verschelde
77f5b683c4
Merge pull request #7112 from khairul169/hidehttpreqdebug
...
Disable debug properties of HTTP Request
2016-11-15 08:17:04 +01:00
George Marques
e167c664c8
Merge pull request #7109 from volzhs/emit-signal-from-set
...
Emit "*_changed" signal in set_*
2016-11-14 13:46:28 -02:00
Rémi Verschelde
715ab48a54
Merge pull request #7107 from eska014/wasm
...
Some WebAssembly stuff
2016-11-14 08:26:24 +01:00
khairul169
6a7aebdf6c
Uncomment debug properties of HTTP Request
2016-11-14 09:27:10 +07:00
volzhs
384625aa31
Emit "*_changed" signal in set_*
2016-11-14 04:21:29 +09:00
eska
31f929caa2
Clarify a NULL comparison
...
'TreeItem::get_children()' does not return the child count, but rather
a pointer to the children.
This comparison caused an error during WebAssembly builds using the
LLVM backend path.
2016-11-13 15:27:17 +01:00
Juan Linietsky
a7078a4be9
Done with lights and shadows (wonder if i'm missing something..)
2016-11-11 12:27:52 -03:00
Rémi Verschelde
34f0ce1168
Merge pull request #6833 from Elinvention/master
...
Make the step property useful for sliders
2016-11-11 10:46:17 +01:00
Juan Linietsky
cacf9ebb7f
all light types and shadows are working, pending a lot of clean-up
2016-11-09 23:55:06 -03:00
Rémi Verschelde
7d1230a266
Merge pull request #7052 from Paulb23/text_edit_color_uniformation
...
Made background and symbol color follow the color API
2016-11-09 15:47:15 +01:00
volzhs
c0e87f2a24
Fix Label valign position
...
Fix #7055
2016-11-07 20:15:21 +09:00
Paulb23
7b036a94bf
Caret blink will no longer cause redraw without focus, issue 6167
2016-11-06 14:15:59 +00:00
Paulb23
0e2c15e91a
Made background and symbol color follow the color API
2016-11-06 13:50:23 +00:00
Rémi Verschelde
c099b32b6c
Merge pull request #7036 from volzhs/spinbox-prefix
...
Fix updating value of SpinBox with prefix
2016-11-06 12:07:54 +01:00
Rémi Verschelde
20a33e809e
Merge pull request #7009 from volzhs/fix-double-click
...
Fix to focus or rename node by double click
2016-11-06 12:02:51 +01:00
Ignacio Etcheverry
d76f622c92
Merge pull request #7022 from neikeq/pr-issue-7013
...
Keep groups when replacing nodes
2016-11-06 02:00:21 +01:00
volzhs
80b6507071
Fix updating value of SpinBox with prefix
2016-11-05 02:34:19 +09:00
ScotFlux
8639d6e806
fix a tiny typo
2016-11-04 01:50:21 +06:00
Ignacio Etcheverry
305956bf70
Keep groups when replacing nodes
2016-11-03 00:19:32 +01:00
Rémi Verschelde
cc54189911
Merge pull request #7000 from m4nu3lf/master
...
Fixed Mix nodes in Animation Tree Player
2016-11-02 22:12:47 +01:00
Rémi Verschelde
6abe49f88d
Merge pull request #7004 from volzhs/fix-itemlist
...
Fix to fit stylebox with ItemList
2016-11-02 22:10:30 +01:00
volzhs
fd9aebd4fa
Fix to focus or rename node by double click
2016-11-01 22:26:29 +09:00
Rémi Verschelde
f34151ff0f
style: Various other PEP8 fixes in Python files
...
Done with `autopep8 --select=E7`, fixes:
- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-01 00:35:16 +01:00
Rémi Verschelde
817dd7ccbb
style: Fix PEP8 blank lines issues in Python files
...
Done with `autopep8 --select=E3,W3`, fixes:
- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
d4c17700aa
style: Fix PEP8 whitespace issues in Python files
...
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-01 00:35:16 +01:00
Rémi Verschelde
97c8508f5e
style: Start applying PEP8 to Python files, indentation issues
...
Done with `autopep8 --select=E1`, fixes:
- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
2016-11-01 00:33:51 +01:00
volzhs
4c9b00b508
Fix to fit stylebox with ItemList
2016-11-01 07:45:37 +09:00
m4nu3lf
40ba6d328b
Fixed Mix nodes in Animation Tree Player
2016-10-31 19:31:37 +00:00
volzhs
8d5644c4b2
Fix Accept/ConfirmationDialog UI broken
2016-10-31 03:42:30 +09:00
volzhs
3f15a65307
Revert "Place child control under label in AcceptDialog."
...
This reverts commit 3ef2722904
.
2016-10-31 03:40:52 +09:00
Rémi Verschelde
0aebddafc1
Revert "make Container
node aware of Size Flags
"
...
This reverts commit 6ed15e995d
.
Fixes #6974 .
2016-10-30 15:14:28 +01:00
Juan Linietsky
ab4126f510
Merge branch 'master' of https://github.com/godotengine/godot
2016-10-30 09:00:45 -03:00
Rémi Verschelde
21828209ec
Merge pull request #6950 from rdb/master
...
Add "Never" underline mode to LinkButton
2016-10-30 12:11:49 +01:00
Rémi Verschelde
a23d8eafa3
Merge pull request #6928 from razvanc-r/fix-container
...
make Container node aware of Size Flags
2016-10-30 12:06:30 +01:00
Rémi Verschelde
dfec7190b9
Merge pull request #6918 from pkowal1982/tween_fix_k3k
...
Fix regression #6864 caused by #6613
2016-10-30 12:05:42 +01:00
Rémi Verschelde
426ff9e7ac
Merge pull request #6614 from TheKK/issue5989
...
Make FileDialog directory selection less misleading
2016-10-30 10:46:01 +01:00
Juan Linietsky
d6567010bf
-Many many fixes
...
-Gizmos work again
2016-10-29 20:48:09 -03:00
rdb
d517bc908f
Add "Never" underline mode to LinkButton
2016-10-28 10:52:57 +02:00
Juan Linietsky
53d8f2b1ec
PBR more or less working, still working on bringing gizmos back
2016-10-27 11:50:26 -03:00
Pawel Kowal
20a18907c1
Fix regression #6864 caused by #6613
2016-10-26 15:15:20 +02:00
Răzvan Cosmin Rădulescu
6ed15e995d
make Container
node aware of Size Flags
2016-10-26 11:45:16 +02:00
Rémi Verschelde
afd86ee240
Merge pull request #6090 from WalasPrime/raytrace_force
...
Added force_raycast_update GDScript method for RayCast[2D]
2016-10-22 12:40:14 +02:00
Juan Linietsky
cb34b70df1
More scene work, can display a skybox
2016-10-21 07:27:13 -03:00
Mariano Suligoy
6d38f79dc5
Fix Color Picker
...
Replace shaders with procedurally generated controls
2016-10-19 19:43:49 -03:00
Rémi Verschelde
e96c49f849
Merge pull request #6850 from akien-mga/pr-scsub-shebang
...
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
048bffd13a
Merge pull request #6806 from leezh/button_array_fixes
...
ButtonArray fixes and improvements
2016-10-17 10:05:42 +02:00
Rémi Verschelde
02feb4545e
Merge pull request #6748 from mateka/issue-6199
...
Place child dialog contents under label in AcceptDialog
2016-10-17 09:55:00 +02:00
Rémi Verschelde
15e324b147
Merge pull request #6739 from bvbfan/patch-3
...
Button focus hovering
2016-10-17 09:53:52 +02:00
Elia Argentieri
0955371447
Make the step property useful for sliders as described in #5773
2016-10-15 18:22:48 +02:00
volzhs
7f6c28e97f
Fix GraphEdit connection wire when resizing GraphNode
2016-10-15 03:11:26 +09:00
George Marques
6ca2128ff8
Merge pull request #6807 from volzhs/buttongroup-signal
...
Add "button_selected" signal to ButtonGroup
2016-10-14 14:43:18 -03:00
Zher Huei Lee
38caa4ef91
Added support for tooltips in ButtonArray. Fixes #6597
2016-10-14 18:11:52 +01:00
Rémi Verschelde
44e0071d0f
Merge pull request #6780 from RandomShaper/space-padded-line-numbers
...
Allow turning off zero-padding for line numbers
2016-10-14 18:09:27 +02:00
George Marques
98ad32c167
Merge pull request #6809 from volzhs/graphedit-zoom
...
Fix GraphEdit connection wire when zoom in/out
2016-10-13 13:09:18 -03:00
Pedro J. Estébanez
00b3af246b
Allow turing off zero-padding for line numbers
2016-10-13 11:43:42 +02:00
volzhs
6227e38ec6
Fix GraphEdit connection wire when zoom in/out
2016-10-13 12:11:29 +09:00
volzhs
870ed6f2fa
Add "button_selected" signal to ButtonGroup
2016-10-13 09:58:06 +09:00
volzhs
06903c7ad2
Expose resizable property of GraphNode in inspector
2016-10-13 08:24:25 +09:00
Zher Huei Lee
f5830e0973
Fixes for ButtonArray
...
Fixed hover sometimes not resetting when mouse leaves widget.
Fixed text position not taking into account stylebox's content margins.
2016-10-12 22:54:04 +01:00
Andreas Haas
9d67895c7c
Sprite: Fix inspector not showing changes on "frame" property.
...
Fixes #6562
2016-10-11 15:14:05 +02:00
Rémi Verschelde
a317617aae
Merge pull request #6783 from pkowal1982/buttonpressed
...
Fix #5959 , contrasting texture for toggled button
2016-10-11 09:11:35 +02:00
Rémi Verschelde
0f587c460e
Merge pull request #6778 from Hinsbart/completion_z
...
Fix Script Editor drawing over Dialogs.
2016-10-11 09:10:39 +02:00
Rémi Verschelde
53016ef7a1
Merge pull request #6777 from RandomShaper/revise-serial-naming
...
Revise serial naming behavior
2016-10-11 09:10:20 +02:00
Juan Linietsky
1527cf8c0d
2D Shaders are working again using the new syntax, though all is buggy in general
2016-10-10 18:31:01 -03:00
Pawel Kowal
d3a8087659
Fix #5959 , contrasting texture for toggled button
2016-10-10 13:54:48 +02:00
Andreas Haas
f73b501d6f
Fix Script Editor drawing over Dialogs.
...
Resets the z-index when focus is lost and the completion is shown.
Fixes #6769
2016-10-10 13:24:46 +02:00
Pedro J. Estébanez
84c525ba1b
Revise serial naming behavior
2016-10-10 13:11:32 +02:00
Pedro J. Estébanez
d9c1729a8f
Add line length guideline to code editors
2016-10-10 10:39:58 +02:00
Anthony Fieroni
6d21fd42d3
Button focus hovering
...
Signed-off-by: Anthony Fieroni bvbfan@abv.bg
2016-10-10 10:34:18 +03:00
Mateusz Adamczyk
3ef2722904
Place child control under label in AcceptDialog.
...
Fixes #6199 .
2016-10-09 15:00:35 +02:00
Rémi Verschelde
e0e21984d8
Merge pull request #6747 from RandomShaper/unify-serial-naming
...
Make node serial naming per-project and universal
2016-10-09 14:55:53 +02:00
Rémi Verschelde
b9e010fb7f
Merge pull request #6743 from mateka/issue-6296
...
Issue #6296 : When searching for control, checking if matrix is inversible
2016-10-09 14:53:32 +02:00
Rémi Verschelde
6f9023c9a6
Merge pull request #6717 from Hinsbart/focus_crash
...
Prevent crash on focus change when no valid next control has been found.
2016-10-09 14:41:22 +02:00
Rémi Verschelde
9eb54e5b6e
Merge pull request #6716 from Hinsbart/completion_fix
...
Fix code completion drawing under other gui elements.
2016-10-09 14:40:11 +02:00
Rémi Verschelde
0a2826b6ba
Merge pull request #6712 from lordadamson/issue6012
...
fix #6012 exposed setters and getters of Camera H/V offset to GDScript
2016-10-09 14:39:42 +02:00
Rémi Verschelde
a4f3d93136
Merge pull request #6707 from volzhs/graphnode
...
Expose selected value of GraphNode
2016-10-09 14:37:21 +02:00
Rémi Verschelde
e9521523a2
Merge pull request #6706 from RandomShaper/light2d-editor-only
...
Add editor_only param to Light2D
2016-10-09 14:36:55 +02:00
Rémi Verschelde
369865f01a
Merge pull request #6705 from volzhs/graphedit
...
Fix GraphEdit grab random node when delete or deselect by clicking empty space
2016-10-09 14:35:24 +02:00
Rémi Verschelde
ca732a52dc
Merge pull request #6693 from J08nY/issue-editor-only-light
...
light: respect editor_only setting in release build, fixes #6665
2016-10-09 14:10:27 +02:00
Rémi Verschelde
1c6058a5bc
Merge pull request #6691 from Faless/expose_more_physics
...
Expose more 2D/3D physics options in project settings (#5029 )
2016-10-09 14:08:50 +02:00
Rémi Verschelde
fb856e532e
Merge pull request #6673 from J08nY/issue-update-spinner
...
Fix #6653 , add an option to stop the update spinner from spinning
2016-10-09 14:06:59 +02:00
Rémi Verschelde
ddf2acad4e
Merge pull request #6613 from pkowal1982/tween
...
Tween reset/stop/resume/remove for all object properties at once
2016-10-09 13:56:33 +02:00
Rémi Verschelde
28b0e9a56c
Merge pull request #6553 from pkowal1982/treecheckbox
...
Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK
2016-10-09 13:54:36 +02:00
Pedro J. Estébanez
9b2e2935d0
Refactor node naming APIs used by editor
...
Make 'name_num_separator' a project setting
Make all node operations separator-aware
2016-10-08 21:49:16 +02:00
Mateusz Adamczyk
8671836b76
Added simple check to viewport, if matrix32 is invesile ( https://github.com/godotengine/godot/issues/6296 ).
2016-10-08 12:33:10 +02:00
Juan Linietsky
850eaf7ed7
-the new shader language seems to work
...
-shader editor plugin can edit shaders
-code completion in shader editor plugin
2016-10-07 11:31:18 -03:00
Andreas Haas
6dfa405eac
Fix code completion drawing under other gui elements.
...
Raises the z-index of the Script editor when the completion is shown.
fixes #1257
fixes #6690
2016-10-05 10:19:52 +02:00
Andreas Haas
8dd026e4f9
Prevent crash on focus change when no valid next control has been found.
...
Fixes the crash discussed in #6714 .
2016-10-05 08:56:58 +02:00
Juan Linietsky
cf5778e51a
-Added ViewportContainer, this is the only way to make viewports show up in GUI now
...
-2D editing now seems to work
-Added some functions and refactoring to Viewport
2016-10-05 01:26:35 -03:00
Adham Zahran
cbb0ea315b
fix #6012 exposed setters and getters of Camera H/V offset to GDScript
2016-10-05 00:46:28 +02:00
volzhs
7d74e3c39f
Expose selected value of GraphNode
2016-10-05 02:00:58 +09:00
volzhs
83278a1ac4
Fix GraphEdit grab random node when delete or deselect by clicking empty space
2016-10-05 01:10:49 +09:00
Pedro J. Estébanez
34c02fad5a
Add editor_only param to Light2D
2016-10-04 16:44:59 +02:00
Juan Linietsky
22d83bc9f6
Begining of GLES3 renderer:
...
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
J08nY
af35130b50
light: respect editor_only setting in release build and dont show the light
2016-10-03 16:23:43 +02:00
Fabio Alessandrelli
1d09c27ba4
Expose more 2D/3D physics options in project settings
2016-10-03 14:40:47 +02:00
Karol Walasek
7494a8c3c6
Added force_raycast_update GDScript method for RayCast[2D]
2016-10-03 12:36:16 +02:00
Rémi Verschelde
735e905c77
Merge pull request #6662 from RandomShaper/export-texture-flags
...
Respect texture .flags files on export
2016-10-03 12:03:06 +02:00