Juan Linietsky
61b43492a0
Properly update frame range after modifying the vframe/hframes, closes #7624
...
(cherry picked from commit e47ecc63ef
)
2017-08-13 20:26:13 +02:00
Juan Linietsky
a59e1a50bf
Warn about resizing a rigidbody (2D or 3D), covers the most common cases, closes #7615
...
(cherry picked from commit de9fb90dbf
)
2017-08-13 20:26:09 +02:00
Pedro J. Estébanez
73fb33a931
Remove warnings about benign situations
2017-07-10 16:28:50 +02:00
volzhs
7ca40c3eb9
Fix visibility changes for Spatial
2017-07-03 00:02:36 +09:00
Rémi Verschelde
148a9e384b
Merge pull request #8999 from RandomShaper/fix-physics-2.1
...
Fix multiple 2D & 3D physics issues (2.1)
2017-06-25 11:12:37 +02:00
Thomas Herzog
2bd3792d6a
Merge pull request #8434 from hikari-no-yume/Sprite3D_double_sided_flag
...
Add double-sided flag to SpriteBase3D (fixes #8007 )
2017-06-19 23:47:33 +02:00
Pedro J. Estébanez
3e5e8b6c9e
Fix multiple issues with 2D & 3D physics
...
- Use `NOTIFICATION_ENTER`/`EXIT_WORLD` for `Area` (intead of `*_TREE`).
- Now both bodies' and areas' constraints are cleaned up.
- And now also that happens as soon as the space is set to null (i.e., when exiting the tree) instead of only at freeing time.
- When clearing constraints, the loop goes on to the next if the current is already released, instead of breaking.
- When one has been already released, no error is shown from now on, as it's something expected, since a pair (our kind of constraint of interest) can be freed by any of its involved collision objects and the other will try again.
- Implement index shifting (or marking as -1) for shapes indices in collision pairs shapes are removed.
- Standarize behavior of bodies and areas so that anything that invalidates a given pair gives the same result (collision mask, actual collision, etc); for instance, triggering area enter/exit signals.
- Add missing member initializations.
- Extend the new-space-equals-area/body-current-space test to every case.
- Fix 3D ray-casts early accepting Areas (skipping the mask check).
- Fix unpairing of large elements (2D's `BroadPhase2DHashGrid`).
Some of these prevent random crashes caused by constraints with dangling pointers to involved objects.
Fixes #8856 .
Fixes #7589 .
Fixes #6676 .
And maybe others.
2017-06-19 12:02:50 +02:00
Hugo Locurcio
db2cb08057
Increase the default perspective camera FOV
...
This does not affect existing projects, but will affect newly-created
editor settings and Camera nodes.
(cherry picked from commit cdcc3c919b
)
2017-06-17 12:31:27 +02:00
Zireael07
307c5c1afc
GDScript can now tell if the wheel is in contact with the ground; change roll influence of the wheel in editor
2017-05-19 11:50:23 +02:00
Andrea Faulds
aa66530010
Add double-sided flag to SpriteBase3D ( fixes #8007 )
2017-05-02 15:48:16 +01:00
Rémi Verschelde
c9eb0f5f45
Merge pull request #8317 from RandomShaper/fix-area-monitoring-2.1
...
Fix side effects of the bookkepping of Area/Area2D's monitoring (2.1)
2017-04-08 22:47:44 +02:00
Pedro J. Estébanez
c3c0cfd207
Fix side effects of the bookkepping of Area/Area2D's monitoring
...
- Fix monitoring flag being reset when the scene is out of the tree (happens on save all if the current scene is not the focused one, therefore on save-on-run as well)
- Fix the inability to reset the monitoring flag while the area is out of the tree
2017-04-08 13:24:29 +02:00
Rémi Verschelde
e9b045d9e5
Add "Godot Engine contributors" copyright line
2017-04-08 00:45:24 +02:00
Pedro J. Estébanez
9f8f8efa67
Add priority to samples in a library
2017-04-06 23:59:49 +02:00
volzhs
6222821535
Apply same logic to Area with Area2D
...
comes from 5b556ca
and 73f53a7
2017-04-04 10:37:45 +09:00
Rémi Verschelde
f8db8a3faa
Bring that Whole New World to the Old Continent too
...
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6
.
2017-03-19 00:36:26 +01:00
Rémi Verschelde
dbf0137576
Style: Fix statements ending with ';;'
...
(cherry picked from commit f44ee891be
)
2017-03-18 21:14:33 +01:00
Rémi Verschelde
d8223ffa75
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!
(cherry picked from commit c7bc44d5ad
)
2017-01-12 19:15:30 +01:00
ktksgit
1bb1b6986c
Update DebugMesh when NavMesh changes
...
Fixes #7371
(cherry picked from commit 2807507325
)
2017-01-12 19:15:29 +01:00
Elia Argentieri
9b0be3753b
Expose set_bone_name and get_bone_name to GDscript
...
(cherry picked from commit b96e2e1126
)
2017-01-12 19:15:28 +01:00
Bojidar Marinov
c5bff5073e
Fix #7303 , Quad node mesh data leak
...
(cherry picked from commit 7504a015aa
)
2017-01-12 19:15:27 +01:00
Ignacio Etcheverry
5354d7ddcc
KinematicBody: Fix wrong method bind return type
...
(cherry picked from commit d579d0a814
)
2017-01-12 19:15:27 +01:00
Rémi Verschelde
e259bf8bbb
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-02 22:28:28 +01:00
Rémi Verschelde
561c1f17a1
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-02 22:26:55 +01:00
Karol Walasek
0af331d1c0
Added force_raycast_update GDScript method for RayCast[2D]
...
(cherry picked from commit 7494a8c3c6
)
2016-10-31 00:00:23 +01:00
Rémi Verschelde
5a49e45d21
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c
)
2016-10-30 14:51:34 +01:00
Adham Zahran
cd03f8cce2
fix #6012 exposed setters and getters of Camera H/V offset to GDScript
...
(cherry picked from commit cbb0ea315b
)
2016-10-09 17:39:06 +02:00
J08nY
342b1408d5
light: respect editor_only setting in release build and dont show the light
...
(cherry picked from commit af35130b50
)
2016-10-09 17:33:54 +02:00
Pawel Kowal
ab231cd3fb
Fix #6480 , area duplicated param
...
(cherry picked from commit f9a21baa26
)
2016-10-09 17:23:43 +02:00
yg2f
36b1521cdc
expose GeometryInstance.get_aabb() etc fixes #6587
...
expose ``GeometryInstance.get_aabb();`` to gdscript
expose ``VisualInstance.get_transformed_aabb();`` to gdscript
and debug ``ImmediateGeometry::add_vertex()``;
(cherry picked from commit c1e2358914
)
2016-10-09 17:21:07 +02:00
Juan Linietsky
7178399548
Added option for UVs (and tangents) in adding sphere for ImmediateGeometry, closes #6398
...
(cherry picked from commit f31400c04d
)
2016-09-18 23:09:41 +02:00
Daniel J. Ramirez
213a57ccaf
Stop baking process if there is no geometry in the BakedLightInstance.
...
moved missing baked light warning to BakedLightInstance configuration warning
2016-07-25 21:45:20 -05:00
Juan Linietsky
3aeafcae04
Removed support for saving paths as relative, closes #5728
...
Editor now has good refactoring tools, so this function is mostly obsolete
2016-07-22 10:39:46 -03:00
Juan Linietsky
e4cd01ac8c
Make texture parameter optional in begin() of ImmediateGeometry. Closes #5676 and closes #5720
2016-07-22 09:59:56 -03:00
Rémi Verschelde
f40f360a2c
Remove unused variables (fourth pass) + dead code
...
Also fix a potential regression from 3fcb9b1ec1
.
2016-07-08 16:47:55 +02:00
Juan Linietsky
7c1ab42571
Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422
2016-07-06 23:46:04 -03:00
Juan Linietsky
449a28e75a
make property not be applied in skeleton if not inside tree. This will eventually e changed. Fixes #5205
2016-06-29 18:39:29 -03:00
Juan Linietsky
7c20c386c5
-Added trigger mode to tracks, useful for properties that work as triggers, such as playing a sample, an animation, etc.
...
-Better interpolation of discrete tracks, fixes #4417
2016-06-19 01:43:02 -03:00
Rémi Verschelde
b7dbf9207a
Drop empty files that are not used anywhere
...
Part of #5272
2016-06-18 19:46:30 +02:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Juan Linietsky
95dc15b750
Send body inout notifications after state is applied, fixes #4683
2016-06-17 16:45:10 -03:00
marcelofg55
3787856563
Fixed overloaded virtual functions with const vs none warning
2016-06-12 13:31:22 -03:00
Juan Linietsky
db1e9bac79
better rewording
2016-06-11 17:25:43 -03:00
Juan Linietsky
375fbe5c7c
Show descriptive errors when look_at is improperly used, closes #5131
2016-06-11 17:22:48 -03:00
Juan Linietsky
beabefe432
port changes from AnimatedSprite to AnimatedSprite3D
2016-06-08 18:03:06 -03:00
Juan Linietsky
06bc4e20d3
Merge pull request #4101 from SaracenOne/listener
...
Added New Listener Spatial Node.
2016-06-06 22:13:23 -03:00
Juan Linietsky
8be2fabbe5
Changed import workflow
...
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Rémi Verschelde
da24bc8f3f
VehicleBody: Cosmetic fixes to previous commit
2016-05-21 11:52:21 +02:00
Agustin Benavidez
97da9f14ab
Add get_linear_velocity() method to VehicleBody class
...
Doc added also.
2016-05-21 11:35:55 +02:00
Juan Linietsky
c195c0df6b
-Added configuration warning system for nodes
...
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00