Rémi Verschelde
e54c7d5715
Merge pull request #9457 from TwistedTwigleg/Fixed_Vector3_snap
...
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
2017-07-03 23:43:33 +02:00
Rémi Verschelde
b8ae605603
Merge pull request #9481 from BastiaanOlij/prim_capsule_flat
...
Re-orient capsule to collision shape
2017-07-03 22:47:26 +02:00
TwistedTwigleg
44ecfb028d
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
2017-07-03 16:29:03 -04:00
TwistedTwigleg
a6feb0943a
Fixed set_global_scale in Node2D.
2017-07-03 13:28:26 -04:00
BastiaanOlij
f02ccffca3
Re-orient capsule to colission shape
2017-07-03 23:53:06 +10:00
Juan Linietsky
e63c64e256
Clean up normalmapping, make sure tangents are imported correctly.
2017-07-03 10:45:34 -03:00
volzhs
6ed2b0eabc
Update visibility icon properly
2017-07-03 00:27:27 +09:00
Bojidar Marinov
88ae942029
Readd shape_offset as an editor-only and backcompat property
2017-07-01 20:58:35 +03:00
Bojidar Marinov
4d2642b666
Readd tilemap's shape_transform and bugfixes
...
This reverts commit a808f53020
.
2017-07-01 20:56:51 +03:00
Juan Linietsky
a808f53020
Revert "Fix Tileset/tilemap issues related to my adding of one-way collisions to them"
2017-07-01 13:02:04 -03:00
Juan Linietsky
2a3e00c8c7
-Many fixes to VisualScript, fixed property names, etc.
...
-Added ability to set/get a field in GetSet, as well as assignment ops
-Added a Select node
-Fixed update bugs related to variable list and exported properties, closes #9458
2017-06-30 21:35:05 -03:00
Bojidar Marinov
80356f925c
Fix #9409 , fixup #9370 ; tileset now has shape transform instead of offset
...
Fix bad return type in CollisionObject2D, Shape -> Shape2D. Was causing unintended null when casting. (9409)
Fix a misplaced ++ operator. (9370)
Fix merging with exiting tileset duplicating shapes. (9370)
2017-06-30 19:01:20 +03:00
Robert Hernandez
f0f407e76e
Texture region now updates when changing an Atlas
...
- Removed atlas_changed signal for AtlasTexture
- Changes are now handled by _notify_change
- Removed unneccesary signal connections
- Texture preview now updates in real-time
Fixed TextureRegionEditor constantly regenerating
2017-06-29 10:49:24 -04:00
Juan Linietsky
db3b05d289
Reworked translation system
...
-Label and Button reload translation on the fly
-Resources are loaded and reload depending on locale
2017-06-28 17:01:35 -03:00
Rémi Verschelde
9e54e1f34f
Merge pull request #7947 from RandomShaper/fix-vis-notifier-2d
...
Fix VisibilityNotifier2D viewport offset issue
2017-06-28 12:25:08 +02:00
Poommetee Ketson
0200507387
Fix build error on master
2017-06-28 10:41:43 +07:00
Marc Gilleron
6c1ab2098f
Fix curve saving, refined undo/redo
2017-06-28 02:43:30 +02:00
Juan Linietsky
51442988b1
Merge pull request #9404 from Zylann/curve_improvement
...
Curve improvement
2017-06-27 07:53:52 -03:00
Juan Linietsky
3ce046ee0c
-Fixed SCREEN_TEXTURE and other related 2D shader parameters.
...
-Fixded BackBuffercopy object
2017-06-26 22:58:46 -03:00
Rémi Verschelde
f1cc3b700a
Merge pull request #9268 from BastiaanOlij/improve_defaults
...
Align primitive defaults to default collision shape sizes
2017-06-26 23:56:57 +02:00
Marc Gilleron
69b8f61f25
Curve features
...
- Ability to set tangents as linear
- Indicative min and max values
- CurveTexture doesn't need min and max anymore
2017-06-26 23:41:37 +02:00
Rémi Verschelde
b0516e0412
Merge pull request #9296 from TwistedTwigleg/Camera2D_enhancements_V2
...
Camera2D enhancements (V2)
2017-06-26 23:37:25 +02:00
Rémi Verschelde
f2bc0cc966
Merge pull request #9370 from bojidar-bg/c-9318-oneway-tilemaps
...
Add one-way collisions and individual shape offsets for tilesets
2017-06-26 22:47:26 +02:00
Rémi Verschelde
f7b77e5b76
Merge pull request #9318 from bojidar-bg/readd-normal-tilemap
...
Add normal map to tilemaps and tilesets
2017-06-26 22:47:11 +02:00
Fabian Mathews
0f0e2240ba
Queue RPC packet before calling method locally to ensure correct RPC packet order
2017-06-26 19:13:54 +09:30
toger5
b941931c95
tree fix drawing order for header +
...
- the collapse arrow gets drawn after the background so its not hidden underneath anymore
- custom_bg_color no offset anymore
2017-06-25 17:12:36 -07:00
Juan Linietsky
d41978eb63
Usability improvements for folding. Unfortunately SpatialMaterial broke compatibility.
2017-06-25 18:57:28 -03:00
Juan Linietsky
760cdbe1a3
-Added folding to property editor, persistent on objects it edits
...
-Some changes to tree to support this properly
2017-06-25 17:31:22 -03:00
TwistedTwigleg
7d77406980
Added some editor enhancements to Camera2D. Added the option to draw Camera2Ds bounds and drag margins. Added options to toggle the drawing of Camera2Ds lines in the editor. When a Camera2D is marked as current, its lines become a little less transparent.
2017-06-25 16:05:44 -04:00
Bojidar Marinov
207feb2f87
Add one-way collisions and individual shape offsets for tilesets
...
As requested in #9318
Accidentially fixes #2231 as well
2017-06-25 21:47:30 +03:00
Ramesh Ravone
c6e295c399
Fixes method bind
2017-06-25 16:35:39 +05:30
Juan Linietsky
83ae9a5e28
Ability to restart particle system with a function call
2017-06-25 08:01:50 -03:00
Poommetee Ketson
e3998528e0
BuildSystem: generated files have .gen.extension
2017-06-25 07:55:01 +07:00
Juan Linietsky
898d8fd557
Merge pull request #9353 from Zylann/gradient_refactor
...
GradientTexture now uses a Gradient
2017-06-24 18:13:56 -03:00
Rémi Verschelde
44c7210387
Merge pull request #9249 from Noshyaar/pr-colorpick
...
ColorPicker: fix DPI, hue & color update issues
2017-06-24 23:02:02 +02:00
Marc Gilleron
2bb1638b0a
GradientTexture now uses a Gradient
...
- Added gradient property
- Deleted duplicate code
2017-06-24 21:50:44 +02:00
George Marques
bd2dd034a7
Merge pull request #9344 from Noshyaar/pr-envi
...
Environment: remove ssr_accel property, fix typo
2017-06-24 12:51:02 -03:00
Juan Linietsky
bc509ac7bd
Simplified 2D Kinematicbody.. 3D will wait a bit.
2017-06-24 12:34:29 -03:00
Andreas Haas
e05621ba35
Merge pull request #9342 from GodotExplorer/pr-rich-text-vscroll-type-3.0
...
Add statements for script types of RichTextLabel
2017-06-24 13:24:42 +00:00
Juan Linietsky
0cac32910a
-Restored support for Canvas BG mode on Environment
...
-Improved ease of use of WorldEnvironment (no longer extends Spatial)
-2D editor viewport can now work in HDR!
2017-06-24 08:58:27 -03:00
Poommetee Ketson
04164bb317
Environment: remove ssr_accel property, fix typo
2017-06-24 16:07:37 +07:00
geequlim
81afb275eb
Add statements for script types of RichTextLabel
2017-06-24 14:18:23 +08:00
Juan Linietsky
6ba1e4677b
-Trigger shapes removed in 2D, they became obsolete long ago when areas could detect their own overlap
...
-Added ability to disable individual collisionshape/polygon
-Moved One Way Collision to shape, allowing more flexibility
-Changed internals of CollisionObject, shapes are generated from child nodes on the fly, not stored inside any longer.
-Modifying a CollisionPolygon2D on the fly now works, it can even be animated.
Will port this to 3D once well tested. Have fun!
2017-06-23 23:39:52 -03:00
Marc Gilleron
659897cfb8
Added Curve resource
...
- New resource for curves in y(x) form
- CurveTexture now has a Curve
- Curve and CurveTexture share the same editor
2017-06-24 01:01:36 +02:00
Juan Linietsky
8ef1c41a4e
Small fixes required to get platformer to work.
...
Added back CanvasItemMaterial
2017-06-23 14:31:59 -03:00
Juan Linietsky
3f2cd75c6f
Fix shortcuts, make them visible again and work.
2017-06-22 19:57:59 -03:00
Juan Linietsky
265d4e2d6c
Fixed bug regarding to two spatial 2d players not mixing properly
2017-06-22 17:50:03 -03:00
Bojidar Marinov
2edb082c7e
Add normal map to tilemaps and tilesets
...
Fixes #9310
2017-06-22 18:15:50 +03:00
Juan Linietsky
fb72edf45e
Properly exposed material types everywhere.
2017-06-22 09:33:20 -03:00
Rémi Verschelde
e3b34810e3
Fix tools=no build
...
This house is falling apart when I'm not around...
2017-06-22 12:12:30 +02:00
Juan Linietsky
f27d2a3355
-Moved NinePatch to shader, saves a ton of draw calls rendering UI
...
-Implemented missing stretch modes, now tile and tile fit work
2017-06-21 23:37:25 -03:00
Juan Linietsky
95560e02c5
2D GPU Particles working..
2017-06-21 16:26:26 -03:00
Thomas Herzog
ceded65c01
Merge pull request #9257 from Shockblast/patch-1
...
Remove Duplicate Include
2017-06-20 10:58:00 +02:00
Shockblast
3e733d0f92
Remove Duplicate Include
...
Also solves a problem with AnimatedSprites, when you add sprites for the animation the engine crash
2017-06-19 20:52:10 -04:00
Thomas Herzog
f919be936b
Merge pull request #9277 from bd339/iss9266
...
Add null-check to get_normal_frame
2017-06-20 00:44:01 +02:00
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