qarmin
856a8226a5
Small fixes, mostly dupicated code
2019-04-08 11:03:37 +02:00
Rémi Verschelde
853af06f5a
Merge pull request #27770 from KoBeWi/moving_pan_v2
...
Allow panning while moving a node
2019-04-08 10:07:24 +02:00
Rémi Verschelde
de33c37196
Merge pull request #27565 from SpechtMagnus/tileset_autotile_ignore_flags
...
Added ignore flag / wildcard bit to tileset autotile
2019-04-08 10:04:30 +02:00
Guilherme Felipe
ccbf57611b
[AnimationNodeBlendTreeEditor] Usability improvements
...
- Add possibility to exclude multiple (selected) nodes.
- Add context menu (Right click) to add nodes.
2019-04-07 23:28:23 -03:00
Magnus Specht
a3af9d5714
+ Added ignore flags to autotile bitmask
...
+ Added ignore functionality to tileset editor
+ Updated tileset editor autotile tooltip
+ Autotile ignore bits are processed and rendered correctl
2019-04-08 00:41:05 +02:00
Tomasz Chabora
7abd0a3976
Allow panning while moving a node
2019-04-07 16:43:21 +02:00
Chaosus
54bf313e07
Small hotfix to visual shader entries..
2019-04-07 16:25:32 +03:00
Rémi Verschelde
3dabe862af
Merge pull request #26164 from Chaosus/vshader_improvements
...
Major update for visual shader system
2019-04-07 14:24:23 +02:00
Rémi Verschelde
6475c990a2
Merge pull request #25311 from qarmin/third_point
...
Add third point to change size RectangleShape2D in two axis
2019-04-07 13:04:59 +02:00
Chaosus
5fd671b8a7
Major improvements for visual shader system
2019-04-07 08:17:38 +03:00
Rémi Verschelde
f1dc158ebd
Merge pull request #27602 from YeldhamDev/tileset_emptypoly_crash_fix
...
Fix crash when using the Tileset Editor when the given shape has no points
2019-04-06 20:51:38 +02:00
Rémi Verschelde
c20c2870a7
Merge pull request #27699 from LATRio/fix_region_editor_margin
...
Fix TextureRegion margin bug
2019-04-06 20:45:20 +02:00
Timo
1c178da72c
Merge pull request #26609 from nekomatata/shadow_offset
...
Support for shadow offset in box style
2019-04-06 19:36:57 +02:00
Rémi Verschelde
72be5ddc43
Merge pull request #26650 from YeldhamDev/filesys_tooltips
...
Small tooltip changes to filesystem-related UI componentes in editor
2019-04-06 13:03:59 +02:00
ShyRed
c218c631f6
Add converters / generators to Sprite
...
Adds the following menu options to the Sprite editor: "Convert to Mesh2D", "Convert to Polygon2D", "Create CollisionPolygon2D Sibling" and "Create LightOccluder2D Sibling"
2019-04-06 10:48:07 +02:00
Michael Alexsander Silva Dias
9501900e1b
Fix crash when using the Tileset Editor when the given shape has no points
2019-04-05 21:32:48 -03:00
Rémi Verschelde
e16fc72cef
Merge pull request #26903 from guzzard/polygon-point-hover
...
Display vertex number when hovering point in collision polygon
2019-04-05 16:50:54 +02:00
Rémi Verschelde
a71d8b561d
Merge pull request #26927 from qarmin/fix_perspective_button_hide
...
Fix perspective button hide when it actually should be disabled
2019-04-05 16:45:29 +02:00
Rémi Verschelde
945f7f83d3
Merge pull request #27330 from qarmin/fix_bones_not_showing_after_create
...
Show bones after creating
2019-04-05 16:39:55 +02:00
Rémi Verschelde
a61ad365f5
Merge pull request #27677 from akien-mga/Wimplicit-fallthrough
...
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05 16:12:45 +02:00
LATRio
f38173fb19
Fix TextureRegion margin bug introduced in #27122
2019-04-05 22:33:53 +09:00
Rémi Verschelde
570fa6a477
Merge pull request #27254 from piyushdagar/fix-animation
...
Fixes Adding animation to AnimatedSprite doesn't update inspector immmediately #26381
2019-04-05 15:28:28 +02:00
Juan Linietsky
19a6a6286a
Ability to make CanvasLayers have pseudo 3D depth.
2019-04-05 10:25:51 -03:00
Rémi Verschelde
fc370b3feb
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
2019-04-05 15:14:53 +02:00
Mariano Javier Suligoy
bfc3ba5af0
Merge pull request #27365 from Byteron/tile_map_negative_offset
...
TileMap, negative Y and X Offset
2019-04-05 09:24:32 -03:00
Aaron Winter
63e0fd7675
added negative X and negative Y offset to TileMap
...
clang-format
added negative X and negative Y offset to TileMap
2019-04-05 10:37:35 +02:00
Mariano Javier Suligoy
1ab9b86a21
Merge pull request #27500 from samdze/master
...
Allow TileMap to override set_cell behaviour while using TileMap editor
2019-04-04 23:17:29 -03:00
Mariano Javier Suligoy
60fbbba398
Merge pull request #27201 from siddharth952/issue1
...
Fixed Tileset Editor bug related to polygon size
2019-04-04 23:09:50 -03:00
Mariano Javier Suligoy
a6e9af7222
Merge pull request #27122 from LATRio/fix_texture_region_zoom
...
Fix zooming in TextureRegion
2019-04-04 23:09:25 -03:00
qarmin
8460d0678c
Small fixes to static analyzer bugs
2019-04-04 22:00:16 +02:00
Rémi Verschelde
d9b9c9f98a
Merge pull request #27567 from Calinou/selection-boxes-use-accent-color
...
Use the editor theme's accent color for 2D/3D selections and rotations
2019-04-04 17:45:01 +02:00
Rémi Verschelde
de54ee975d
Merge pull request #27238 from ShyRed/cpu2dmask
...
Add Emission Mask to CPUParticle2D
2019-04-03 09:13:14 +02:00
Samuele Zolfanelli
a6f5cf7de7
Allow TileMap to override set_cell behaviour while using TileMap editor
2019-04-01 13:03:35 +02:00
Rémi Verschelde
9347142484
Merge pull request #26701 from qarmin/do_not_lost_focus
...
Do not lose focus when moving through scene tree
2019-04-01 11:57:46 +02:00
Rémi Verschelde
9bef886fa3
Merge pull request #27117 from Faless/editor/asset_lib_image_error
...
Enabled logging of failed image download.
2019-04-01 11:03:03 +02:00
Hugo Locurcio
d59b210aec
Use the editor theme's accent color for 2D/3D selections and rotations
2019-03-31 23:54:46 +02:00
Siddharth
fcd39a506a
Update tile_set_editor_plugin.cpp
2019-03-27 22:50:52 +05:30
Siddharth
ba2b09b034
Revert "Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits."
...
This reverts commit 2d995372d8
.
2019-03-27 22:49:19 +05:30
Rémi Verschelde
37969e71e4
Merge pull request #27383 from SpechtMagnus/master
...
TileMap: Fixed unfinished max_lines draw handling for freeze/crash avoidance.
2019-03-27 17:20:56 +01:00
Michael Alexsander Silva Dias
d819ad6f78
Small tooltip changes to filesystem-related UI componentes in editor
2019-03-27 01:50:50 -03:00
Juan Linietsky
6574c557c9
Add a "Request Docs" button to code editor.
2019-03-26 16:36:19 -07:00
Magnus Specht
601acdf0e1
Fixed unfinished max_lines handling for crash avoidance.
2019-03-24 19:17:02 +01:00
Siddharth
13ead635d9
Merge branch 'master' of https://github.com/godotengine/godot into issue1
2019-03-23 20:09:08 +05:30
Siddharth
2d995372d8
Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits.
...
Updated tile_set_editor_plugin.cpp And area.cpp
Updated with clang-format
Updated tile_set_editor_plugin.cpp And area.cpp
2019-03-23 20:03:59 +05:30
qarmin
1b6e0d04f0
Show bones after creating
2019-03-22 19:14:54 +01:00
piyushdagar
d86d7981cc
Fixes Adding animation to AnimatedSprite doesn't update inspector immediately
2019-03-20 09:08:39 +05:30
ShyRed
dcd268e183
Add Emission Mask to CPUParticle2D
...
Add ability to load emission masks to CPUParticle2D.
2019-03-19 17:28:57 +01:00
PouleyKetchoupp
8346d90c5e
Properly handle different border widths in rounded corner aa
...
Note: removed (unused and not implemented) support for multiple border colors
2019-03-19 11:51:32 +01:00
Paulb23
6f6d4a6c2e
Fix script editor attempting to set current line to -1 on script open
2019-03-17 20:02:05 +00:00
Timo Schwarzer
7a0dfc04aa
Allow whitespaces in warning-ignore comments
2019-03-17 18:42:59 +01:00
LATRio
22030d4cc4
Fixing zooming in TextureRegion
...
Fixes #20710
2019-03-17 10:37:58 +09:00
Rémi Verschelde
e5a310cd38
Merge pull request #25782 from hsandt/feature/fix-toggle-comment-indent
...
Feature/fix toggle comment indent
2019-03-16 11:17:47 -07:00
Rémi Verschelde
43f147b5aa
Merge pull request #26308 from bojidar-bg/11722-meshlibrary-transforms
...
Consider StaticBody and NavMesh position when converting to a MeshLibrary
2019-03-16 11:15:15 -07:00
Rémi Verschelde
8965ff90ca
Merge pull request #26919 from jabcross/master
...
Implement source lookup for class_name defined classes
2019-03-16 11:06:34 -07:00
Rémi Verschelde
18fa1846ea
Merge pull request #27115 from Janglee123/master
...
Fix toggling snap mode while transforming the Spatial object
2019-03-16 10:54:44 -07:00
Fabio Alessandrelli
37c0ac1d6d
Enabled logging of failed image download.
2019-03-16 10:58:07 +01:00
janglee123
05446e8b53
fixed toggelling snap mode while transforming
2019-03-16 13:45:39 +05:30
Sebastian Hartte
7bab7fd777
Don't crash when the saved editor state contains fewer viewports than currently supported.
2019-03-12 12:17:17 +01:00
JFonS
2658e5d03d
Add priority to gizmos and fix small issues
...
User defined gizmos will haave higher preference than editor gizmos by
default. Also fixed some inconsistencies in the gizmos menu when using
custom gizmos.
2019-03-12 00:30:50 +01:00
qarmin
2e5b6b5bde
Fix perspective button hide when it should be actually disabled
2019-03-11 18:10:00 +01:00
Pedro Ciambra
e8fe174616
Implement source lookup for class_name defined classes
...
Previous to this, classes defined with class_name had no
behavior when ctrl-clicked in the editor.
Fixes #26882
2019-03-11 12:52:17 -03:00
Martin Wallin
ed06ed38fb
Display vertex number when hovering point in collision polygon
2019-03-11 10:42:55 +01:00
Juan Linietsky
95c6d9caba
Fix crash in texture previeer, closes #26749 , probably others
2019-03-08 14:18:12 -03:00
Juan Linietsky
9af7fa193f
Do not annoy unrelated textures with texture editor.
2019-03-07 13:54:05 -03:00
Rémi Verschelde
b38f44e177
Merge pull request #26758 from qarmin/fix_error_dragging_empty_script_editor
...
Fix error when dragging empty script list in Script Editor
2019-03-07 17:40:42 +01:00
qarmin
7837276597
Fix error when dragging empty script list in Script Editor
2019-03-07 16:09:02 +01:00
Mariano Suligoy
6c08f4ea4e
TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238
2019-03-06 15:31:16 -03:00
Juan Linietsky
6eac688952
Don't hide/show top editor if they did not change, fixes #26644
2019-03-06 12:42:01 -03:00
qarmin
138698e51f
Do not lose focus when moving through scene tree
2019-03-06 12:10:09 +01:00
merumelu
e4b20a9a51
AssetLib: convert video thumbnails to RGBA
...
Image::blend_rect only works with images that have the same format.
2019-03-05 21:02:56 +01:00
Rémi Verschelde
f43ee4aff8
Merge pull request #26639 from YeldhamDev/tileeditor_coordnav_disable
...
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 16:59:05 +01:00
Rémi Verschelde
ae24258842
Merge pull request #26622 from pyrophone/TilesetPreviewFix
...
Fixed Tileset preview stretching textures
2019-03-05 16:57:21 +01:00
Gio Aleman
4cf197fa48
Fixed Tileset preview stretching textures
2019-03-05 09:53:08 -05:00
Michael Alexsander Silva Dias
9b52ad5caf
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 11:22:44 -03:00
Andrii Doroshenko (Xrayez)
a4e6e2f342
Ensure to disable freelook when leaving spatial editor
...
Fixes and prevents the problem with mouse getting stuck in MOUSE_MODE_CAPTURED when switching to canvas item editor plugin by any means other than manually (with mouse).
2019-03-05 12:42:25 +02:00
Rémi Verschelde
3aff78f532
Merge pull request #26599 from MarianoGnu/fix_25817
...
TileSetEditor: Expose to the user OneWayCollision+Margin properties.
2019-03-05 00:19:48 +01:00
Juan Linietsky
5b77aa6bea
Ensure shader is not set if code did not change
2019-03-04 19:39:06 -03:00
Tomasz Chabora
4599e98341
Add UndoRedo for Generate AABB (Particles)
2019-03-04 21:00:56 +01:00
Juan Linietsky
53bec9deeb
Fix and restore text, material and mesh previewers.
2019-03-04 15:53:18 -03:00
Mariano Suligoy
33406131c1
TileSetEditor: Expose to the user OneWayCollision+Margin properties. Fixes #25817 .
2019-03-04 14:10:31 -03:00
Rémi Verschelde
878950db16
Merge pull request #26590 from Chaosus/fix_sprite_region_crash
...
Fix editor crash when converting sprite to 2D mesh
2019-03-04 16:58:39 +01:00
Chaosus
8b5e070ec7
Fix editor crash when converting sprite to 2D mesh
2019-03-04 17:37:38 +03:00
xDGameStudios
d2f73d4a27
Add UndoRedo on Generate Visibility Rect (Particles2D)
2019-03-04 12:49:32 +00:00
Rémi Verschelde
c0e1c66e3d
Merge pull request #26385 from MarianoGnu/tileset_editor
...
TileSetEditor: Improvements and fixes
2019-03-03 11:24:16 +01:00
Mariano Suligoy
7b933d70a8
TileSetEditor: Allow to toggle Convex/Concave collisions. Alternative fix to #24003
2019-03-02 19:40:56 -03:00
Mariano Suligoy
65084a70fd
Allow to change selection of collision shapes added to the same tile. Fixes #26369 .
2019-02-28 22:45:16 -03:00
Mariano Suligoy
33be8b0701
Allow to change selection around all tiles on the texture without clicking on them. Fixes #25203 . Fixes #22077
2019-02-28 20:48:34 -03:00
Michael Alexsander Silva Dias
6cf1a94af0
Make TileSet editor's workspace change size according to region changes
2019-02-27 22:40:54 -03:00
Rémi Verschelde
ce615c1a82
Merge pull request #26352 from bojidar-bg/21633-progress-stylebox
...
Fix minimum size of ProgressBar-s
2019-02-27 17:19:01 +01:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
...
Was a leftover from 0a1c1c660f
.
Fixes #21633 .
2019-02-27 15:56:49 +02:00
Rémi Verschelde
f0f277faf1
Merge pull request #26330 from AlmostBearded/tileseteditor_multiplecollisionshapes
...
Allow Creation of Multiple Collision Shapes for Tiles
2019-02-27 11:33:45 +01:00
Hein-Pieter van Braam
464e1142c4
Don't crash on previewing an AtlasTexture without a region
2019-02-27 00:44:09 +00:00
Peter Oberrauner
657f83148c
Allow Creation of Multiple Collision Shapes for Tiles #24003
2019-02-26 23:45:01 +01:00
Bojidar Marinov
1a397a7878
Consider StaticBody and NavMesh position when converting to a MeshLibrary
...
Would have added mesh transform, but realized that will cause problems when moving the mesh around the scene for visualization purposes.
Closes #11722
2019-02-26 15:38:23 +02:00
Juan Linietsky
f436047cf5
Clear canvas item after rendering font, fixes #23774
2019-02-23 21:31:09 -03:00
Juan Linietsky
bfa9be85d3
Remove copy and use instance material override in gizmos, fixes #23783
2019-02-23 20:20:54 -03:00
Juan Linietsky
fd68bb2596
-Treat scalar conversions when calling functions as error, closes #24261
...
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Mariano Suligoy
5a21847f23
TileSetEditor: Show Edition Context by demand
2019-02-23 00:04:31 -03:00
Juan Linietsky
7f63b0e8cd
Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
...
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Michael Alexsander Silva Dias
3ef8238c1c
Make translatable some undo/redo operations in the editor
2019-02-21 16:41:01 -03:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Rémi Verschelde
1f257d3f8c
Merge pull request #26085 from mrcdk/tileset_shape_rectangle
...
Added a create rectangle button to the tileset editor.
2019-02-20 13:26:51 +01:00
MrCdK
7827c2fd57
Added a create rectangle button to the tileset editor.
...
It makes easier to create collision shapes covering the full tile.
2019-02-20 12:27:53 +01:00
Rémi Verschelde
d1f68e2eaf
Add tooltip for in-editor FPS display in 3D viewport
...
Also enhance Control/Label documentation about tooltips and mouse filter,
as it took me a while to understand why Labels didn't show tooltips.
Closes #26082 .
2019-02-20 12:16:22 +01:00
Michael Alexsander Silva Dias
5dfbdbcd0b
Enhance theme preview
2019-02-19 21:52:56 -03:00
Rémi Verschelde
6201159a47
Merge pull request #25958 from YeldhamDev/poly2d_edit_disable_fix
...
Fix Polygon2D Editor interacting with its buttons too soon
2019-02-16 23:16:53 +01:00
Michael Alexsander Silva Dias
637f41e833
Fix Polygon2D Editor interacting with its buttons too soon
2019-02-16 20:13:02 -02:00
Rémi Verschelde
4f6dd779a3
Merge pull request #25913 from Chaosus/fix_gizmo_icons
...
Fix icon color for gizmos menu when theme changed
2019-02-16 23:06:46 +01:00
Michael Alexsander Silva Dias
8bef68fe6f
Better and non-buggy Polygon2D editing disabling
2019-02-16 16:46:09 -02:00
Michael Alexsander Silva Dias
aca756fce8
Revert "Disallow polygon2D editing if internal vertices exists, as suggested in #24853 "
...
This reverts commit 419fb45a3e
.
2019-02-16 16:43:51 -02:00
Fabio Alessandrelli
1aa1f42963
Fix uninitialized value
2019-02-16 16:01:20 +01:00
Chaosus
a51088a7f9
Fix icon color for gizmos menu when theme changed
2019-02-15 20:32:38 +03:00
marxin
7ae160f661
Fix 2 more UBSAN issues ( #25217 ).
2019-02-14 20:47:35 +01:00
Juan Linietsky
419fb45a3e
Disallow polygon2D editing if internal vertices exists, as suggested in #24853
2019-02-13 13:11:39 -03:00
Juan Linietsky
7f69da488e
Change some editing display options to make it clearer, as requested in #24853
2019-02-13 11:42:05 -03:00
Rémi Verschelde
d2765cd04a
Merge pull request #25814 from allkhor/hide_warning_panel
...
Hide the warning panel when no warnings presents.
2019-02-13 12:56:59 +01:00
allkhor
0137ec3468
Hide the warnings panel when no warnings presents.
2019-02-13 17:01:21 +06:00
Rémi Verschelde
55ca2a7c88
Merge pull request #25821 from akien-mga/sync-class-and-filenames
...
Ensure classes match their header filename
2019-02-13 08:49:39 +01:00
samHFIT
5e28fa53c4
Fixes issue #25822
2019-02-12 12:30:56 -05:00
Rémi Verschelde
c5dcbeb160
Scene: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`
Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
Rémi Verschelde
b7cc2bb1e2
Core: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`
Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
2019-02-12 13:34:25 +01:00
Rémi Verschelde
ba0a4a942e
i18n: Sync translation template with current source
2019-02-10 13:19:03 +01:00
qarmin
c8f084b0d5
Fix latest regression error in SpriteFramesEditor
2019-02-09 12:50:19 +01:00
Rémi Verschelde
8253cdbda3
Merge pull request #25692 from YeldhamDev/spriteframes_editor_changes
...
Small changes to the SpriteFrames editor
2019-02-08 19:52:20 +01:00
Rémi Verschelde
5e837b3f13
Merge pull request #25552 from groud/better_error_message
...
Displays errors and warnings in a better way in the script editor
2019-02-08 17:03:55 +01:00
Michael Alexsander Silva Dias
d3082c99b5
Small changes to the SpriteFrames editor
2019-02-07 22:54:59 -02:00
hsandt
5165a90ef6
[Script Editor] Refactored ScriptTextEditor::_edit_option by extracting EDIT_TOGGLE_COMMENT case
...
CodeEditor::toggle_inline_comment is now used by both ScriptTextEditor and ShaderEditor
2019-02-04 20:21:08 +01:00
Daniel Rakos
6df53e0401
MeshLibrary export improvements
...
- From now materials assigned to the MeshInstance (not the Mesh) get exported
into the MeshLibrary when such materials exist. This enables workflows where
the MeshLibrary is exported from an imported scene (e.g. GLTF) where the
materials assigned to the Mesh (not the MeshInstance) get overwritten on
re-import, thus can't use editor set materials in the exported MeshLibrary
unless they are assigned to the MeshInstance whose materials get saved with
the inherited scene thus persist across re-imports.
- When appending to an existing MeshLibrary only generate previews for newly
added or modified meshes.
- During preview generation transform camera and lights instead of the mesh
and use the source MeshInstance's transform for the mesh to avoid weird
previews being generated for meshes with a position dependent material
(e.g. when using triplanar mapping).
- Adjust the camera angle and light directions used in mesh preview generation
for better results.
2019-02-03 22:48:35 +01:00
Gilles Roudière
5f981d7fef
Displays errors and warnings in a better way in the script editor
2019-02-01 17:20:59 +01:00
Rémi Verschelde
58de384978
Merge pull request #25540 from JFonS/remove_gizmo_errors
...
Fix gizmo errors on "Align with view"
2019-02-01 14:12:37 +01:00
JFonS
2232d3336e
Fix gizmo errors on "Align with view"
2019-02-01 12:16:05 +01:00
Gilles Roudiere
96f25c8b67
Move some tilemap options to the toolbar
2019-01-30 16:06:40 +01:00
volzhs
1c14da3273
Remove unnecessary call VS::get_singleton() twice
2019-01-29 02:55:13 +09:00
Rémi Verschelde
2ad6212a3f
Merge pull request #25372 from JFonS/add_gizmo_docs
...
Minor fixes and documentation for Spatial Gizmos
2019-01-27 19:06:42 +01:00
JFonS
e90fb5b0ab
Minor fixes and documentation for Spatial Gizmos
2019-01-27 18:40:01 +01:00
Rémi Verschelde
1bed784c9a
Merge pull request #25380 from godotengine/fix_pivot
...
Fixes the pivot setting with control nodes
2019-01-27 18:20:06 +01:00
Juan Linietsky
a089061120
Fix pixelized previews, but also instances of breaking ImageTexture cache. Closes #25378 .
2019-01-27 13:41:47 -03:00
Gilles Roudiere
d3619f8743
Disables the Layout menu when a Control node is child of a container
2019-01-27 16:36:10 +01:00
Gilles Roudiere
3cfd80b0bf
Fixes the pivot setting with control nodes
2019-01-27 15:51:45 +01:00
qarmin
6c159acf47
Add third point to move Rectangle Shape 2D in two axis
2019-01-25 09:49:28 +01:00
groud
8676370aa5
Fixes Node2D selection not adapting to editor zoom level
2019-01-24 20:43:11 +01:00
Rémi Verschelde
4a184a79e0
Merge pull request #25215 from akien-mga/scripteditor-goto-line
...
Fix going to script line on VisualScript errors
2019-01-22 12:19:15 +01:00
Rémi Verschelde
79a4c41b22
Fix going to script line on VisualScript errors
...
Fixes #18103 , which was a regression from #16888 .
2019-01-22 10:55:55 +01:00
Michael Alexsander Silva Dias
f1cd587bbd
Make the Texture Region Editor able to edit regions of Sprite3Ds
2019-01-21 16:52:57 -02:00
groud
056ea997e5
Displays the pivot all the time and rotate the icon
2019-01-18 19:30:45 +01:00
Juan Linietsky
541422a4a2
Clean up and fix issues after merging #21701 , closes #21104
2019-01-18 13:01:24 -03:00
Rémi Verschelde
e4f1b995cc
Fix radio buttons support in ItemListEditorPlugin
...
This was missed in bf14a6deff
.
2019-01-17 16:14:01 +01:00
jlahman
b8a524efa3
Fix order of a nullptr test in canvas item editor
2019-01-16 01:11:11 -05:00
Juan Linietsky
96445cd90e
Clear internal vertex counter when redrawing polygons, closes #24862 .
2019-01-15 15:43:55 -03:00
Juan Linietsky
6f884cc884
Use SceneTreeDock to replace particles node properly, fixes #24162
2019-01-14 13:41:54 -03:00
Rémi Verschelde
0222841357
i18n: Sync translation template with current source
2019-01-14 16:42:58 +01:00
Guilherme Felipe
771fbd282a
Show play position of sub state machine
...
Sub state machine now show the play position of the current state
playing.
2019-01-13 16:00:33 -02:00
Rémi Verschelde
8972c05e80
Merge pull request #24899 from YeldhamDev/poly2duv_editor_undoredo_fix
...
Fix UndoRedo operations for the new features in the Polygon2D UV Editor
2019-01-11 10:08:05 +01:00
Juan Linietsky
2cd15849f9
Fixes to auto triangle editing in BlendSpace2D
2019-01-10 21:40:46 -03:00
Michael Alexsander Silva Dias
7cef10a503
Fix UndoRedo operations for the new features in the Polygon2D UV Editor
2019-01-10 22:20:06 -02:00
groud
c48f92e394
Fixes 2D bones selection
2019-01-09 20:55:04 +01:00
Guilherme Felipe
c7d4807b7b
Hides error_panel of state machine on the first time.
2019-01-09 15:16:41 -02:00
x2f
b50fa06c6d
Fix for issue #24810 (find in files logic)
...
Match case check box was used for whole words as well as match case.
2019-01-09 00:23:46 -05:00
Juan Linietsky
e46f28e02d
Removed splits in Polygon editor, replace by internal vertices and polygon support.
2019-01-08 19:11:08 -03:00
Rémi Verschelde
ac8ae09bc3
i18n: Sync translation template with current source
...
Misc fixes to source strings.
2019-01-07 16:57:52 +01:00
Rémi Verschelde
db33b03f49
Merge pull request #24814 from YeldhamDev/animtree_editor_statemach_scrolls
...
Move scrolls in the StateMachine editor inside the panel
2019-01-07 15:11:05 +01:00
Michael Alexsander Silva Dias
67ac8fe359
Move scrolls in the StateMachine editor inside the panel
2019-01-07 00:21:48 -02:00
Guilherme Felipe
59df3ca911
Fix state machine scroll
2019-01-06 12:35:12 -02:00
Rémi Verschelde
495e40cff8
Revert "Fix blend tree generating wrong node names"
2019-01-04 19:45:39 +01:00
Timo Schwarzer
163e0e3ebd
Add thumbnails to LargeTexture
2019-01-03 13:09:25 +01:00
Rémi Verschelde
f1d1ecb383
Merge pull request #24686 from YeldhamDev/autotile_grid_separation_fix
...
Fix incorrect grid snapping in TileSet editor with separation
2019-01-01 19:04:04 +01:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
d1f3b622f0
Fix missing/malformed license headers
2019-01-01 12:46:36 +01:00
Michael Alexsander Silva Dias
07fdd2c702
Fix incorrect grid snapping in TileSet editor with separation
2018-12-31 13:36:51 -02:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
...
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
Rémi Verschelde
1d7b69ebbc
Merge pull request #24664 from SoIAS/graph_node_headers_statemachine-24458
...
Removed graph node headers from state machine nodes
2018-12-30 14:06:58 +01:00
Michael Alexsander Silva Dias
4a91f94c13
Add undo-redo to the TileSet editor, and other improvements
2018-12-30 10:54:03 -02:00
Dawid Wdowiak
58ae20f239
Removed graph node headers from state machine nodes
2018-12-30 09:25:13 +01:00
Michael Alexsander Silva Dias
8aad7ef016
General fixes for the TileSet editor
2018-12-24 18:27:43 -02:00
Guilherme Felipe
bacf5124cf
Add EDITMODE_PRIORITY for ATLAS_TILE
...
When editing ATLAS_TILE, now it's possible to enable priority to
randomize subtiles.
2018-12-23 18:56:18 -02:00
Guilherme Felipe
8a202bc223
Fix blend tree generating wrong node names
...
Now it's possible to connect nodes again.
2018-12-22 12:18:04 -02:00
JFonS
6b15b4f904
Expose the new gizmo plugin system to scripting
2018-12-21 23:56:39 +01:00
Rémi Verschelde
be8c0d57c5
Merge pull request #24519 from Chaosus/error_label_fix
...
Change LinkLabel back to Label in error status bar
2018-12-21 10:14:04 +01:00
Rémi Verschelde
f09956c86c
Merge pull request #24513 from YeldhamDev/fix_tileset_editor_draw
...
Fix small drawing error in TileSet editor
2018-12-21 10:09:00 +01:00
Chaosus
260b5818f1
Change LinkLabel back to Label in error status bar
2018-12-21 11:39:54 +03:00
Michael Alexsander Silva Dias
daf54133c2
Fix small drawing error in TileSet editor
2018-12-20 19:52:56 -02:00
Guilherme Felipe
21bad78bd8
Fixes for TileSetEditor and TileMapEditor
...
[TileSetEditor] Hide Bitmask and Priority for ATLAS_TILE
[TileMapEditor] Hide "Disable autotile" if the selected tile isn't
autotile
Fix #22756 , don't update bitmask when tilemode is ATLAS_TILE
2018-12-20 15:31:45 -02:00
Rémi Verschelde
26058376aa
Merge pull request #24462 from guilhermefelipecgs/fix_copy_paste_tilemap
...
Fix copy/paste for TileMap
2018-12-19 08:43:52 +01:00
Guilherme Felipe
06a929ace7
Fix copy/paste for TileMap
...
Fix #24440
2018-12-18 22:48:59 -02:00
Michael Alexsander Silva Dias
2b278a5336
Small fixes for the AnimationTree editor
2018-12-18 15:24:22 -02:00
Rémi Verschelde
1621270f26
Merge pull request #24432 from YeldhamDev/animationtree_editor_fixes
...
General fixes for the AnimationTree editor
2018-12-18 09:08:10 +01:00
Rémi Verschelde
75c6ad9756
Merge pull request #24427 from guilhermefelipecgs/fix_bread_crumb
...
Fix bread crumb of AnimationTree
2018-12-18 09:06:57 +01:00
Michael Alexsander Silva Dias
3c9ce2406b
Make the AnimationTree editor's path section more obvious
2018-12-17 23:52:14 -02:00
Michael Alexsander Silva Dias
b86b497cec
General fixes for the AnimationTree editor
2018-12-17 21:03:58 -02:00
Guilherme Felipe
317561863d
Fix bread crumb of AnimationTree
2018-12-17 17:08:41 -02:00
Rémi Verschelde
28b10ea668
Fix sometimes uninitialized variable warning raised by Xcode 9.4.1
...
Fixes this warning raised by Travis CI on macOS:
```
editor/plugins/polygon_2d_editor_plugin.cpp:95:6: warning: variable 'skeleton' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (!node->has_node(node->get_skeleton())) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:106:7: note: uninitialized use occurs here
if (!skeleton) {
^~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:95:2: note: remove the 'if' if its condition is always false
if (!node->has_node(node->get_skeleton())) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:94:22: note: initialize the variable 'skeleton' to silence this warning
Skeleton2D *skeleton;
^
= NULL
```
2018-12-17 12:28:11 +01:00
Michael Alexsander Silva Dias
9d4a996a08
Fix titles in graph editors being invisible when headers are enabled
2018-12-16 23:18:04 -02:00
Guilherme Felipe
bcd2659a2f
Fix "undo" of the state machine losing node's position
2018-12-16 18:06:26 -02:00
Rémi Verschelde
2f31d31c23
Revert "Use more subtle indentation guides in the script editor"
2018-12-13 19:57:34 +01:00
Rémi Verschelde
17c3c64a80
i18n: Sync translation template with current source
...
Also French translation update and misc fixes to source strings.
2018-12-13 14:47:24 +01:00
Rémi Verschelde
4d27b1fe4f
Merge pull request #24109 from remorse107/godotengine-path2d-editor-fix
...
Fixed Path2D Plugin Editor so segments can be split.
2018-12-12 16:02:55 +01:00
Rémi Verschelde
c8a5400654
Merge pull request #24241 from Rubonnek/move-to-initializer-list
...
Moved member variables to initializer list
2018-12-12 09:25:34 +01:00
Wilson E. Alvarez
08f22f1cf0
Moved member variables to initializer list
2018-12-11 18:33:01 -05:00
Michael Alexsander Silva Dias
8f9447310d
Enable toggle behaviour for buttons that trigger popups
2018-12-11 19:23:26 -02:00
Mariano Suligoy
1884952ae3
Fix "index -1 out of range" error spam when the Editor is using translations. Fixes #24277
2018-12-11 08:26:36 -03:00
Andrii Doroshenko (Xrayez)
feb12559e6
Properly reselect duplicated visual shader nodes
...
This makes it much easier to drag duplicated nodes away from original ones.
2018-12-10 14:20:58 +02:00
Rémi Verschelde
bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00
Rémi Verschelde
3a312dbd32
Merge pull request #20725 from Calinou/textedit-subtle-indent-guides
...
Use more subtle indentation guides in the script editor
2018-12-09 23:10:32 +01:00
Rémi Verschelde
dc54ee18ae
Merge pull request #24236 from Xrayez/fix-20212
...
Fix duplicating visual shader nodes
2018-12-09 21:45:05 +01:00
Andrii Doroshenko (Xrayez)
86eb6951c7
Fix duplicating visual shader nodes
2018-12-09 15:37:57 +02:00
Michael Alexsander Silva Dias
1bb14971e5
Minor changes to the File menu in the Script Editor
2018-12-08 15:59:15 -02:00
Michael Alexsander Silva Dias
e425f2d498
Expose "meta" to the Inspector
2018-12-08 02:27:20 -02:00
Guilherme Felipe
69f6f787c0
Add Z-Index for Autotile
2018-12-07 18:42:56 -02:00
Robert Morse
bce3599bd7
Fixed an issue with the Path2D plugin editor not supporting the capability to split curves as its toolbar buttons originally advertised.
2018-12-07 08:27:36 -06:00
Rémi Verschelde
c2e96c65b3
Merge pull request #23327 from YeldhamDev/search_shaders
...
Added "shader" filter to "Find in Files"
2018-12-07 15:11:32 +01:00
Michael Alexsander Silva Dias
d514ac405b
Hide "Script" section in the "TilesetEditorContext"
2018-12-07 02:18:02 -02:00
Rémi Verschelde
3f1bec5887
Merge pull request #23977 from YeldhamDev/editor_plugins_improvements
...
General enhancements to the Polygon2D, TextureRegion, and TileSet editors
2018-12-06 16:26:16 +01:00
David Kennedy
29284f628c
Fixes editor crashing when editing autotiles issue #24004
2018-12-06 07:15:48 -03:00
Michael Alexsander Silva Dias
e4d0ecce7a
General enhancements to the Polygon2D, TextureRegion, and TileSet editors
2018-12-06 03:29:27 -02:00
Rémi Verschelde
99640ac583
Merge pull request #24165 from YeldhamDev/light_occluder_reuse_polygon
...
Make LightOccluder2D Editor use the AbstractPolygon Editor instead of its own
2018-12-05 08:59:29 +01:00
Michael Alexsander Silva Dias
53764a5ee6
Make LightOccluder2D Editor use the AbstractPolygon Editor instead of its own
2018-12-04 18:25:19 -02:00
Michael Alexsander Silva Dias
3ae5eec366
Add tooltips to GraphEdit node
2018-12-04 15:00:27 -02:00
asheraryam
79ca8e7305
Use filename as fallback instead of the class name for mesh instance loaded by dragging from file to editor.
2018-12-02 23:41:09 +02:00
Rémi Verschelde
8dd00ed176
Merge pull request #24117 from Paulb23/txt_file_last_modified_time
...
Fix text files constantly asking for reload as no last modified time
2018-12-02 21:45:24 +01:00
Paulb23
69fe17639e
Fix text files constantly asking for reload as no last modified time
2018-12-02 16:24:23 +00:00
Michael Alexsander Silva Dias
2823251c2f
Fix ItemList editor not hiding on node removal
2018-11-30 01:59:29 -02:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Juan Linietsky
cdafb7bce2
Properly show 2D bone previews in 2D skeleton UV editor, fixes #20950
2018-11-22 22:23:19 -03:00
Rémi Verschelde
da31d63f76
Merge pull request #23680 from YeldhamDev/unified_help_search_revived
...
Unified Class and Reference Search 2: Resurrection
2018-11-22 16:16:52 +01:00
Rémi Verschelde
edbecf5908
Merge pull request #23875 from Chaosus/error_btn
...
Allows user to click on error line in status bar to jump into error.
2018-11-22 16:06:39 +01:00
Chaosus
1129d83272
Allows user to click on error line to jump into error.
2018-11-22 11:55:36 +03:00
Juan Linietsky
9018e8b132
Add Discrete and Carry blend modes for BlendSpace2D, allows to fix #20135
2018-11-21 16:07:24 -03:00
Ray Koopa
fddffa9eb8
Unify editor class and reference search
...
Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2018-11-20 20:52:27 -02:00
Michael Alexsander Silva Dias
da7d3c5a58
Make opening menus with the same parent on mouse focus explicit
2018-11-20 20:37:45 -02:00
Rémi Verschelde
57b634ad3d
Merge pull request #23813 from JFonS/change_gizmo_default
...
Change default gizmo visibility and icons
2018-11-20 08:50:18 +01:00
JFonS
e5a4fa5281
Change default gizmo visibility and icons
2018-11-18 22:01:09 +01:00
Rémi Verschelde
9eb4b6d91a
Merge pull request #23748 from groud/fix_drag_and_drop_canvas_items
...
Fixes drag and drog of image files on scaled nodes
2018-11-17 17:20:50 +01:00
Rémi Verschelde
efd4228892
EditorSettings: Rename invert_y-axis to invert_y_axis for consistency
...
No other option uses a dash in its identifier.
2018-11-17 16:19:02 +01:00
groud
60f2e94c08
Fixes drag and drog of image files on scaled nodes
2018-11-16 16:55:28 +01:00
Juan Linietsky
7f347cc31a
It is now possible to cancel on 2D polygon editor. RMB (previously close) and ESC will cancel polygon. Closes #15474
2018-11-13 18:50:54 -03:00
Ibrahn Sahir
ed337085cf
Fixed various uninitialised member variables in editor plugins.
2018-11-11 17:32:47 +00:00
Juan Linietsky
d16ce4a8ed
Many fixes to script editor remote debugger, closes #13346
2018-11-11 09:16:27 -03:00
Rémi Verschelde
f2873e5d06
Merge pull request #23638 from DualMatrix/tileset_spam
...
Fixed error spam when deleting cell in tileset
2018-11-10 21:53:11 +01:00
DualMatrix
b6c386a3b0
Fixed error spam when deleting cell in tileset
...
Fixes #23556 and should fix #21549
2018-11-10 18:52:52 +01:00
Juan Linietsky
eb2d7228cd
Make TextureRegion grid settings occupy less space, closes #12679
2018-11-10 08:08:27 -03:00
Rémi Verschelde
d4c62e714c
Merge pull request #23578 from Liangdi/master
...
fix tile set editor crash when drawing polygon shapes
2018-11-09 15:57:31 +01:00
Rémi Verschelde
eef2625ae5
Merge pull request #23059 from groud/change_ci_selection
...
Allow the Container children selection but don't allow them to move
2018-11-09 10:04:34 +01:00
Juan Linietsky
531dc2f435
Proper time tracking in AnimationNodeAnimation, closes #22887
2018-11-08 16:51:45 -03:00
Liangdi
5116c009c9
fix tile set editor crash when drawing polygon shapes
2018-11-08 02:10:13 +08:00
groud
0ec448d21d
Fixes icons in itemlist not working
2018-11-07 18:29:24 +01:00
Rémi Verschelde
de0d306558
Merge pull request #23383 from groud/better_tilemap_transform
...
Enhance the tilemap transform buttons
2018-11-06 22:27:29 +01:00
groud
742a9d9023
Fixes uniform scaling issues (for real this time)
2018-11-06 21:51:48 +01:00
groud
c2b6a900fc
Fixes uniform scaling weird behavior
2018-11-05 23:31:57 +01:00
Michael Alexsander Silva Dias
f6d137d3d0
Added "shader" filter to "Find in Files"
2018-11-05 12:13:08 -02:00
Rémi Verschelde
06a133bdd1
Merge pull request #23518 from volzhs/confirmed_already_connected
...
Fix error with a specific dock layout
2018-11-05 13:06:27 +01:00
Rémi Verschelde
5f8af252e8
doc: Use HTTPS for docs.godotengine.org and point to latest branch
...
Fixes #23509 .
2018-11-05 08:46:27 +01:00
Rémi Verschelde
935537c531
Merge pull request #23508 from Paulb23/clone_last_line_issue_21811
...
Fix clone line undo history and extra new line, issue 21811
2018-11-05 08:38:42 +01:00
Rémi Verschelde
4c63772f54
Merge pull request #22622 from JFonS/fix_particle_animation
...
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
2018-11-05 07:59:30 +01:00
volzhs
9f62f79dbb
Fix error with a specific dock layout
2018-11-05 11:45:25 +09:00
Paulb23
6c54cb8bff
Fix clone line undo history and extra new line, issue 21811
2018-11-04 18:33:16 +00:00
JFonS
85ce4a67ed
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
...
Remove animation loop from ParticlesMaterial and move it to
SpatialMaterial for 3D particles and Particles2D for the 2D case.
Added animation to CPUParticles2D as well as the "Convert to
CPUParticles2D" to the PAarticles2D menu.
2018-11-04 15:58:12 +01:00
groud
952f3004f1
Fixes CollisionShape extends not updating when draggind handles
2018-11-03 19:15:10 +01:00
Rémi Verschelde
a3501c096f
Merge pull request #21897 from Calinou/3d-display-camera-coordinates
...
Display camera coordinates in the 3D viewport's information pane
2018-11-02 11:33:22 +01:00
Pedro J. Estébanez
d856ec611a
Let TileSet editor sanitize out tiles with wrong textures
2018-11-02 04:54:28 +01:00
Rémi Verschelde
91e5782795
Merge pull request #23311 from YeldhamDev/editor_capitalization_fix
...
Small capitalization fixes across the editor
2018-11-01 21:37:33 +01:00
Juan Linietsky
755249f7d9
Merge pull request #22311 from Xrayez/fix-22037
...
Fix blend tree editor updating invalid blend tree node graph
2018-11-01 16:59:48 -03:00
Rémi Verschelde
9000b1a75d
Merge pull request #22938 from groud/open_spriteframes_on_animatedsprites_edit
...
Opens the SpriteFrames editor when editing an AnimatedSprite
2018-11-01 10:49:38 +01:00
Rémi Verschelde
c7928bc27f
Merge pull request #23195 from Liangdi/master
...
support New TileSet Editor zooming use CTRL/CMD + MouseWheel
2018-11-01 10:37:27 +01:00
groud
0c2ebbe626
Add an overlay on editor to display error messages
2018-10-30 18:53:58 +01:00
groud
a05ef683a5
Allow the Container children selection but don't allow them to move
2018-10-30 14:56:55 +01:00
groud
bdb5282ea0
Enhance the tilemap transform buttons
2018-10-30 14:43:52 +01:00
Michael Alexsander Silva Dias
ec00ec08aa
Fix issues with the "Search Results" panel
2018-10-27 22:48:09 -03:00
Michael Alexsander Silva Dias
f3835282c4
Small capitalization fixes across the editor
2018-10-26 16:11:36 -03:00
Liangdi
aaa7f625df
support New TileSet Editor zooming use CTRL/CMD + MouseWheel
...
fixed code style for clang-format
apply clang-format
2018-10-26 23:58:58 +08:00
Michael Alexsander Silva Dias
46d02bade4
Fix inconsistences in some buttons in the Canvas/Spatial editor menubar
2018-10-25 12:15:39 -03:00
Rémi Verschelde
3f23b2ecf4
Merge pull request #23017 from Calinou/increase-source-font-line-spacing
...
Increase the source font's line spacing
2018-10-25 17:31:24 +02:00
Rémi Verschelde
48c6844b00
Merge pull request #23171 from capnm/fix-orthogonal-mode-freelook
...
Disable 'freelook' in the orthogonal mode.
2018-10-25 11:35:32 +02:00
Rémi Verschelde
bf737ee8da
Merge pull request #23211 from YeldhamDev/spatial_editor_preview_adjustment
...
Readjust "Preview" button in Spatial editor
2018-10-25 10:58:50 +02:00
M. Huri
b46ba24e3b
Repaired mistyped of 'its' on several files.
2018-10-25 07:19:21 +07:00
Martin Capitanio
808b46cfc2
Fix 'Align selection with view' in orthogonal mode
...
Fixes #23096
2018-10-22 17:05:16 +02:00
Michael Alexsander Silva Dias
36575fe628
Readjust "Preview" button in Spatial editor
2018-10-21 23:06:27 -03:00
Rémi Verschelde
3ac0e8d0df
Merge pull request #23181 from Calinou/tweak-min-panel-sizes-hidpi
...
Resize some editor panel minimum sizes on hiDPI displays
2018-10-21 11:26:58 +02:00
Timo
a94e25016b
Merge pull request #22972 from YeldhamDev/3d_view_perspective_button
...
Make "Perspective" button look like a actual clickable button
2018-10-21 03:59:59 +02:00
Hugo Locurcio
f126b61748
Resize some editor panel minimum sizes on hiDPI displays
...
This also increases the plugin description TextEdit's height,
so that 3 lines can be viewed instead of just 2 (leaving a few pixels
for the scroll bar).
2018-10-20 22:09:42 +02:00
Martin Capitanio
9548707298
Disable 'freelook' in the orthogonal mode.
...
Fixes #23095
Thanks @aaronfranke for hints.
Fixes #23078
2018-10-20 12:49:33 +02:00
Dualtagh Murray
b902a2f2a7
Fixing warnings generated by MSVC
...
Fixes #22684 .
2018-10-19 11:45:24 +02:00
Rémi Verschelde
cb30b60de6
Merge pull request #23112 from groud/fix_viewport_not_updating
...
Fixes viewport scrollbars not updating with plugins
2018-10-19 11:19:49 +02:00
Michael Alexsander Silva Dias
9d69c34990
Make "Perspective" button look like a actual clickable button
2018-10-18 22:36:59 -03:00
groud
ced6f43455
Fixes viewport scrollbars not updating with plugins
2018-10-18 14:06:57 +02:00
Rémi Verschelde
0d8284d3d4
Merge pull request #23037 from SeleckyErik/issue-23036
...
Hide header and footer in AssetLib when not necessary
2018-10-17 16:13:44 +02:00
Zaven Muradyan
b58c46fc9c
Add tooltip to skeleton menu button.
...
Fixes #23008 .
2018-10-17 00:53:29 -07:00
Rémi Verschelde
49aa1be9b6
Merge pull request #22738 from akerudesu/script_comments
...
Improve toggle comment function in script editor
2018-10-16 15:07:07 +02:00
Erik
cd759c773d
Hide header and footer in AssetLib when not necessary
...
Reduces visual clutter by hiding pages navigator header and footer in AssetLib if no results are
found or when results fit on one page one page.
Fix for issue #23036
2018-10-15 19:26:57 +02:00
Hugo Locurcio
976b3e3284
Increase the source font's line spacing
...
This also increases line spacing in license texts in the editor's
About dialog.
2018-10-14 21:39:49 +02:00
merumelu
27596f6031
TileSetEditor: Don't crash when adding invalid files
2018-10-11 17:15:01 +02:00
groud
2b71f52831
Opens the SpriteFrames editor when editing an AnimatedSprite
2018-10-11 17:03:14 +02:00
Unknown
c3d40e42ce
Improve toggle comment function in script editor.
2018-10-09 19:39:45 +02:00
Rémi Verschelde
c5da418b0b
Merge pull request #22698 from Calinou/fix-find-files-hidpi
...
Fix Find in Files font size on hiDPI displays
2018-10-07 11:43:39 +02:00
Rémi Verschelde
bf6dcb9105
Merge pull request #22722 from akien-mga/fix-warnings
...
Fix more "may be used initialized" warnings from GCC 7
2018-10-07 11:07:13 +02:00
Rémi Verschelde
44d82b3a07
Merge pull request #22752 from aaronfranke/equals-redundant
...
Remove redundant "== true" and "== false" code
2018-10-07 10:58:45 +02:00
Hugo Locurcio
1a2f6cfcb5
Make the 3D viewport menu button easier to read
...
This closes #22809 .
2018-10-06 23:00:33 +02:00
Aaron Franke
4f7b33cdcf
Remove redundant "== false" code
...
Some of this code has been re-organized.
f
2018-10-06 16:20:41 -04:00
Aaron Franke
37386f112b
Remove redundant "== true" code
...
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-06 16:12:36 -04:00
Hugo Locurcio
7063878243
Fix Find in Files font size on hiDPI displays
...
This closes #22692 .
2018-10-05 21:37:26 +02:00
William Tumeo
af10067727
Improve ResourcePreloader editor plugin
...
Fix #22724 by adding an Open Resource button
Add a Remove button to each tree item
Remove the old Remove button and its useless code
Adjust columns min width
Remove Resource names and move icons to the left
Add a Resource icon fallback
2018-10-05 14:59:10 -03:00
Rémi Verschelde
3e9740ac93
Fix more "may be used initialized" warnings from GCC 7
...
Fixes the following GCC 7 warnings:
```
core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized]
servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-10-04 18:54:20 +02:00
Rémi Verschelde
8068d0217a
Merge pull request #22715 from groud/fix_tilemap_editor
...
Fixes tilemap editor offset tile selection
2018-10-04 18:20:29 +02:00
Simon Wenner
10718b0961
Fix some cppcheck errors
...
cppcheck: fix broken pre-processor statement
cppcheck: fix Uninitialized struct members in canvas editor plugin
cppcheck: fix uninitialized struct member: method_api.is_virtual
2018-10-04 18:16:04 +02:00
groud
c7725aa98a
Fixes tilemap editor offset tile selection
2018-10-04 14:20:03 +02:00
Rémi Verschelde
181af9b484
Merge pull request #22713 from akien-mga/fix-warnings
...
Fix GCC 8 warnings about potentially unitialized variables
2018-10-04 14:19:05 +02:00
the 8th mage
f7a9866417
Fix TileMap editor drawing
...
the tile cursor did not follow the mouse cursor, and the tile grid was displayed wrong,
because the forward_canvas_draw_over_viewport function used the wrong xform and thus its
map_to_world is not the inverse of the mouse interactor world_to_map, making the tiles
draw from 0,0 of the screen instead of 0,0 of the tile map (which is in a different place)
2018-10-04 13:19:55 +02:00
Rémi Verschelde
f48ee838e7
Fix GCC 8 warnings about potentially unitialized variables
...
Fixes the following GCC 8 warnings:
```
core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
```
2018-10-04 13:08:41 +02:00
Hugo Locurcio
9c1d4f9da2
Use more subtle indentation guides in the script editor
2018-10-03 00:00:25 +02:00
Rémi Verschelde
540db0a0e7
Merge pull request #22329 from DualMatrix/no_select
...
Made children of Containers not selectable.
2018-10-02 16:39:00 +02:00
Rémi Verschelde
c026e3957a
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor]
...
Fixes the following Clang 7 warnings:
```
editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual]
servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual]
core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
```
2018-10-02 13:40:17 +02:00
Rémi Verschelde
106acb27f9
Merge pull request #22568 from dlasalle/#14959
...
Explicitly show viewport 0 in the SpatialEditorPlugin if the container is large enough.
2018-10-02 11:26:29 +02:00
Rémi Verschelde
dd3f6a04db
Merge pull request #21679 from pgruenbacher/spatial_editor_viewport_get_camera
...
added get_camera_method to spatial editor plugin viewport
2018-10-02 11:23:14 +02:00
Rémi Verschelde
876456754d
Merge pull request #21421 from YeldhamDev/mult_view_changes
...
Small improvements to the Spatial Editor's multiple viewport mode
2018-10-02 11:22:49 +02:00
Rémi Verschelde
b2bba4be44
Fix warnings about invalid logical not on left hand side [-Wlogical-not-parentheses]
...
Fixes the following Clang 7 warnings and bugs:
```
editor/plugins/curve_editor_plugin.cpp:208:69: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
editor/plugins/curve_editor_plugin.cpp:214:43: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
```
Changed according to @Zylann's suggestion on
https://github.com/godotengine/godot/pull/22593#discussion_r221699573
2018-10-01 23:21:46 +02:00
Rémi Verschelde
b1b625f4f5
Fix various Clang 7 warnings about unused stuff
...
Namely:
[-Wunneeded-internal-declaration]
[-Wunused-comparison]
[-Wunused-const-variable]
[-Wunused-function]
[-Wunused-private-fields]
Fixes the following Clang 7 warnings:
```
editor/plugins/script_editor_plugin.cpp:1417:20: warning: function '_find_node_with_script' is not needed and will not be emitted [-Wunneeded-internal-declaration]
editor/scene_tree_dock.cpp:1859:14: warning: function '_find_last_visible' is not needed and will not be emitted [-Wunneeded-internal-declaration]
modules/gdscript/gdscript_parser.cpp:7838:19: warning: equality comparison result unused [-Wunused-comparison]
scene/resources/mesh.cpp:549:35: warning: unused variable '_array_types' [-Wunused-const-variable]
scene/resources/mesh.cpp:563:18: warning: unused variable '_format_translate' [-Wunused-const-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:54:28: warning: unused function 'store_transform2d' [-Wunused-function]
core/io/file_access_network.h:50:6: warning: private field 'ml' is not used [-Wunused-private-field]
core/io/file_access_zip.h:93:14: warning: private field 'archive' is not used [-Wunused-private-field]
core/io/resource_format_binary.h:122:6: warning: private field 'bin_meta_idx' is not used [-Wunused-private-field]
core/message_queue.h:47:9: warning: private field 'mutex' is not used [-Wunused-private-field]
main/tests/test_gui.cpp:63:11: warning: private field 'control' is not used [-Wunused-private-field]
modules/gdscript/gdscript_parser.h:558:7: warning: private field 'completion_static' is not used [-Wunused-private-field]
platform/x11/os_x11.h:148:11: warning: private field 'ip_unix' is not used [-Wunused-private-field]
platform/x11/os_x11.h:180:7: warning: private field 'net_wm_icon' is not used [-Wunused-private-field]
platform/x11/os_x11.h:189:6: warning: private field 'audio_driver_index' is not used [-Wunused-private-field]
platform/x11/os_x11.h:190:15: warning: private field 'capture_idle' is not used [-Wunused-private-field]
servers/physics/body_pair_sw.h:79:6: warning: private field 'cc' is not used [-Wunused-private-field]
servers/visual/visual_server_raster.h:62:7: warning: private field 'draw_extra_frame' is not used [-Wunused-private-field]
```
2018-10-01 17:32:12 +02:00
Aaron Franke
cd349efb0e
Minor nit-picky tweaks in spatial_editor_plugin.cpp
...
* Orthogonal cameras don't have an FOV that's "near zero". Or zero, or any number of degrees. It's not a measurement of degrees, it's just a fixed width. This comment is more accurate. Also, "terrible" is a better word than "awful" here.
* While I'm editing this file, the "String ortho" variable name could be more intuitive, so I've changed it to "view_mode".
Minor nit-picky changes, I know, but I found it so I may as well improve it.
2018-10-01 02:01:06 -04:00
Dominique LaSalle
df06087057
Explicitly show viewport 0 in the SpatialEditorPlugin if the container is large enough.
2018-09-30 10:09:31 -07:00
Rémi Verschelde
62ecb44035
Fix warning about functions defined but not used [-Wunused-function]
...
Fixes the following GCC 5 warnings:
```
core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function]
core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function]
editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function]
editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function]
modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function]
scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
```
Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword.
Not fixed yet (static definition in header used in some files but not all):
```
modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function]
```
Also fixed a couple other warnings missed in previous commits.
2018-09-29 22:26:12 +02:00
Rémi Verschelde
3a2ca68af3
SCons: Build thirdparty code in own env, disable warnings
...
Also remove unnecessary `Export('env')` in other SCsubs,
Export should only be used when exporting *new* objects.
2018-09-28 14:07:39 +02:00
Rémi Verschelde
c7e646c30a
Merge pull request #22447 from akien-mga/fix-warnings-Wswitch
...
Fix warnings about unhandled enum value in switch [-Wswitch]
2018-09-28 09:47:29 +02:00
Rémi Verschelde
7b081a7fc8
Fix warnings about unhandled enum value in switch [-Wswitch]
...
Fixes GCC 5 warnings of the form:
core/io/http_client.cpp:288:9: warning: enumeration value 'STATUS_SSL_HANDSHAKE_ERROR' not handled in switch [-Wswitch]
core/io/marshalls.cpp:806:9: warning: enumeration value 'AABB' not handled in switch [-Wswitch]
Those can be trivial cases where adding a default fallback is the solution,
or more complex issues/hidden bugs where missed values are actually meant
to be handled.
2018-09-27 18:34:30 +02:00
Rémi Verschelde
1b63dd83bd
Merge pull request #22482 from groud/text_rulers
...
Place the ruler text vertically
2018-09-27 18:13:31 +02:00
groud
dfe81b9840
Place the ruler text vertically
2018-09-27 16:50:40 +02:00
Rémi Verschelde
cdc411fd54
Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more
...
Fixes the following GCC 5 warnings:
```
core/os/file_access.cpp:49:19: warning: the address of 'FileAccess::create_func' will always evaluate as 'true' [-Waddress]
servers/audio_server.cpp:192:70: warning: comparison with string literal results in unspecified behaviour [-Waddress]
drivers/gles2/rasterizer_storage_gles2.cpp:4095:90: warning: NULL used in arithmetic [-Wpointer-arith]
modules/gdnative/register_types.cpp:237:3: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
platform/android/export/export.cpp:207:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
modules/gdscript/gdscript.h:150:67: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:119:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:123:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:127:50: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:131:52: warning: returning reference to temporary [-Wreturn-local-addr]
editor/plugins/skeleton_editor_plugin.cpp:34:36: warning: extra tokens at end of #include directive
modules/bullet/bullet_types_converter.cpp:31:9: warning: #pragma once in main file
editor/import/editor_scene_importer_gltf.cpp:1996:51: warning: name lookup of 'i' changed
modules/visual_script/visual_script_property_selector.cpp:402:45: warning: name lookup of 'E' changed
scene/gui/tree.cpp:1268:25: warning: name lookup of 'i' changed
scene/resources/visual_shader.cpp:808:32: warning: name lookup of 'i' changed
```
2018-09-27 16:33:52 +02:00
Rémi Verschelde
d95bbb8922
Fix warnings about set but unused variables [-Wunused-but-set-variable]
...
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_canvas_gles2.cpp:814:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2270:11: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2673:22: warning: variable 'e' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:715:7: warning: variable 'no_cull' set but not used [-Wunused-but-set-variable]
drivers/gles2/shader_gles2.cpp:693:14: warning: variable 'cc' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_canvas_gles3.cpp:1226:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:3039:10: warning: variable 'contrib' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:4504:32: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
editor/editor_inspector.cpp:272:9: warning: variable 'guide_color' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:1067:14: warning: variable 'alpha3' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:263:8: warning: variable 'script_bg_color' set but not used [-Wunused-but-set-variable]
editor/plugins/collision_shape_2d_editor_plugin.cpp:326:11: warning: variable 'cpoint' set but not used [-Wunused-but-set-variable]
editor/plugins/mesh_editor_plugin.cpp:72:9: warning: variable 'size' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:471:12: warning: variable 'mpos' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:89:8: warning: variable 'basetype_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:90:8: warning: variable 'type_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:92:8: warning: variable 'string_color' set but not used [-Wunused-but-set-variable]
modules/visual_script/visual_script_editor.cpp:2521:7: warning: variable 'seq_connect' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:580:12: warning: variable 'styles_count' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:584:12: warning: variable 'styles_offset' set but not used [-Wunused-but-set-variable]
platform/osx/export/export.cpp:464:9: warning: variable 'zerr' set but not used [-Wunused-but-set-variable]
scene/2d/tile_map.cpp:260:10: warning: variable 'tcenter' set but not used [-Wunused-but-set-variable]
scene/3d/light.cpp:166:7: warning: variable 'editor_ok' set but not used [-Wunused-but-set-variable]
scene/3d/navigation.cpp:566:11: warning: variable 'closest_navmesh' set but not used [-Wunused-but-set-variable]
scene/gui/rich_text_label.cpp:869:8: warning: variable 'size' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:705:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:706:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:726:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:727:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/resources/material.cpp:430:7: warning: variable 'using_world' set but not used [-Wunused-but-set-variable]
servers/visual/shader_language.cpp:2026:7: warning: variable 'all_const' set but not used [-Wunused-but-set-variable]
servers/visual/visual_server_scene.cpp:1383:28: warning: variable 'z_max_cam' set but not used [-Wunused-but-set-variable]
```
Also fixes two [-Wunused-value] warnings:
```
scene/gui/text_edit.cpp:4405:20: warning: statement has no effect [-Wunused-value]
servers/visual/visual_server_scene.cpp:905:48: warning: value computed is not used [-Wunused-value]
```
Some of those are bugs and need further work, they are identified with
`// FIXME` comments.
2018-09-27 16:25:24 +02:00
Rémi Verschelde
cda5b0bfe1
Fix warnings about unused variables [-Wunused-variable]
...
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_scene_gles2.cpp:1139:15: warning: unused variable 'offset' [-Wunused-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:1205:39: warning: unused variable 'multi_mesh' [-Wunused-variable]
drivers/gles2/rasterizer_storage_gles2.cpp:359:7: warning: unused variable 'srgb' [-Wunused-variable]
drivers/gles2/shader_gles2.cpp:1016:45: warning: unused variable 'texture_hints' [-Wunused-variable]
editor/animation_track_editor.cpp:776:9: warning: unused variable 'keys_to' [-Wunused-variable]
editor/editor_inspector.cpp:273:7: warning: unused variable 'vs_height' [-Wunused-variable]
editor/editor_themes.cpp:202:10: warning: unused variable 'begin_time' [-Wunused-variable]
editor/editor_themes.cpp:239:10: warning: unused variable 'end_time' [-Wunused-variable]
editor/plugins/animation_blend_tree_editor_plugin.cpp:726:17: warning: unused variable 'an' [-Wunused-variable]
editor/plugins/script_text_editor.cpp:1278:8: warning: unused variable 'fold_state' [-Wunused-variable]
main/main.cpp:132:13: warning: 'use_vsync' defined but not used [-Wunused-variable]
modules/cvtt/image_compress_cvtt.cpp:231:8: warning: unused variable 'y_end' [-Wunused-variable]
modules/cvtt/image_compress_cvtt.cpp:311:6: warning: unused variable 'shift' [-Wunused-variable]
modules/gdscript/gdscript_editor.cpp:58:7: warning: unused variable 'th' [-Wunused-variable]
modules/gridmap/grid_map.cpp:1084:6: warning: unused variable 'ofs' [-Wunused-variable]
modules/theora/video_stream_theora.cpp:442:9: warning: unused variable 'tr' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2606:6: warning: unused variable 'count' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2829:6: warning: unused variable 'seq_count' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2844:24: warning: unused variable 'vnode_function' [-Wunused-variable]
modules/websocket/lws_peer.cpp:122:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:135:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:63:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:91:12: warning: unused variable 'peer_data' [-Wunused-variable]
platform/android/export/export.cpp:763:16: warning: unused variable 'node_size' [-Wunused-variable]
scene/gui/rich_text_label.cpp:850:10: warning: unused variable 'x_ofs' [-Wunused-variable]
scene/gui/text_edit.cpp:653:8: warning: unused variable 'tab_w' [-Wunused-variable]
scene/resources/bit_mask.cpp:186:6: warning: unused variable 'i' [-Wunused-variable]
scene/resources/mesh.cpp:549:20: warning: '_array_name' defined but not used [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:107:10: warning: unused variable 'v2' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:108:10: warning: unused variable 'v3' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:109:10: warning: unused variable 'v4' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:110:10: warning: unused variable 'v5' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:111:10: warning: unused variable 'v0n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:112:10: warning: unused variable 'v1n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:113:10: warning: unused variable 'v2n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:114:10: warning: unused variable 'v3n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:115:10: warning: unused variable 'v4n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:116:10: warning: unused variable 'v5n' [-Wunused-variable]
servers/visual/default_mouse_cursor.xpm:2:21: warning: 'default_mouse_cursor_xpm' defined but not used [-Wunused-variable]
```
2018-09-27 16:25:24 +02:00
Rémi Verschelde
e5bbcb8bcf
Fix warnings for comparison between signed and unsigned integers [-Wsign-compare]
...
Also turn off -Wsign-compare warnings in the future, we do not consider them important.
Fixes the following GCC 5 warnings:
```
core/node_path.cpp:279:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:169:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:314:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/shader_gles2.cpp:985:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles3/rasterizer_storage_gles3.cpp:1075:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/pulseaudio/audio_driver_pulseaudio.cpp:343:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_plugin.cpp:525:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_properties_array_dict.cpp:747:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:2078:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:4096:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/sprite_editor_plugin.cpp💯 20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:122:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:134:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:339:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/etc/image_etc.cpp:222:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:242:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:258:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:200:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:222:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:246:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1085:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1489:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1623:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:206:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:356:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:406:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:493:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/audio_stream_player_3d.cpp:420:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:565:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:571:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_rb_resampler.cpp:156:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
The following warnings were not fixed, as they implied casting for no gain:
```
core/io/packet_peer.cpp:228:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/io/resource_format_binary.cpp:109:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/rasterizer_scene_gles2.cpp:144:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/unix/file_access_unix.cpp:249:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:889:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1020:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1154:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:2255:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/bit_mask.cpp:336:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:141:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:150:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:86:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:89:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
2018-09-27 16:25:23 +02:00
Rémi Verschelde
d8b30d42f5
Fix warnings for operator precedence disambiguation [-Wparentheses]
...
Fixes the following GCC 5 warnings:
```
core/io/resource_format_binary.cpp:1721:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
core/typedefs.h:108:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:2202:58: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:5002:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
main/input_default.cpp:346:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:348:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:579:57: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
modules/gridmap/grid_map_editor_plugin.cpp:613:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
modules/theora/video_stream_theora.cpp:335:34: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/theora/video_stream_theora.cpp:336:35: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/visual_script/visual_script_property_selector.cpp:215:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:424:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:512:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/tree.cpp:1419:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
```
2018-09-27 10:29:48 +02:00
Rémi Verschelde
2b084352b9
Fix warnings on non-static data member initializers (C++11 feature)
...
We're not formally using C++11 yet so those trigger compilation warnings
(at least with GCC 5):
./main/input_default.h:122:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
CursorShape default_shape = CURSOR_ARROW;
^
Note: We may allow those eventually (especially for non-int static const),
but most of current occurrences were inconsistent with all other classes.
See also http://www.stroustrup.com/C++11FAQ.html#member-init
2018-09-27 10:29:48 +02:00
Hugo Locurcio
c4770a5b5d
Tweak some editor texts' capitalization, use "Go to" instead of "Goto"
...
This also fixes a typo in the `debugger/debug_with_external_editor`
shortcut.
2018-09-25 22:51:13 +02:00
Rémi Verschelde
298a6ad73c
Merge pull request #22290 from groud/add_2dimensional_scale
...
Add both X and Y scale in the scale editor
2018-09-25 10:25:13 +02:00
groud
bad5ec61b1
Add both X and Y scale in the scale editor
2018-09-25 09:50:25 +02:00
Chaosus
943d0a90f5
Added viewport border color setting for canvas item editor
2018-09-24 16:16:40 +03:00
DualMatrix
44e996fdc5
Made children of Containers not selectable.
...
Made children of Containers not selectable.
2018-09-23 22:26:05 +02:00
Andrea Catania
a3bdcb901f
Correctly freed PhysicalBoneEditor
2018-09-22 11:27:30 +02:00
Andrea Catania
855a440071
Removed node from physical_bone_plugin
2018-09-22 10:14:52 +02:00
Andrii Doroshenko (Xrayez)
e343610b0e
Fix blend tree editor updating invalid blend tree node graph
...
Editing unreferenced blend tree caused SIGSEGV when updating node graph.
Fixes #22037
2018-09-21 12:48:26 +03:00
Juan Linietsky
d9e88bccbe
Merge pull request #22295 from groud/fix_2D_IK
...
Fixes 2D Inverse Kinematic
2018-09-20 17:55:37 -03:00
groud
de01b7941d
Fixes 2D IK
2018-09-20 22:33:49 +02:00
Rémi Verschelde
76ca46d1f4
Merge pull request #22225 from groud/fix_draw_on_viewport
...
Fixes drawing of the 2D plugins on the 3D view
2018-09-20 21:45:16 +02:00
Rémi Verschelde
f93a69cb6e
Merge pull request #22287 from Chaosus/fix_warning
...
Fix "This control can't grab focus." warning spam
2018-09-20 21:41:53 +02:00
Rémi Verschelde
46d8a28314
Merge pull request #22094 from elasota/fix-visual-shader
...
Fix VisualShader code overwrites and save failures
2018-09-20 18:46:20 +02:00
Rémi Verschelde
14632cf88f
Merge pull request #22239 from Chaosus/fix_vs_connection
...
Disconnects previous visual shader node before making a new connection
2018-09-20 18:46:02 +02:00
Rémi Verschelde
69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
...
Add files to tree view
2018-09-20 18:32:13 +02:00
Rémi Verschelde
9136f1287e
Merge pull request #22282 from ibrahn/spatial_editor_origin_init
...
fix branch on uninit in spatial_editor_plugin
2018-09-20 15:50:41 +02:00
Chaosus
e4c8efd051
Fix "This control can't grab focus." warning spam
2018-09-20 15:29:38 +03:00
Ibrahn Sahir
ce15cf8ebc
fix branch on uninit in spatial_editor_plugin
...
Moved the initialisation of origin_enabled up a bit, to be inited before
it's accessed in _init_grid. A step towards cleaner valgrind output and
removes an opportunity for a random occurance of the origin/grid
z-fighting issue.
Also removed unused variable last_grid_snap to avoid later confusion.
2018-09-20 13:06:13 +01:00
Rémi Verschelde
0a6626a5d1
Merge pull request #22268 from DualMatrix/highlight_no_save
...
Fixed syntax highlighting setting not being saved
2018-09-20 13:51:33 +02:00
DualMatrix
494354c835
Added ability to hide edit lock and groups in editor view
...
Added ability to hide edit lock and groups in editor view
2018-09-20 11:35:26 +02:00
DualMatrix
4efcf9c943
Fixed syntax highlighting setting not being saved
...
Fixed syntax highlighting setting not being saved
2018-09-20 11:31:53 +02:00
groud
c3e66536cc
Fixes polygon editor blocking other editor actions (move, scale...)
2018-09-19 14:26:04 +02:00
groud
e1c92e32e6
Fixes selection of toplevel CanvasItems in the editor
2018-09-19 11:05:24 +02:00
Chaosus
a3fdaa4f21
Disconnect previous visual shader node connection before new connect
2018-09-19 10:30:45 +03:00
Rémi Verschelde
58c8c05012
Merge pull request #22096 from elasota/fix-visual-shader-colors
...
Fix visual shader color constants not retaining edits
2018-09-19 08:40:49 +02:00
groud
5172642c32
Fixes drawing of the 2D plugins on the 3D view
2018-09-18 20:00:07 +02:00
Michael Alexsander Silva Dias
75d5d81b8a
Remove unnecessary "OK"s text settings
2018-09-15 21:40:50 -03:00
Rémi Verschelde
437af1450e
Merge pull request #22111 from Chaosus/unification
...
Few unification fixes for canvas_item and spatial editor toolbars
2018-09-16 01:26:36 +02:00
Chaosus
2fe0365661
Few unifications between canvas_item and spatial editors
2018-09-15 18:44:26 +03:00
Rémi Verschelde
2cf024ed91
Merge pull request #22069 from scayze/fix_reload_scripts
...
Fix scripts not reloading when edited externally
2018-09-15 15:10:56 +02:00
elasota
37595e183d
Fix visual shader color constants not retaining edits
2018-09-15 02:47:38 -04:00
elasota
f5c7d64492
Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension.
2018-09-14 22:30:48 -04:00
Rémi Verschelde
d934cbcbc9
Set default CanvasItemEditor zoom shortcut to KEY_EQUAL
...
At least on en_US QWERTY (and various QWERTY-derived variants)
and fr_FR AZERTY, "+" is an indirect key obtained by pressing
"Shift" + "=", so using "=" in the binding makes it easier to
access.
It doesn't work this way on other layouts like de_DE QWERTZ though,
but since 'script_editor/zoom_in' also uses KEY_EQUAL, setting
the same for consistency.
Fixes #22067 .
2018-09-14 21:42:47 +02:00
Manuel Strey
ebd518c9c9
fix scripts not reloading when edited externally
2018-09-14 17:24:12 +02:00
willnationsdev
5436abefe4
Refactor editor icon retrieval
2018-09-14 09:27:56 -05:00
groud
b2633a97b9
Add thumnails to the tree view
2018-09-14 10:14:33 +02:00
Rémi Verschelde
ae8f984cf3
Merge pull request #21730 from reisraff/fixing_key_shortcut
...
#21500 Fixing key shortcut
2018-09-13 12:09:17 +02:00
Rémi Verschelde
6c20c3a534
Merge pull request #21819 from DualMatrix/built-in-script
...
Made editor automatically open the scene of built in scripts
2018-09-13 11:27:22 +02:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde
68cc2cf3bf
Merge pull request #21997 from akien-mga/fix-script-name
...
Fix default script name in ScriptCreateDialog
2018-09-12 16:42:54 +02:00
Rémi Verschelde
f98d946cd9
Merge pull request #21934 from groud/add_scale_mode
...
Add a scale mode to the 2D editor
2018-09-12 14:24:33 +02:00
Rémi Verschelde
fb77cdf2f2
Fix default script name in ScriptCreateDialog
...
It would default either to '.gd' when created from the script editor,
or to 'res:///NodeName.gd' (three '/') when created from the scene tree dock.
2018-09-12 12:29:50 +02:00
Rémi Verschelde
c7fc3dcab3
Merge pull request #21878 from RyanStein/bugfix-14400
...
Make `_sort_list_on_update` true before opening files, fixes 14400
2018-09-12 11:18:10 +02:00
Rémi Verschelde
1db4b307f9
Merge pull request #21984 from groud/fix_2D_selection
...
Fix 2D selection
2018-09-12 11:13:36 +02:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
groud
9dc81e6ca7
Fix 2D selection
2018-09-11 20:58:01 +02:00
groud
2f316bc608
Add a scale mode to the 2D editor
2018-09-11 17:48:57 +02:00
Rémi Verschelde
45b609f46a
Replace last occurrences of PropertyEditor by EditorInspector
...
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin
Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Hugo Locurcio
621a5457ed
Display camera coordinates in the 3D viewport's information pane
2018-09-11 00:04:09 +02:00
Rémi Verschelde
96014b6391
Merge pull request #21911 from groud/fix_locked_nodes
...
Fixes 2D nodes lock not working
2018-09-10 23:43:25 +02:00
groud
1d83f36a26
Fixes 2D nodes lock not working
2018-09-09 22:17:54 +02:00
Ryan Stein
1cdc04c9c4
Check for double-colon on open recent script.
2018-09-08 22:26:05 -04:00
Ryan Stein
7fdb8f72c0
Make _sort_list_on_update
true before opening new help or script files in the ScriptEditor.
2018-09-08 14:33:54 -04:00
DualMatrix
3f672307d7
Made editor automatically open scenes of built in scripts.
...
Made editor automatically open scenes of built in scripts when attempting to open that script.
2018-09-07 00:34:39 +02:00
Rémi Verschelde
8804eb8c06
Merge pull request #21707 from JFonS/fix_instanced_selection
...
Fix selection of instanced scenes in 3D
2018-09-05 18:11:56 +02:00
Rémi Verschelde
5fe01d4cfc
Move ParticlesMaterial code to its own resource file
...
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense
to have as a common resource. It also allowed to disable compilation of
Particles (3D) when using 'disable_3d'.
Also cleaned up includes in SpatialEditorGizmos and some other places,
as well as dropped dead code in material_editor_plugin.cpp.
2018-09-04 11:32:56 +02:00
paul gruenbacher
8c14cd5b69
added get_camera_method to spatial editor plugin viewport
...
amend
added get_camera_method to spatial editor plugin viewport
2018-09-03 14:00:21 -04:00
Rafael Reis
d1d1f4a776
#21500 Fixing key shortcut
2018-09-03 11:39:07 -03:00
JFonS
4a412943d4
Fix selection of instanced scenes in 3D
2018-09-02 22:31:03 +02:00
Hugo Locurcio
af139af69e
Fix some editor shortcuts' default values not being set properly
...
This also changes the uppercase/lowercase/capitalize shortcuts
to Shift+F4, Shift+F5 and Shift+F6 respectively to avoid conflicts
with the new Find Next shortcut.
This closes #21612 .
2018-09-01 16:20:47 +02:00
JFonS
07d9b7af7a
Fix regression #21262 in Path Gizmo
...
closes #21262
2018-08-30 14:24:24 +02:00
Rémi Verschelde
9eb4d4ab2d
Add missing copyright headers
2018-08-29 22:41:17 +02:00
Marcelo Fernandez
20bea1e231
Unexpose TileMap set_celld
2018-08-29 09:00:00 -03:00
Rémi Verschelde
6c8aa939e4
Merge pull request #21539 from yurchor/master
...
Fix minor typos and word puzzles
2018-08-29 12:21:33 +02:00
Yuri Chornoivan
06e73522dc
Fix vformat(), minor typos and word puzzles
2018-08-29 11:50:39 +03:00
Rémi Verschelde
b6c170165c
Merge pull request #21485 from JFonS/fix_selection
...
Saner selection code for instanced scenes in 3D, should close #21447
2018-08-29 10:08:41 +02:00
Rémi Verschelde
7e79fb80db
Fix z-fighting on origin grid lines in spatial editor
...
Fixes #21264 .
2018-08-29 09:27:50 +02:00
Tommi Komulainen
aded18104b
Scale the Item List Editor window size with the editor scale
...
Makes the dialog bigger and more usable on HiDPI screens.
Fixes #21520
2018-08-28 19:17:29 +02:00
Rémi Verschelde
ac38b7e97b
Merge pull request #21496 from tko/macos-complete
...
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
2018-08-28 07:40:55 +02:00
Tommi Komulainen
c2f0b4c9c6
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
...
The default shortcut for Spotlight search is Command+Space so try not to
use it. Instead use Ctrl+Space similar to Xcode.
2018-08-27 20:39:43 +02:00
Tommi Komulainen
464756ec0f
[macOS] fix conflicting keybindings for (Find and) Replace...
...
```
Play Scene Command+R (no change)
Replace... Command+R => Option+Command+F
Find Function... Option+Command+F => Ctrl+Command+J
```
On macOS Option+Command+F is commonly used for Find and Replace so use
it instead to avoid conflicting with "Play Scene"
And as Option+Command+F is currently used by "Find Function..." rebind
the latter to Control+Command+J which is the Xcode shortcut for
"Jump to Definition"
Fixes #19817
2018-08-27 20:28:24 +02:00
Rémi Verschelde
9df5ddae29
Merge pull request #21456 from MarianoGnu/tileset_editor
...
TileSet editor Fixes
2018-08-27 17:49:02 +02:00
Omicron
71397e0e17
Typo in text string
...
reported by Yuri Chornoivan on weblate
2018-08-27 16:12:48 +02:00
JFonS
b58bb95c86
Saner selection code for instanced scenes in 3D, should close #21447
...
Selecting instanced scenes still doesn't work properly because gizmos are not being added to instanced nodes.
I will probably work on fixing all the shenanigans around selection, but that will take some time.
This part of the code should work better for the moment.
2018-08-27 16:02:49 +02:00
Rémi Verschelde
fc1d464f1f
Merge pull request #21381 from YeldhamDev/members_help_overview_fix
...
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-27 09:43:00 +02:00
Rémi Verschelde
0f4ba4481a
Merge pull request #21432 from JFonS/fix_material_convert
...
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-27 08:55:41 +02:00
Michael Alexsander Silva Dias
df4f3aecd8
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-26 23:55:45 -03:00
Mariano Javier Suligoy
c64ab97063
TileSet editor Fixes
...
Properly draw navigation and oclusion polygons for SINGLE type tiles. Fixes #21398
Add some checks for TileID validation before accessing to it's properties. Fixes #21397
Fix 'Keep inside region' snap option for tiles with SINGLE_TILE mode. Fixes #21402
Restore hability to asign/unasign an script to a tileset. Fixes #20886
2018-08-26 17:10:01 -03:00
JFonS
ee06cfe6e5
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-26 12:25:41 +02:00
Michael Alexsander Silva Dias
7d13f6ad30
Small improvements to the Spatial Editor's multiple viewport mode
2018-08-25 17:43:27 -03:00
Mariano Suligoy
1f4a891a9c
Texture Region: Cache auto-slice information into the texture. Fixes #11503
2018-08-25 09:02:05 -03:00
Rémi Verschelde
0b67d1665d
Style: Fix previous commits from @reduz
2018-08-24 16:50:29 +02:00
Rémi Verschelde
f733c6470d
Merge pull request #21110 from natrim/particles2d_editor
...
Particles2D: fix editing Visibility Rect from new inspector
2018-08-24 15:31:31 +02:00
Rémi Verschelde
cd945e28de
Merge pull request #21272 from paulloz/tilemap-tools-enhancements
...
tilemap_editor: change move and duplicate tools
2018-08-24 15:18:06 +02:00
Rémi Verschelde
571dab7d1e
Merge pull request #21356 from akien-mga/drop-shadergraph
...
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 15:02:26 +02:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Juan Linietsky
0161e95f01
some checks for node removed, may fix #20863
2018-08-24 08:29:40 -03:00
Paul Joannon
3f1b977263
tilemap_editor: change move and duplicate tools
...
* Move now behaves like a Cut
* Duplicate now behaves like a Copy
* You can continue Pasting after Cut or Copy
2018-08-24 11:58:01 +02:00
Rémi Verschelde
e22f0515c9
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 11:49:08 +02:00
Juan Linietsky
bffaa835fc
-Fix blend tree rename, closes #20210
...
-Fixed activity lines in blend tree
2018-08-23 16:44:10 -03:00
JFonS
927f9f283f
Remove material errors after opening new project, fixes #21073
2018-08-23 10:50:30 +02:00
Michael Alexsander Silva Dias
6fa1b5eca7
Add option to move Tile/GridMap editors to another side
2018-08-22 19:18:23 -03:00
Michael Alexsander Silva Dias
5c6be1aea5
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 16:52:38 -03:00
Mariano Javier Suligoy
810b73c01e
Display tile ID along with name
...
Fixes #20895 .
2018-08-22 14:35:50 +02:00
Rémi Verschelde
0e6551d8e2
Merge pull request #21274 from YeldhamDev/meshlib_editor_fixes
...
Fix MeshLibrary editor
2018-08-22 01:54:59 +02:00
Laurent Van Acker
4d6a6e0813
Add modulation of tiles from tileset in palette and editor draw
2018-08-22 01:36:43 +02:00
Michael Alexsander Silva Dias
d0f55ab6e4
Fix MeshLibrary editor
2018-08-21 19:06:52 -03:00
Rémi Verschelde
404ee1a56b
Style: Fix issues that went past CI
2018-08-21 21:28:06 +02:00
Hugo Locurcio
dd4fe8588b
Fix occasional crash when downloading assets from the Asset Library
...
This is caused by GitHub not publishing a Content-Length header in
all cases (it only does so if the file was requested recently),
which in turn made `String.humanize_size()` try to humanize a size of
-1 byte (as returned by HTTPRequest when no Content-Length
is contained in the response).
This crashed the editor due to a division by zero.
This closes #21200 .
2018-08-20 20:21:56 +02:00
Juan Linietsky
c1bd768ca2
Merge pull request #18822 from QbieShay/master
...
Added spring arm node
2018-08-20 14:21:04 -03:00
Juan Linietsky
c7e4527a88
Massive rewrite to AnimationTree. Many APIs changed in order to:
...
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Rémi Verschelde
5d09877da8
Merge pull request #21154 from Chaosus/grid_2d_color
...
Added setting to change color of 2d editor grid
2018-08-19 14:17:55 +02:00
Chaosus
66c25d4829
Added possibility to change color of 2d editor grid
2018-08-19 10:04:16 +03:00
QbieShay
bb14ef5623
added spring arm node.
2018-08-18 14:34:42 +02:00
Hugo Locurcio
442029b1c0
Fix the 3D grid flickering when the origin is enabled
2018-08-17 23:22:03 +02:00
Natrim
6ad0f4ebe8
Particles2D: fix editing Visibility Rect from inspector
...
+ renamed generate_aabb to generate_visibility_rect to prevent future confusions
2018-08-17 12:25:48 +02:00
Markar
e46c2dbf74
Fix bucket fill behaviour when selecting multiple tiles
2018-08-17 01:55:21 +02:00
Natrim
e11e080fa2
Particles2D: set emitting if not set before generating Visibility Rect
...
and removed not needed running zeroing
in ParticlesEditor::_generate_aabb
2018-08-16 15:35:12 +02:00
Rémi Verschelde
1c17c2b9b3
Merge pull request #21023 from Paulb23/fix_reopening_text_file
...
Fix re-opening of TextFiles when its already being edited.
2018-08-15 23:16:19 +02:00
Rémi Verschelde
bec8c7770c
Merge pull request #21022 from Paulb23/create_text_files
...
Ability to create TextFiles.
2018-08-15 23:15:14 +02:00
Paulb23
6741e7a15d
Added method to create TextFiles
2018-08-15 21:09:34 +01:00
Rémi Verschelde
e92777c1ee
Merge pull request #21007 from guilhermefelipecgs/disable_camera_interpolation
...
Disable camera interpolation when switching scene tabs
2018-08-15 09:03:53 +02:00
Rémi Verschelde
eef39bcb84
Merge pull request #21010 from YeldhamDev/tile_editors_changes
...
Changes to the TileSet and TextureRegion editors
2018-08-15 01:14:53 +02:00
Rémi Verschelde
859f3bf5a9
Merge pull request #20873 from ttencate/master
...
Allow middle-click to close scripts
2018-08-15 01:10:21 +02:00
Paulb23
81bf150cdc
Fix re-opening of TextFiles when its already being edited
2018-08-14 23:44:55 +01:00
Guilherme Felipe
ae788125a0
Disable camera interpolation when switching scene tabs
...
Fix #11764
2018-08-14 19:25:27 -03:00
Rémi Verschelde
78a6cd9e09
Merge pull request #20977 from malbach/Particles3D_AABB
...
Particles3D: set emitting if not set before generating AABB
2018-08-14 20:20:28 +02:00
Michael Alexsander Silva Dias
609d97b6d4
Changes to the TileSet and TextureRegion editors
2018-08-14 14:02:47 -03:00
Thomas ten Cate
d867f11820
Allow middle-click to close scripts
...
Fixes #20871
2018-08-14 18:01:06 +02:00
Rémi Verschelde
0322081ec5
Merge pull request #20744 from Zylann/fix_viewport_lock_rotation
...
Initialize default lock rotation in constructor
2018-08-14 15:49:04 +02:00
Rémi Verschelde
22c3fcb20b
Merge pull request #20760 from Calinou/improve-assetlib-download-ux
...
Improve the asset library download UX
2018-08-14 15:48:31 +02:00
Rémi Verschelde
c8414007ad
Merge pull request #20835 from Calinou/use-standard-button-texts-2
...
Tweak some editor button texts
2018-08-14 15:45:34 +02:00
Rémi Verschelde
892667878a
Merge pull request #20848 from Calinou/improve-3d-manipulator-gizmo
...
Improve the 3D manipulator gizmo
2018-08-14 15:43:52 +02:00
Rémi Verschelde
641dd15b1d
Merge pull request #20953 from hpvb/fix-20322
...
Don't try to update the visual shader graph if it doesn't exist yet
2018-08-13 20:47:24 +02:00
malbach
334922de8f
Particles3D: set emitting if not set before generating AABB
2018-08-13 18:02:06 +02:00
Rémi Verschelde
0d96902a0c
Merge pull request #20731 from YeldhamDev/scr_editor_context_fix
...
Fix wrong context menu when right-clicking script/doc files
2018-08-13 13:35:53 +02:00
Rémi Verschelde
68ab428d4d
Merge pull request #20155 from Tunous/line-edit-clear
...
Add clear button to search fields
2018-08-13 12:54:57 +02:00
Rémi Verschelde
2062d6126d
Merge pull request #20587 from groud/fix_2deditor_scrollable_zone
...
Fixes bugs on the 2D editor scrollable area
2018-08-13 09:03:34 +02:00
Hein-Pieter van Braam
2a02f44ad9
Don't try to update the visual shader graph if it doesn't exist yet
...
When setting shader mode on a visual shader that was just created in the
editor we try to _update_graph(). However, the graph does not yet exist
in the visualshadereditor. This gets populated in
VisualShaderEditor::edit() which hasn't been called yet.
This PR simply changes the logic to not try to update the non-existent
graph.
This fixes #20322
2018-08-12 22:33:35 +02:00
Juan Linietsky
15530ce2c5
Fix gizmos submenu
2018-08-12 10:20:32 -03:00
Juan Linietsky
64595f0f6a
Merge pull request #20928 from JFonS/gizmo_enabling
...
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 19:20:08 -03:00
JFonS
ac51da2eb6
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 23:07:00 +02:00
Łukasz Rutkowski
81fb81de9d
Do not use theme to set LineEdit right_icon
2018-08-11 12:04:26 +02:00
Łukasz Rutkowski
e8a435c8cd
Add clear text button to LineEdit
...
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
George Marques
eb48119821
Added system for GDScript warnings
...
- Count and panel per script.
- Ability to disable warnings per script using special comments.
- Ability to disable warnings globally using Project Settings.
- Option to treat enabled warnings as errors.
2018-08-10 16:00:47 -03:00
MAriano Javier Suligoy
ce87a30e45
New TileSet Editor
2018-08-09 20:38:02 -03:00
Juan Linietsky
fbb5ca4d97
Merge pull request #20584 from JFonS/gizmo_enabling
...
New gizmo structure and gizmo disabling menu
2018-08-09 16:27:59 -03:00
JFonS
59fd18ab1a
New gizmo structure and new gizmo disabling menu
2018-08-09 20:58:39 +02:00
Hugo Locurcio
dcca20027c
Improve the 3D manipulator gizmo
...
Its size now takes into account the editor scale and the viewport's
half resolution setting. It is now also more detailed.
2018-08-09 16:34:18 +02:00
Hugo Locurcio
147f7fbdcf
Tweak some editor button texts
2018-08-09 11:22:11 +02:00
Hugo Locurcio
c1108a4d17
Improve the asset library download UX
...
The progress bar is now correctly set to 0% while initiating
the download and is hidden once the download is completed.
2018-08-06 21:37:59 +02:00
Marc Gilleron
65215a7829
Initialize default lock rotation in constructor
2018-08-05 19:24:11 +01:00
Hugo Locurcio
1368bcfc53
Use a standard "OK" text for confirmation buttons in error dialogs
...
[ci skip]
2018-08-05 16:49:22 +02:00
Michael Alexsander Silva Dias
9194e42175
Fix wrong context menu when right-clicking script/doc files
2018-08-05 04:53:36 -03:00
AndreaCatania
b7e66188df
Implemented IK
2018-08-04 11:25:07 +02:00
groud
eb7f4ddcce
Fixes bugs on the 2D editor scrollable area
2018-07-30 01:05:13 +02:00
Juan Linietsky
317dee95de
It is now possible to import images as a separate resource, closes #5738 and likely many others
2018-07-29 16:45:23 -03:00
Juan Linietsky
0fcc28b6f3
Merge pull request #15269 from ianb96/context_menu_improvements
...
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Rémi Verschelde
b5b8f52d4f
Merge pull request #15310 from remorse107/Cinema-Mode
...
Added "Cinema Mode" so that the spatial editor can actively track the...
2018-07-27 08:12:22 +02:00
Robert Morse
75947b1b72
Add "Cinematic Preview" to the Spatial Plugin Editor.
2018-07-26 19:15:28 -05:00
Max Hilbrunner
6cf5eb8e37
Merge pull request #20022 from EIREXE/snap_to_floor
...
Add snap to floor functionality to the editor
2018-07-26 22:31:03 +02:00
Ian
1bb13e95a8
context menu improvements
2018-07-26 08:58:35 -04:00
Rémi Verschelde
eab105310b
Merge pull request #19257 from volzhs/edit-visual-script
...
Open internal visual script editor while use external editor is on
2018-07-26 10:36:01 +02:00
Alex Roman
af725094d7
Add snap to floor functionality to the editor
2018-07-26 08:34:40 +02:00
Rémi Verschelde
4c5f0844e1
Merge pull request #19758 from kyledayton/feature/spatial-viewport-lock-rotation
...
Add lock rotation feature to spatial editor viewport
2018-07-26 08:31:20 +02:00
Kyle Dayton
46ec1deba5
Add lock rotation feature to spatial editor viewport
2018-07-25 21:37:04 -05:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Paulb23
6696b16685
Fix crash on doc right click, issue 20429
2018-07-25 19:24:06 +01:00
volzhs
6bdec4ffb6
Open internal visual script editor while use external editor is on
2018-07-25 11:59:31 +09:00
Max Hilbrunner
b92c432313
Merge pull request #19225 from Paulb23/open_all_files_in_script_editor
...
Open all files in script editor
2018-07-24 21:52:11 +02:00
Marcelo Fernandez
ff95bbc6c4
Fixed Bucket Fill tool
2018-07-24 13:11:38 -03:00
Max Hilbrunner
81fd48eb1e
Tilemap editor: Fix crash introduced in #17582
2018-07-24 17:42:24 +02:00
Rémi Verschelde
a2f9ce2569
Merge pull request #20328 from ordigdug/fix-grid-missing-lines
...
Fix grid missing lines. Fixes : #20246
2018-07-24 14:49:53 +02:00
Wilson E. Alvarez
a22e746bc3
Removed unnecessary assignments
2018-07-24 09:51:03 +02:00
Juan Linietsky
dc976cac57
Merge pull request #12678 from AndreaCatania/soft
...
Soft body
2018-07-23 16:04:32 -03:00
AndreaCatania
17ebbfb56d
Implemented Soft body
...
- Soft Body Physics node
- Soft Body Rendering
- Soft body Editor
- Soft body importer
2018-07-23 20:50:23 +02:00
Juan Linietsky
ec85fd554b
Fix issues with CPUParticles and related conversion from Particles. Closes #20126
2018-07-23 12:28:50 -03:00
Paulb23
8ff747171f
Allow opening and editing of any utf_8 file in script editor
2018-07-22 11:55:56 +01:00
Paulb23
765d6752bb
Refactored text manipulation into CodeTexteditor
2018-07-22 11:48:59 +01:00
ordigdug
7ab7bda48e
Fix grid missing lines #20246
2018-07-22 05:00:51 -04:00
George Marques
03746da73f
Add editor highlight for type-safe lines
...
The line number is hightlighted to indicate that the line contains only
type-safe code.
2018-07-20 21:55:18 -03:00
Nufflee
228bd21e26
Fix #20171 .
2018-07-20 22:25:18 +02:00
Rémi Verschelde
afb554afdf
Merge pull request #20185 from volzhs/audio-preview
...
Add audio preview to Inspector dock
2018-07-18 10:38:30 +02:00
Max Hilbrunner
c5690240b4
Merge pull request #18535 from sketchyfun/new_mirror_path_handles
...
Added curve in/out (tangent) handle mirroring
2018-07-17 16:16:08 +02:00
volzhs
dd2f39da53
Add audio stream preview to Inspector dock
2018-07-17 22:11:35 +09:00
Rémi Verschelde
95d99cb2ac
Merge pull request #20176 from Chaosus/vs_namefixes
...
Several name fixes for visual shaders
2018-07-17 13:54:22 +02:00
Thomas Herzog
72430b041e
Merge pull request #20169 from Chaosus/rightclick_vs
...
Visual shaders - make "Add node" menu showed by right click
2018-07-16 15:46:18 +02:00
Thomas Herzog
a21aeec4b9
Merge pull request #20167 from Chaosus/fix_vshader_bug
...
Fix display scale bug in visual shaders
2018-07-16 15:40:41 +02:00
Juan Linietsky
a3f1ee5c57
Global class names (and GDScript support for it)
2018-07-15 19:29:00 -03:00
Chaosus
3af81427a1
Several name fixes for visual shader
2018-07-15 17:28:06 +03:00
Chaosus
f8417ac682
Visual shaders - make "Add node" menu showed by right click
2018-07-15 10:33:11 +03:00
Chaosus
c88da2fce5
Fix display scale bug in visual shaders
2018-07-15 08:55:41 +03:00
Juan Linietsky
f6ce73f724
Visual Shaders are back.
2018-07-14 18:16:18 -03:00
Juan Linietsky
ea47359408
Add option to convert Particles to CPUParticles
2018-07-07 09:04:22 -03:00
Juan Linietsky
7dcaabaf19
Support for CPU based particles, which aids compatibility with OpenGL ES 2.0
2018-07-06 20:21:42 -03:00
Max Hilbrunner
9f82368d40
Merge pull request #19475 from YeldhamDev/animplayer_cosmetic
...
Minor changes to the AnimationPlayer editor
2018-07-05 04:25:04 +02:00
Max Hilbrunner
c488a74e0c
Merge pull request #19498 from guilhermefelipecgs/fix_regression
...
Fix "find and replace" initializing with wrong size
2018-07-05 04:23:18 +02:00
Max Hilbrunner
858d0b6887
Merge pull request #19941 from guilhermefelipecgs/fix_animation_key
...
Fix animation key icon not show on inspector
2018-07-04 15:18:43 +02:00
Rémi Verschelde
db546732cf
Merge pull request #19824 from JFonS/fix_orthogonal_select
...
Fix selection in 3D orthogonal view
2018-07-04 15:06:46 +02:00
Guilherme Felipe
63d1b35c59
Fix animaiton key icon not show on inspector
2018-07-03 17:26:31 -03:00
Max Hilbrunner
27b20e7670
Merge pull request #19881 from khairul169/popupmenu_animedit
...
Fix error msg when selecting popupmenu if there is no animation selected
2018-07-03 18:44:48 +02:00
Max Hilbrunner
dce4bf96cc
Merge pull request #17582 from Ovnuniarchos/TMapEditorMultiSel
...
Tile randomizer for tilemap editor.
2018-07-03 18:30:02 +02:00
Max Hilbrunner
b21c1f64cd
Merge pull request #18634 from groud/fix_control_child_of_node2d
...
Fixes the bad calculation of margin & anchors when child of Node2D
2018-07-03 18:06:15 +02:00
Max Hilbrunner
165f3c31a5
Merge pull request #19166 from Grula/issue-18779
...
Changed "Syntax Menu" into radio Menu
2018-07-03 17:39:17 +02:00
Max Hilbrunner
deb005c966
Merge pull request #19156 from volzhs/fix-remove-split
...
Fix unable to remove split on Polygon 2D editor after restarting editor
2018-07-03 17:37:01 +02:00
Max Hilbrunner
0705eb904a
Merge pull request #19251 from YeldhamDev/script_templates_changes
...
Small changes to the comments in the script templates
2018-07-03 16:48:03 +02:00
Max Hilbrunner
74369229de
Merge pull request #19634 from guilhermefelipecgs/fix_shortcut_conflict
...
Remove shortcut conflict
2018-07-03 15:47:48 +02:00
Juan Linietsky
896e250f2b
-Fix in animationplayback, sound would be cut on loop
...
-Fix on scene importer, keeping changes to animation tracks was not working
2018-07-01 17:45:19 -03:00
Ovnuniarchos
d9d78786dc
Tile randomizer for tilemap editor.
2018-07-01 20:50:56 +02:00
khairul169
0a67aa5ce4
Fix error msg when selecting popupmenu if there is no animation
2018-07-01 15:38:42 +07:00
Michael Alexsander Silva Dias
02181292b8
Minor changes to the AnimationPlayer editor.
2018-06-30 00:12:05 -03:00
JFonS
e245efaead
Fix selection in 3D orthogonal view
2018-06-28 14:59:39 +02:00
Juan Linietsky
eeab3502d5
Changes to how node paths are selected from property, allowing setting a hint.
2018-06-27 20:50:25 -03:00
Juan Linietsky
9bab5134cf
The way multiple quaternions being slerped was not good, changed approach to one that seems to work better.
2018-06-27 16:30:48 -03:00
Juan Linietsky
c633b770cb
-Add root motion support in AnimationTree.
...
-Add RootMotionView, to debug root motion in 3D (disabled in runtime)
2018-06-26 19:06:16 -03:00
Rémi Verschelde
f036353b93
Merge pull request #19164 from marcelofg55/tilemap_undo2
...
Improve TileMap undo operations, second try
2018-06-26 20:57:39 +02:00
Juan Linietsky
8c7da84e1e
renamed AnimationGraphPlayer to AnimationTree
2018-06-25 18:40:24 -03:00
Thomas Herzog
0f7c35f955
added BlendSpace1D editor plugin
...
This commit also fixes a crash in the BlendSpace2D as well as correct
the drawing of the x-zero indicator in the BlendSpace2D editor plugin.
2018-06-25 21:46:12 +02:00
Thomas Herzog
84252f2ec4
added AnimationBlendSpace1D
2018-06-25 21:36:53 +02:00
Thomas Herzog
1ff7aa4c9b
rename BlendSpace to BlendSpace2D
2018-06-25 21:36:10 +02:00
Juan Linietsky
4f5a7ebaec
State machine animation node
2018-06-25 16:22:41 -03:00
Rémi Verschelde
4e867a1d7a
Merge pull request #19698 from Chaosus/theme_submenu
...
Move Theme options to submenu
2018-06-25 16:24:39 +02:00
Juan Linietsky
2365fe472b
Added auto triangle generation in blend space, using Delaunay.
2018-06-21 22:48:47 -03:00
Juan Linietsky
b76143bfde
Remove error messages
2018-06-21 18:46:17 -03:00
Juan Linietsky
b80946ee0d
Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key
2018-06-21 18:08:11 -03:00
Juan Linietsky
a0719533bd
Animation Blend Spaces
2018-06-21 15:46:11 -03:00
Chaosus
7a18b95906
Move Theme options to submenu
2018-06-21 12:10:43 +03:00
Juan Linietsky
0a1c1c660f
-Added AnimationGraphPlayer (still missing features)
...
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-18 22:12:08 -03:00
Guilherme Felipe
7c52824504
Remove shortcut conflict
2018-06-18 16:24:01 -03:00
Guilherme Felipe
5bae3693bf
Fix "find and replace" initializing with wrong size
...
Fix the code editor outside the allowed limits.
2018-06-13 14:08:04 -03:00
Rémi Verschelde
8efbe9ed3d
Merge pull request #19487 from JFonS/better_3d_select
...
Improve 3D selection
2018-06-13 18:49:35 +02:00
JFonS
9cd1c20f6a
Polished 3D selection
2018-06-13 17:52:37 +02:00
Rémi Verschelde
44050cd24f
Merge pull request #19503 from akien-mga/osx-ctrl-cmd
...
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
2018-06-13 15:43:54 +02:00
groud
71cea6b515
Fixes a crash on draw_hover
2018-06-12 11:01:24 +02:00
Rémi Verschelde
3f09cac267
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
...
KEY_MASK_CMD is automatically replaced by KEY_MASK_CTRL on non-OSX
and KEY_MASK_META (Command key) on OSX, so it should be used for all
Ctrl/Cmd + key shortcuts.
Also de-hacked the macOS shortcut replacements with proper conditional
definition. Not tested on macOS, cannot judge if they are good shortcuts.
Fixes #10761 .
2018-06-11 07:53:28 +02:00
Michael Alexsander Silva Dias
fd17b960e9
Small changes to the comments in the script templates.
2018-06-11 02:04:51 -03:00
Guilherme Felipe
365bb077fe
Fix translate messages for new AnimationPlayer
2018-06-08 14:44:18 -03:00
Rémi Verschelde
3aed396a30
Merge pull request #19343 from bojidar-bg/x-fix-tilemap-shape-rotation
...
Fix bugs related to bad handling of rotated/translated shapes in tilemap
2018-06-08 18:15:51 +02:00
Juan Linietsky
a8dd5750e2
Merge pull request #19334 from guilhermefelipecgs/fix_popup
...
Fixes popup_centered_* methods, dialogs with wrong sizes and visual script editor
2018-06-08 13:00:53 -03:00
Rémi Verschelde
f35115309b
Merge pull request #19314 from Jellonator/master
...
Added autotile override
2018-06-08 09:11:49 +02:00
groud
4d78e16bc1
Fixes the bad calculation of margin & anchors when child of Node2D
2018-06-07 21:25:15 +02:00
Juan Linietsky
b659fd6d74
Entirely new (and much improved) animation editor.
2018-06-07 12:52:00 -03:00
Guilherme Felipe
048f149478
Fix theme not updating with changes
2018-06-06 17:58:12 -03:00
Guilherme Felipe
7a3882723c
Fix #16069 , #19292 , #19267 and #18940
2018-06-06 13:16:52 -03:00
Rémi Verschelde
07d4cd7f6d
Merge pull request #19388 from volzhs/show-filename
...
Show opened script or help name
2018-06-06 09:22:22 +02:00
volzhs
69ac6a1f3d
Show opened script or help name
2018-06-06 06:18:11 +09:00
Bojidar Marinov
d73cdeb248
Fix bugs related to bad handling of rotated/translated shapes in tilemap
...
Fixup #18529 and #12870
2018-06-03 16:32:23 +03:00
James Beedie
6cbafdea16
Added autotile override
2018-06-02 21:25:09 -04:00
NIkola Grulovic
bc666c42ff
Syntax Menu as sub-menu of Edit
...
Moved syntax menu to be sub-menu of edit, as-well made choices radio buttons
2018-06-01 21:32:19 +02:00
Rémi Verschelde
ff0d295d9e
Merge pull request #19250 from YeldhamDev/scene_editor_tooltips
...
Minor changes to the Scene and Canvas editors' tooltips
2018-06-01 13:31:46 +02:00
Rémi Verschelde
59c2c21b15
Move NavigationMeshEditorPlugin to Recast module as should be
...
Modules can register their own editor plugins (like GridMap does),
so no need to put module-specific classes in the `editor/` folder.
Also cleans up the previous SCons env pollution from the Recast
module, integrating its code into libmodules as other modules.
2018-05-30 22:10:11 +02:00
Marcelo Fernandez
cadd72793b
Improve TileMap undo operations, second try
2018-05-29 19:35:30 -03:00
Michael Alexsander Silva Dias
589f18a374
Minor changes to the Scene and Canvas editors' tooltips.
2018-05-29 13:21:26 -03:00
volzhs
224ca96c57
Fix index out of size error of image.cpp
2018-05-29 14:13:05 +09:00
volzhs
4ea8c6b1e1
Fix unable to remove split on Polygon 2D editor after restarting editor
2018-05-27 22:32:58 +09:00
Max Hilbrunner
23b4b7d53a
Merge pull request #18234 from flashyincceo/font-preview
...
Adding font preview to file browsers
2018-05-26 18:31:48 +02:00
Rémi Verschelde
665319de35
Revert "Improve TileMap undo operations"
2018-05-25 13:00:28 +02:00
Gilles Roudière
e19405b2b4
Merge pull request #19157 from volzhs/bone-visibility
...
Don't draw bones if it's not visible
2018-05-25 09:59:51 +02:00
volzhs
6a28bfe09c
Don't draw bones if it's not visible
2018-05-25 13:01:15 +09:00
Marcelo Fernandez
f1383f80bf
Improve TileMap undo operations
2018-05-23 14:31:51 -03:00
Karolis K
1a92906fe0
Fix AssetLib image loading
2018-05-21 21:09:09 +03:00
Michael Alexsander Silva Dias
6c058040b7
Small tooltip changes.
2018-05-18 14:54:40 -03:00
Juan Linietsky
9b5275b135
-Hid texture flags by default so they dont take so much space
...
-make curve texture preview not so large, so its easier to embed the editor
2018-05-18 12:37:18 -03:00
Mariano Javier Suligoy
7eddb80b27
Merge pull request #18960 from isaacremnant/autotile_3x3_minimal
...
Restore support for minimal 3x3 autotile sets
2018-05-17 19:57:55 -03:00
Daniel J. Ramirez
9a365a1216
Moved inspector functionality from EditorNode to InspectorDock.
2018-05-17 16:29:26 -05:00
Juan Linietsky
4b5227ff77
-Ability to open resources in the same window
...
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
2018-05-17 18:03:05 -03:00
isaacremnant
e4f0ac558d
Restore support for minimal 3x3 autotile sets
2018-05-17 09:49:14 -04:00
Rémi Verschelde
5e20a229eb
Merge pull request #18529 from swarnimarun/master
...
Fix StaticBody2D ignore in tileset bug
2018-05-17 09:35:51 +02:00
Rémi Verschelde
a404ceb128
Merge pull request #18930 from samdze/master
...
Changed the name displayed for built-in scripts in the Script tab with a more descriptive one
2018-05-16 23:14:34 +02:00
Rémi Verschelde
c31456b821
Merge pull request #18891 from groud/fix_bone_selection
...
Bring back 2D bone selection
2018-05-16 22:50:58 +02:00
Guilherme Felipe
35024d4e7b
Add missing copyright headers
2018-05-16 14:50:44 -03:00
Karolis K
8694f98170
AssetLib pagination modifications
2018-05-16 17:06:15 +03:00
Samuele Zolfanelli
375c94510f
Changed the name displayed in the Script tab for built-in script with a more descriptive one
2018-05-16 15:23:56 +02:00
Rémi Verschelde
98e5a3ea42
Merge pull request #18442 from StraToN/add-button-sort-methods-overview
...
Add a ToggleButton for alphabetic sorting in methods overview
2018-05-16 10:53:55 +02:00
Juan Linietsky
005b69cf6e
-New inspector.
...
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
2018-05-15 17:14:31 -03:00
Gilles Roudiere
0021df3da3
Bring back 2D bone selection
2018-05-15 15:18:46 +02:00
Gilles Roudiere
e614789882
Fixes hovered Nodes2D display in the editor (remove duplicates)
2018-05-15 09:37:23 +02:00
Rémi Verschelde
8c71cbbe3f
Merge pull request #18797 from TailyFair/assetlib-video-overlay
...
Added video thumbnail overlay in asset description
2018-05-14 08:39:27 +02:00
Rémi Verschelde
fb8f71fe54
Merge pull request #18788 from Chaosus/fixblackpreviews
...
Fix black script previews
2018-05-12 09:40:24 +02:00
Karolis K
0711d865e2
Thumbnail overlay for videos in AssetLib
2018-05-11 23:43:59 +03:00
Chaosus
a081507be7
Fix black script previews
2018-05-11 20:08:17 +03:00
Julian Murgia
68b9fd79e4
Add button hbox with alphabetic sort toggle above methods outline.
2018-05-11 13:30:43 +02:00
Karolis K
c3e921fba3
Fix icon if remote icon load fails
2018-05-10 18:45:22 +03:00
Peter Folkins
365d814361
Adding font preview to file browsers
2018-05-09 13:34:30 -05:00
Ben Hickling
31b6776f11
Added option to 2D and 3D curve editor to mirror curve tangent handles both in angle and/or length
2018-05-09 14:01:04 +01:00
Swarnim Arun
8529763a0f
Fix tileset bug #18090 to use StaticBody2D position
...
Using staticbody2d position to affect the collision shape position whenever a tileset is created.
Formatting the code
Removed the most get/set from my old code.
2018-05-09 12:12:10 +05:30
Andrea Catania
6c4916ddf5
Removed pointer deletion during editor closing
2018-05-08 00:59:22 +02:00
AndreaCatania
9e57a07fb6
Implemented ragdoll
...
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
a
Implemented implicit hierarchy.
Improved
Added some physics properties
Added bone offset to preserve COM, partially fixed scaling
work in progress
WIP
wip
Implemented Joint Gizmos
Implemented pin joint joint
Implemented all joints
2018-05-07 21:03:16 +02:00
Juan Linietsky
8c30337565
Merge pull request #18684 from muiroc/fix_dragdrop_instancing
...
Editor: Makes dragdrop instantiation behavior consistent with the instance scene button
2018-05-07 13:34:09 -03:00
Juan Linietsky
d8ea68195a
Merge pull request #18525 from Calinou/improve-3d-grid
...
Improve the 3D editor grid
2018-05-07 13:09:03 -03:00
Juan Linietsky
14e9a6ae16
Merge pull request #18633 from groud/fix_2d_editor
...
Fix 2d editor
2018-05-07 11:55:26 -03:00
Juan Linietsky
6e9517ca83
Merge pull request #18642 from flashyincceo/engine-click
...
Fix script editor CTRL+CLICK on singleton functions
2018-05-07 11:49:34 -03:00
Max Hilbrunner
c587cac304
Merge pull request #18308 from ericmccarthy7/develop
...
Fix clone down newline bug
2018-05-07 14:49:23 +02:00
muiroc
884b239ca5
SpatialEditorViewport::_create_instance: pass GEN_EDIT_STATE_INSTANCED to scene->instance()
2018-05-06 19:13:23 +02:00
Peter Folkins
0c1a71b047
Fix script editor CTRL+CLICK on singleton functions
2018-05-05 13:23:47 -05:00
groud
7331ca6f63
Fixes some 2d bones display problems
2018-05-05 15:45:26 +02:00
groud
3962862ea3
Fixes several selection problems in the 2D editor
2018-05-05 11:50:23 +02:00
Juan Linietsky
af9a6202eb
Fix bone refresh logic, closes #18564
2018-05-04 18:11:28 -03:00
Juan Linietsky
bf561c4946
Made bone handling for actual Bone2D a special case. Make custom bones appear like a custom (less important) option now.
2018-05-04 16:46:32 -03:00
Juan Linietsky
e68cbec1fa
Make bones have more contrast with outline
2018-05-04 11:54:21 -03:00
Juan Linietsky
3bd0ca2a2d
Skeletal deform working
2018-05-04 11:54:21 -03:00
Rémi Verschelde
d6ddfdf004
Merge pull request #18601 from YeldhamDev/string_changes
...
Small changes for some strings
2018-05-04 08:16:54 +02:00
Michael Alexsander Silva Dias
5b0ddb1354
Small changes for some strings.
2018-05-03 18:07:18 -03:00
Juan Linietsky
b3e4bc562c
Skeleton for 2D WIP
2018-05-03 17:29:56 -03:00
Robin Hübner
b16eaf5827
Remove unused duplicate wireframe shortcut, fixes #18067
...
It also happens to do nothing currently.
2018-05-03 16:22:30 +02:00
Juan Linietsky
4c3c510a80
WIP Polygon2D weight editing
2018-05-02 11:01:12 -03:00
groud
845a898f37
Fixes locks and groups on 2d editor
2018-05-02 10:37:37 +02:00
Rémi Verschelde
02a51c34ea
Merge pull request #18259 from Superwaitsum/MoveIcons
...
Changed Sprite Frame buttons for icons
2018-05-02 10:08:57 +02:00
Rémi Verschelde
de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
...
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
Pieter-Jan Briers
20dd2204db
Adds z-index properties to TileSets.
2018-05-01 17:24:57 +02:00
Rémi Verschelde
8dd2b2e6f5
Merge pull request #18434 from YeldhamDev/animation_autoplay_fix
...
Fixed deleting an animation marked to autoplay in the editor affecting the creation of one with the same name
2018-05-01 11:47:37 +02:00
Rémi Verschelde
e1ef2f538f
Merge pull request #18380 from groud/fix_spacebar_panning
...
Fixes 2d editor panning not working
2018-05-01 08:56:13 +02:00
Rémi Verschelde
4cce6f3417
Merge pull request #18321 from Crazy-P/Fixes-logically-dead-code
...
Fixes logically dead code (Coverity)
2018-05-01 08:35:10 +02:00
Superwaitsum
7d689dff71
Changed Sprite Frame move buttons for icons
2018-04-30 16:05:21 -05:00
Max Hilbrunner
196fc8599a
Merge pull request #18373 from KidRigger/working
...
Replaces CTRL with CMD in TileMapEditor for MacOS.
2018-04-30 19:00:41 +02:00
Max Hilbrunner
f274c8b74b
Merge pull request #18381 from groud/fix_hard_to_select_node2d
...
Fixes hard to select Node2D
2018-04-30 18:58:27 +02:00
Hugo Locurcio
098f9b51b5
Improve the 3D editor grid
...
- The grid's primary and secondary colors can now be changed
- The number of grid steps (subdivisions) can now be changed
- The grid size can now be changed
- The grid is now darker by default
2018-04-30 14:24:54 +02:00
Hein-Pieter van Braam
91dfccd1ee
Merge pull request #18425 from RandomShaper/fix-theme-editor-samples
...
Fix theme editor sample widgets
2018-04-28 22:19:13 +02:00
Juan Linietsky
93c77580aa
Fix how snapping is applied to 3D polygon editing, make it more friendly.
2018-04-28 11:22:22 -03:00
Juan Linietsky
8d199a9b2c
CSG Support for Godot!
...
-Missing Icons
-Missing freezing option (for baking light and faster load)
-Missing a way to export from Godot (GLTF2?)
-Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs)
Happy testing!
2018-04-27 21:55:10 -03:00
Michael Alexsander Silva Dias
75897710b3
Made the Pin button disable when no AnimationPlayer is selected.
2018-04-27 16:06:05 -03:00
Michael Alexsander Silva Dias
e93a56ef3e
Fixed deleting an animation marked to autoplay in the editor affecting the creation of one with the same name.
2018-04-27 16:06:05 -03:00
Pedro J. Estébanez
a0626d7d9c
Fix theme editor sample widgets
2018-04-27 20:42:57 +02:00
Michael Alexsander Silva Dias
6971604033
Numerous changes to the Animation Editor.
2018-04-26 22:58:30 -03:00
Gilles Roudiere
8dcd39c3c4
Adds shortcuts for zooming in the 2D editor
2018-04-26 10:28:56 +02:00
groud
e8a4c4fa4c
Fixes hard to select Node2D
2018-04-23 19:48:15 +02:00
groud
9c5a44aeee
Fixes 2d editor panning not working
2018-04-23 19:34:03 +02:00
Anish
cca7633739
Replaces CTRL with CMD in TileMapEditor for MacOS.
...
Replacing CTRL with CMD makes sense dure to consistency
with MacOS and avoiding conflict with the accessibility
hotkey (ctrl+lmb = rmb)
Fixes : #18238
2018-04-23 19:39:01 +05:30
Hugo Locurcio
1c419531a0
Change ".." punctuation for "..." in editor strings ( #16507 )
2018-04-22 19:36:01 +02:00
Crazy-P
e6deba8d19
Fixes logically dead code (Coverity)
...
Fixes reported logically dead codes by Coverity
* image.cpp: Doesn't really need any modification. But to remove the bug
report then we have to move the MAX call away from the for loop
statement.
* rasterizer_gles3.cpp: Removes unnecessary elif condition since it is
checked earlier in the function
* collada.cpp: If stamement never reached due to macro ERR_CONTINUE does
the same.
* navigation_mesh.cpp: Variables should always be null - however, also
checked for the very same condition in their function call. Leaving this
for review (whether the function call is necessary or not)
* path_editor_plugin.cpp: If cancel is true, then it should restore the
edited value to the original provided.
http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle
* spatial_editor_gizmos.cpp: the very condition of i >= 3 is
predetermined in the if case right before it. Thus case 1 is always '1'
and case 2 is always '-1'
* grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp
* voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_server.cpp: Same as above in spatial_editor_gizmos.cpp
* visual_script_expression.cpp: char '-' is already true in the switch
case mechanism. Thus it can never reach to default case.
* particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking
right before the switch execution.
* shader_language.cpp: Invalid index is handled in switch default case.
`type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`)
Fixes the "always false problem" in TODO comment.
2018-04-21 22:35:23 +08:00
Eric McCarthy
02b7b916b7
Fix clone down newline bug
...
Previously cloning down at the end of a script was broken if there was
not an additional empty line.
This fix ensures there is an empty line before attempting to clone
downwards.
Fixes #18206 , cheers!
2018-04-19 20:35:42 -04:00
Rémi Verschelde
bf7ca623a6
Fix Coverity reports of uninitialized scalar variable
...
Fixes most current reports on Coverity Scan of uninitialized scalar
variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html
These happen most of the time (in our code) when instanciating structs
without a constructor (or with an incomplete one), and later returning
the instance. This is sometimes intended though, as some parameters are
only used in some situations and should not be double-initialized for
performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-19 15:20:45 +02:00
Rémi Verschelde
db70538688
Merge pull request #18168 from Chaosus/fixcrash
...
Fix possible crash when clicking on Skeleton2D or Sprite editor options
2018-04-18 16:19:10 +02:00
Chaosus
026617b5fb
Fix possible crash when clicking on Skeleton2D or Sprite editor options
2018-04-18 16:45:39 +03:00
Rémi Verschelde
e7e9d9a0ea
Merge pull request #18156 from RandomShaper/fix-messed-pr
...
Revert "Unify http- and percent- encode/decode"
2018-04-13 22:20:35 +02:00
Juan Linietsky
1d15c5d726
Merge pull request #17502 from groud/2Deditor_rect
...
Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
2018-04-13 10:21:44 -03:00
Pedro J. Estébanez
00e98458ba
Revert "Unify http- and percent- encode/decode"
...
This reverts commit b76ee30917
.
2018-04-12 21:12:34 +02:00
Juan Linietsky
3a08f1748b
Merge pull request #16571 from Zylann/find_in_files
...
Added find & replace in files
2018-04-08 17:24:26 -03:00
Juan Linietsky
6eb0c74e9d
Merge pull request #17443 from Noshyaar/tilesetcrash
...
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-08 09:31:54 -03:00
Juan Linietsky
cd7e9d9642
Merge pull request #17583 from RandomShaper/enhance-uri-utils
...
Enhance uri utils
2018-04-07 17:07:29 -03:00
Juan Linietsky
187b14ae24
Merge pull request #17730 from RandomShaper/radio-buttons-in-menus
...
Radio buttons in menus
2018-04-07 16:41:39 -03:00
Juan Linietsky
7dedb22f0b
Merge pull request #17809 from RandomShaper/menu-item-on-release
...
Improve popup menus usability
2018-04-07 16:22:00 -03:00
Pedro J. Estébanez
259ed1d400
Improve popup menus usability
...
It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal.
This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item.
This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature.
This improves UX a bit by saving unnecessary clicks.
From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
2018-04-07 01:06:02 +02:00
Alexander Alekseev
0853ac2006
Update transform buttons in tile editor while using T, A, S shortcuts ( fixes #17962 )
2018-04-04 16:02:44 +03:00
Rémi Verschelde
950d4922a5
Merge pull request #17863 from covariantlabs/add-move-selected-tiles
...
Add functionality to move selected tiles in tile map editor
2018-04-04 09:54:08 +02:00
Rémi Verschelde
5ede505f14
Merge pull request #17923 from Paulb23/add_abstract_syntax_highlighter
...
Abstracted the syntax highlighter from text edit.
2018-04-04 09:50:51 +02:00
Martin Rieke
d538fcd92d
Add functionality to move selected tiles in tile map editor
...
This change adds a new entry "Move Selection" to the "Tile Map"
menu in the tile map editor. It allows the user to easily move
as set of selected tiles.
2018-04-04 09:23:56 +02:00
Gilles Roudiere
a724f34ef3
Displays node icon on hover
2018-04-03 23:56:37 +02:00
Rémi Verschelde
bcf5b748b5
Merge pull request #17832 from YeldhamDev/popups_size_fix
...
Fixed some popups not shrinking their size back when losing items
2018-04-03 23:53:47 +02:00
Rémi Verschelde
82c26f74ad
Merge pull request #17865 from delftswa2018/enumLookupFix
...
Ctrl+Clicking a enum now scrolls down to it in the docs.
2018-04-03 22:43:07 +02:00
Gilles Roudiere
0251b08afa
Display nodes without rect's position
2018-04-03 22:04:19 +02:00
Gilles Roudiere
72ed1e4244
Remove the selection rect for nodes that do not require it
2018-04-03 22:04:19 +02:00
Felix Yang
7d5a40c3e6
Ctrl+Clicking a enum now scrolls down to it in the docs.
2018-04-03 21:56:54 +02:00
Gilles Roudiere
6435894275
Fixes issues with selectable children and locks
2018-04-03 21:31:15 +02:00
Rémi Verschelde
36ca622466
Merge pull request #17935 from Rubonnek/remove-unneeded-sort
...
Removed unneeded sort from SpriteFramesEditor plugin
2018-04-03 12:46:48 +02:00
Wilson E. Alvarez
bb9c75c5ed
Removed unneeded sort from SpriteFramesEditor plugin
2018-04-02 19:06:13 -04:00
Paulb23
f7c727e6c3
Abstracted the syntax highlighter from text edit
2018-04-02 12:41:44 +01:00
Poommetee Ketson
a492d22952
Mesh: fix crash when creating mesh outline from QuadMesh
...
Since create_outline can only make outline for PRIMITIVE_TRIANGLES,
when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create
outline, will leave `arrays` empty, and crash when it is being indexed
for "indices" subarray.
This PR shows error when there's only one surface and it is not
TRIANGLES. Also prevent the crash if it has more than one surface
and none of them are TRIANGLES (and any other cases that could leave
`arrays` empty) by checking the size of `arrays` == 8 before indexing
it, since the method seems to expect `arrays` to be of that size.
2018-04-01 22:06:47 +07:00
Michael Alexsander Silva Dias
7cbf301f31
Fixed some popups not shrinking their size back when losing items.
2018-03-28 17:04:37 -03:00
Gilles Roudiere
4b4ed9b724
Merge pull request #17785 from Rubonnek/simplify-canvas-item-logic
...
Simplify CanvasItemEditor anchor drag logic
2018-03-28 11:56:29 +02:00
Chaosus
9a6b4a3f11
Enable snapping in 2D when control key pressed
2018-03-28 10:07:21 +03:00
Pedro J. Estébanez
a6dc160d5c
Use radio-button-like menu entries where applicable
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
bf14a6deff
Support radio-button entries in ItemListPlugin
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
ab3b1d9f3e
Add radio-button-looking entries to PopupMenu
...
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually.
`is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button.
Keeping check in the name adds an additional clue about these facts.
Closes #13055 .
2018-03-27 19:19:45 +02:00
Pedro J. Estébanez
b76ee30917
Unify http- and percent- encode/decode
...
There was a percent-prefixed version, which was exposed, and a http-prefixed version which was not (only to GDNative).
This commit keeps the percent-prefixed versions, but with the http-prefixed implementations.
2018-03-27 19:18:30 +02:00
Wilson E. Alvarez
bc9ef5461b
Simplify CanvasItemEditor anchor drag logic
2018-03-26 14:30:51 -04:00
Poommetee Ketson
ed3b080ca6
Fix converting to tileset crashes Godot if existing file is not tileset
...
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Rémi Verschelde
699325f9a1
Merge pull request #17505 from ArkDShiggy/invert_y-axis
...
add option to invert y-axis
2018-03-23 11:28:05 +01:00
Julien CATINEAU
57e6b8781c
add option to invert y-axis
2018-03-20 08:03:38 +01:00
Gilles Roudiere
038de54b1f
Fixes scrollbars in Canvas Item Editor
2018-03-17 12:18:33 +01:00
Rémi Verschelde
c81356153e
Merge pull request #16971 from Noshyaar/tilemap
...
TileMap: add fix_invalid_tiles
2018-03-13 13:57:58 +01:00
Rémi Verschelde
65dc4abca3
Merge pull request #16978 from Noshyaar/tmsc
...
Add icon to TileMapEditor popupmenu
2018-03-13 13:57:10 +01:00
Rémi Verschelde
535205196f
Merge pull request #17013 from Noshyaar/theme
...
Update icons when theme changed
2018-03-13 13:48:37 +01:00
Rémi Verschelde
8b31b98036
Merge pull request #17104 from Faless/assetlib_more_threads
...
More threading in AssetLib
2018-03-13 13:35:28 +01:00
Rémi Verschelde
401a39f57e
Merge pull request #17116 from poke1024/fix16734
...
Fix round preview getting square on "run scene" (issue 16734)
2018-03-13 13:33:51 +01:00
Rémi Verschelde
a3915d8597
Merge pull request #17154 from Hinsbart/fix_text_editor_settings
...
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor.
2018-03-13 12:54:43 +01:00
Rémi Verschelde
8b629bbcbe
Merge pull request #17166 from Noshyaar/tilemap2
...
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-13 12:53:51 +01:00
Rémi Verschelde
fcd81c9627
Merge pull request #17172 from StateOff/add_show_axis_options
...
Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
2018-03-13 12:53:11 +01:00
Rémi Verschelde
4835488716
Merge pull request #17184 from Noshyaar/tilemap3x
...
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-13 12:51:01 +01:00
Rémi Verschelde
b49746f3cd
Merge pull request #17381 from poke1024/fix-anim-scrub
...
AnimationPlayer: fix scrubbing after play backwards
2018-03-13 11:51:30 +01:00
Poommetee Ketson
caa0d513ab
ScriptTextEditor: fix capitalize offset
2018-03-12 01:37:41 +07:00
Bernhard Liebl
b553b38e7b
AnimationPlayer: fix scrubbing after play backwards
2018-03-09 19:41:14 +01:00
Ranoller
2aae6fc2ec
FIX to broken item select list (zoom and RMB)
...
FIX to #17346 . Compiled and tested.
2018-03-07 21:39:55 +01:00
Bernhard Liebl
ced694e9cd
In CanvasItemEditor, prioritize selected items
2018-03-05 19:09:59 +01:00
Blazej Floch
934498d37a
Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
2018-03-02 21:27:32 -05:00
Poommetee Ketson
54ecfc96ea
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-02 23:15:32 +07:00
Poommetee Ketson
86938a06aa
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-02 17:14:55 +07:00
Andreas Haas
1cfc43421e
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor.
2018-03-01 21:45:24 +01:00
Hein-Pieter van Braam
d702d7b335
Fix various valgrind reported uninitialized variable uses
2018-02-28 21:55:13 +01:00
poke1024
899f7b125e
Fix round preview getting square on "run scene" (issue 16734)
2018-02-28 20:23:40 +01:00
Fabio Alessandrelli
3a25415a1c
More threading in AssetLib
...
AssetLib now uses thread as requested to download previews and items
2018-02-28 15:08:17 +01:00
Poommetee Ketson
762f241e10
TileSetEditorPlgn: Fix a leak
2018-02-27 09:58:27 +07:00
Poommetee Ketson
2de1dfa42f
Update icons when theme changed
2018-02-25 23:04:16 +07:00
Juan Linietsky
125fc8cc44
Add a split editor to polygon 2D UV editor, moving an inch closer to adding support for in the future
2018-02-25 12:07:13 -03:00
Poommetee Ketson
0f36c7aae5
Add icon to TileMapEditor popupmenu
2018-02-24 20:39:19 +07:00
Poommetee Ketson
7effe46461
TileMap: add fix_invalid_tiles
2018-02-24 19:34:41 +07:00
Rémi Verschelde
23ebae01dc
Refactor version macros and fix related bugs
...
The previous logic with VERSION_MKSTRING was a bit unwieldy, so there were
several places hardcoding their own variant of the version string, potentially
with bugs (e.g. forgetting the patch number when defined).
The new logic defines:
- VERSION_BRANCH, the main 'major.minor' version (e.g. 3.1)
- VERSION_NUMBER, which can be 'major.minor' or 'major.minor.patch',
depending on whether the latter is defined (e.g. 3.1.4)
- VERSION_FULL_CONFIG, which contains the version status (e.g. stable)
and the module-specific suffix (e.g. mono)
- VERSION_FULL_BUILD, same as above but with build/reference name
(e.g. official, custom_build, mageia, etc.)
Note: Slight change here, as the previous format had the build name
*before* the module-specific suffix; now it's after
- VERSION_FULL_NAME, same as before, so VERSION_FULL_BUILD prefixed
with "Godot v" for readability
Bugs fixed thanks to that:
- Export templates version matching now properly takes VERSION_PATCH
into account by relying on VERSION_FULL_CONFIG.
- ClassDB hash no longer takes the build name into account, but limits
itself to VERSION_FULL_CONFIG (build name is cosmetic, not relevant
for the API hash).
- Docs XML no longer hardcode the VERSION_STATUS, this was annoying.
- Small cleanup in Windows .rc file thanks to new macros.
2018-02-23 20:15:29 +01:00
Juan Linietsky
92ece2e727
Ability to edit Polygon2D shape from within the UV editor, this will eventually make it possible to in the future.
2018-02-22 17:40:54 -03:00
Rémi Verschelde
742d01b888
Merge pull request #16888 from GodotExplorer/debugger-improvement-2
...
Fix builtin script cannot open from debug stacks
2018-02-22 08:51:24 +01:00
Juan Linietsky
7cd867c3fe
2D Skeletons WORK IN PROGRESS
2018-02-21 17:24:00 -03:00
luz.paz
612ab4bbc6
Fix typos with codespell
...
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```
2018-02-21 19:46:06 +01:00
Chaosus
24c170555d
Enable snapping when control key pressed
2018-02-21 17:36:25 +03:00
geequlim
095e2bcc26
Fix builtin script cannot open from debug stacks
2018-02-21 21:10:32 +08:00
Juan Linietsky
b2412c72a0
Was missing clearing computed UVs, sorry, realized late.
2018-02-21 09:40:01 -03:00
Juan Linietsky
9e3a1e5401
Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.
2018-02-21 09:39:09 -03:00
Rémi Verschelde
c291fc39ad
Merge pull request #16772 from damarindra/tileset_editor_improvement
...
Tileset Editor Improvement
2018-02-21 10:40:43 +01:00
Damar Indra
e69dd47501
Tileset Editor Improvement
2018-02-20 22:33:59 +07:00
Rémi Verschelde
55f00d9655
Merge pull request #16455 from volzhs/close-docs
...
Keep to show current script when closing all docs
2018-02-20 09:40:29 +01:00
volzhs
df84290a7e
Keep to show current script when closing all docs
...
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.
Fix #16403
2018-02-20 14:39:52 +09:00
Marc Gilleron
f637ad84e3
Added find & replace in files
2018-02-19 22:38:58 +01:00
Rémi Verschelde
e7fb143515
Merge pull request #14433 from PJB3005/17-12-08-3d_grid_color_setting_update
...
Makes 3D editor grid color update without restart.
2018-02-19 22:02:02 +01:00
Rémi Verschelde
5efbb08a7a
Merge pull request #16697 from ianb96/script_list_no_sort
...
Add Option to disable sort in script list
2018-02-19 20:37:15 +01:00
Rémi Verschelde
b93d6a001b
Merge pull request #16566 from groud/gui_input_rework
...
2D Editor GUI input rework
2018-02-19 20:05:35 +01:00
Rémi Verschelde
959b3e6d8c
Merge pull request #16752 from Yanpas/dellines
...
Delete all selected lines using the "delete line" shortcut in script editor
2018-02-19 19:54:24 +01:00
Poommetee Ketson
d5eba83fd5
Merge pull request #16774 from sudoio/fix-16773
...
Fix #16773 (Rename "Install" to "Download" in AssetLib)
2018-02-18 11:25:44 +07:00
Yan Pas
7368978a48
Delete all selected lines using the delete line shortcut in script editor
2018-02-17 17:56:13 +03:00
Artem Varaksa
d35e486228
Clean up some bad words from code comments
2018-02-17 16:00:39 +03:00
Artem Varaksa
69675463b0
Fix #16773 (Rename "Install" to "Download" in AssetLib)
2018-02-17 15:35:40 +03:00
Rémi Verschelde
2caf4aed61
Merge pull request #16748 from Chaosus/fixscriptpreview
...
Fix script previews
2018-02-16 16:26:55 +01:00
Chaosus
a8fbd082fe
Fix script previews
2018-02-16 18:18:12 +03:00
damarindra
cceb176be3
fix crash autotile edit mode
2018-02-16 17:48:01 +07:00
Gilles Roudiere
8dad41e395
2D editor GUI input rework. Changes are:
...
- The input handling is done into several distinct functions, and the
code is more consistent.
- The actions' history is more precise ("Edited CanvasItem"
is now "Rotated CanvasItem","Moved CanvasItem",etc...)
- Fixed a little bug about input key events not forwarded correctly to plugins
- IK is followed by default when you move a bone node, the alt-key allow
you to move it normally
2018-02-16 10:14:52 +01:00
ianb96
e1778fb921
option to disable sort in script list
2018-02-14 11:38:02 -05:00
Rémi Verschelde
79f48cde3d
Merge pull request #15193 from poke1024/script-preview
...
Rounded previews (and nicer script previews)
2018-02-14 17:11:38 +01:00
Rémi Verschelde
a8b74ea4da
Merge pull request #15713 from StraToN/fix-15556-resourcepreloader-open-res
...
Display path to preloaded res + button to open it
2018-02-14 16:27:37 +01:00
Michael Alexsander Silva Dias
4dbf6ac1b8
Added "allow_reselect" property to ItemList and enabled it for the method/help lists.
2018-02-14 03:38:07 -02:00
Rémi Verschelde
ba106ae51c
Merge pull request #16667 from vnen/remove-container-control
...
Add a function to remove controls from containers
2018-02-13 23:10:38 +01:00
George Marques
da69a06253
Add a function to remove controls from containers
...
Closes #5968
2018-02-13 19:35:10 -02:00
Rémi Verschelde
e8763ef130
Merge pull request #16518 from Paulb23/fix_members_overview_offset
...
Fixed members overview not scrolling to correct line
2018-02-13 22:12:48 +01:00
Rémi Verschelde
a8edad2128
Merge pull request #16463 from Noshyaar/pr1
...
3DEditor: fix selecting node in viewport not update inspector
2018-02-13 17:06:49 +01:00
Rémi Verschelde
8cfe798877
Merge pull request #16433 from Calinou/remove-assetlib-debugging-prints
...
Remove debugging prints related to the asset library
2018-02-13 15:47:47 +01:00
Rémi Verschelde
fd871b4d4f
Merge pull request #16383 from binbitten/issue_16335
...
Fix spaces and quotes in external editor flags
2018-02-13 15:21:37 +01:00
Rémi Verschelde
dff0c41fe8
Merge pull request #16374 from ianb96/drop_at_mouse
...
Drop path text at mouse pos
2018-02-13 11:25:55 +01:00
Poommetee Ketson
45ab9cdfb5
Merge pull request #16499 from sudoio/master
...
Deselect text when jumping to function
2018-02-12 23:09:19 +07:00
Rémi Verschelde
f961ba004b
Merge pull request #16332 from YeldhamDev/capitalize_view_menu
...
Capitalized "View" menu options
2018-02-12 09:00:36 +01:00
Rémi Verschelde
c3cfc951c7
Merge pull request #15499 from YeldhamDev/recent_scripts_fix
...
Changes for the "Recent Scripts" menu
2018-02-12 08:01:08 +01:00
Paulb23
4d92c5e1c3
Fixed members overview not scrolling to correct line
2018-02-09 17:35:28 +00:00
Artem Varaksa
3094e89782
Fix #16479 (deselect text when jumping to function)
2018-02-08 21:12:08 +03:00
Poommetee Ketson
cfac160f9f
3DEditor: fix selecting node in viewport not update inspector
2018-02-07 13:27:39 +07:00
Hugo Locurcio
5513e4e1f9
Remove debugging prints related to the asset library
2018-02-05 22:39:35 +01:00
binbitten
fb8d2420b5
Fix spaces and quotes in external editor flags
2018-02-04 11:18:54 +01:00
ianb96
06965f2770
drop path text at mouse pos
2018-02-03 22:35:44 -05:00
Chaosus
3ba43ac975
Fix gradient texture preview
2018-02-03 12:10:44 +03:00
Michael Alexsander Silva Dias
b507eeddcc
Capitalized "View" menu options.
2018-02-02 17:27:57 -02:00
Michael Alexsander Silva Dias
140340978b
Changes for the "Recent Scripts" menu.
2018-02-02 15:34:36 -02:00
Poommetee Ketson
25dd1f0681
3DEditor: fix multiple node selection crash the editor
...
I'm not sure about this fix. This seems to also fixes the weird
selection bug where when selecting node 1 to 3 it focuses on
2nd node.
2018-01-27 17:28:01 +07:00
Razah
72901936cc
Fix shortcut conflict
...
fix https://github.com/godotengine/godot/issues/16054
The clone_down shortcut that conflicts with the "editor / play" shortcut has been replaced by "SHIFT + COMMAND + C" instead of "COMMAND + B" on macOS
2018-01-25 19:24:51 +03:00
volzhs
48611afb80
Rotate Control node with respecting pivot offset
2018-01-24 15:44:28 +09:00
Poommetee Ketson
70be6848c2
Fix ObjectDB Instances still exist
...
```
WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:1989.
Leaked Instance: VSeparator:13837 - Node Name:
Leaked Instance: AutotileEditorHelper:13814
Orphan StringName: VSeparator
Orphan StringName: AutotileEditorHelper
StringName: 2 unclaimed string names at exit.
```
2018-01-22 11:46:05 +07:00
Rémi Verschelde
9f479f096c
Fix typos in code and docs with codespell
...
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Mariano Suligoy
489eac3f13
TileSetEditorPlugin: take scale in accout when highlighting current selected subtile.
2018-01-17 21:07:43 -03:00
Gilles Roudiere
b06c6602c8
Changes the keep_margin parameter to true by default, so that people are not suprised that set_anchor changes the margins values
2018-01-15 10:37:13 +01:00
Rémi Verschelde
05b1843818
Merge pull request #15696 from bojidar-bg/15646-assigned-animation
...
Fix an issue with the animation editor not seeking to the target time
2018-01-15 08:54:07 +01:00
Julian Murgia
b766a849ad
Display path to preloaded res + button to open it
2018-01-15 07:49:29 +01:00
Marc Gilleron
6a4e89b6ec
Fix crash when freelook shortcuts are undefined
2018-01-15 00:32:27 +01:00
Paulb23
896a0c5ef5
Fixed member keywords colour not updating on settings change
2018-01-14 16:31:46 +00:00
Bernhard Liebl
89057dd289
Fix external editors always opening on scene change
2018-01-14 12:34:00 +01:00
Bojidar Marinov
f2355949c4
Fix an issue with the animation editor not seeking to the target time properly.
...
Fixes #15646 .
2018-01-14 12:28:57 +02:00
Juan Linietsky
419705db6e
Add special coloring to members, to make shadowing more obvious.
2018-01-12 11:01:09 -03:00
Juan Linietsky
a26e6c8215
Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification.
...
Updated doc accordingly.
2018-01-12 08:29:24 -03:00
Rémi Verschelde
e24f2c6489
Merge pull request #15611 from bojidar-bg/x-bind-more-properties
...
Bind many more properties to scripts
2018-01-12 09:00:20 +01:00
Juan Linietsky
2cde466ebd
-Remove color operator clamping, which is unnecesary. Fixes #15184 , fixes #14686 .
...
-Refresh progress bar less often, makes baking, exporting, etc. faster.
2018-01-12 00:08:32 -03:00
Bojidar Marinov
9b8e8b2220
Bind many more properties to scripts
...
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
2018-01-12 00:58:14 +02:00
Rémi Verschelde
2c17af0509
Merge pull request #15579 from damarindra/add-receptor-tileset
...
fix updating tileset list when assign texture and set autotile true
2018-01-11 11:15:42 +01:00
poke1024
b352b0b88c
Fixes snap button getting out of sync (issue 15366)
2018-01-11 06:52:10 +01:00
damarindra
bea40343ab
fix updating tileset list when assign texture and set autotile true
2018-01-11 05:50:36 +07:00
Rémi Verschelde
4a25a4e53f
Merge pull request #15516 from StateOff/fixes_crash_on_drop_scene_file
...
Fixes #15470 "Crash on drag and drop scene file on empty scene"
2018-01-10 07:57:35 +01:00
Blazej Floch
9d4afdc372
- Fixes #15470 "Crash on drag and drop scene file on empty scene"
...
- New: Allows for multiple files to be dragged over
- Added error when multiple nodes are dropped in scene **without** scene root
- Removed TTR: "This operation requires a single selected node.", "I see.."
- Introduces TTR: "Can not instaniate multiple nodes without root."
- Fixes "Can't add_child, already got a parent" error
- Reduced multiple resource loading by casting
- Make sure to not _show_resource_type_selector if only PackedScenes are being dropped
2018-01-09 23:16:47 -05:00
Ignacio Etcheverry
1c6269f2dd
External editor fixes
...
- Fix VS Code opening on the previous line to the desired one.
- Fix running MonoDevelop without the line and column parameters.
- Fix `ScriptEditor::_goto_script_line` not working with language overriden external editors.
2018-01-09 17:25:23 +01:00
Bernhard Liebl
7e1b39245f
Don't delete edit menu too early when closing script tabs
2018-01-08 19:47:47 +01:00
George Marques
37ca542d2b
Merge pull request #15433 from poke1024/fix13957
...
Fix crash due to stale refs to node selection lists
2018-01-07 14:56:43 -02:00
Rémi Verschelde
abcb87bc43
Merge pull request #15357 from damarindra/autotile-behaviour
...
Fixing unconsistent behaviour on autotile editor
2018-01-07 16:00:00 +01:00
Bernhard Liebl
6c6a0fe840
Fix crash due to stale refs to node selection lists
2018-01-07 09:57:28 +01:00
Poommetee Ketson
768fd83e61
Fix typo in new strings
2018-01-06 21:33:11 +07:00
Rémi Verschelde
2a1ce0fbc4
i18n: Sync translation templates with current source
2018-01-06 14:32:21 +01:00
damarindra
97b8be7261
Fixing weird behaviour on autotile editor
2018-01-05 17:53:30 +07:00
damarindra
0ae4ca7066
prevent autotile properties out of bounds
2018-01-05 15:28:36 +07:00
Bernhard Liebl
66b879726e
Rounded previews (and nicer script previews)
2018-01-05 07:51:38 +01:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
1b79326c0f
Merge pull request #15341 from volzhs/scene-index-error
...
Fix get_edited_scene_root error at starting editor
2018-01-04 20:42:47 +01:00
Artem Varaksa
928ca10a7b
Clean up \n from end of translation strings
2018-01-04 22:00:39 +03:00
volzhs
1876999b3a
Fix get_edited_scene_root error at starting editor
...
Fix #15300
2018-01-05 03:55:43 +09:00
Rémi Verschelde
da4edf83d3
Merge pull request #15311 from YeldhamDev/tileset_button_fix_2
...
Fixed "Tile Set" button always showing bug introduced with #15309
2018-01-04 13:54:16 +01:00
Michael Alexsander Silva Dias
ca90c737b7
Fixed "Tile Set" button always showing bug introduced with #15309 .
2018-01-04 09:26:24 -02:00
firefly2442
f066991aa7
found via cppcheck:
...
remove code that will never run
make definition and declaration names for parameters match
change floats that were being set to bool values
remove pointer that is never used
2018-01-03 21:23:48 -07:00
Rémi Verschelde
1235d422ea
Merge pull request #15309 from YeldhamDev/tileset_button_fix
...
Fixed the "Tile Set" button being able to go out of bounds
2018-01-04 01:36:24 +01:00
Rémi Verschelde
2870ffe443
Merge pull request #15301 from YeldhamDev/curve_menu_fix
...
Small fixes for the Curve Editor's context menu
2018-01-04 01:24:37 +01:00
Michael Alexsander Silva Dias
fb68ceebae
Fixed the "Tile Set" button being able to go out of bounds.
2018-01-03 21:56:57 -02:00
Rémi Verschelde
f9f6f250e6
Merge pull request #15191 from Jerome67000/z_renaming
...
renames "z" Node2D property to "z_index"
2018-01-04 00:41:45 +01:00
Michael Alexsander Silva Dias
335c1d1880
Small fixes for the Curve Editor's context menu.
2018-01-03 16:47:08 -02:00
Rémi Verschelde
2488aff93f
Merge pull request #15257 from sersoong/master-addshowscript
...
Add Show In File System to script editor tabs
2018-01-03 13:55:02 +01:00
Jerome67000
42ae3525a3
#15078 renamed "z" -> "z_index" property in Node2D
2018-01-03 13:02:26 +01:00
Rémi Verschelde
8cf9269cdb
Merge pull request #15225 from volzhs/lock-group-invisible-node
...
Fix lock or group with invisible node
2018-01-03 12:35:12 +01:00
Rémi Verschelde
361ade53aa
Merge pull request #15185 from damarindra/master
...
Improve : ease of use TileSet Editor
2018-01-03 12:06:21 +01:00
Rémi Verschelde
459ee51338
Merge pull request #15093 from poke1024/canvas-editor-select
...
More exact picking for canvas editor
2018-01-03 11:15:28 +01:00
damarindra
9b04973568
Improve : ease of use TileSet Editor
2018-01-02 16:15:33 +07:00
sersoong
77c9698785
Add Show In File System to script editor tabs
2018-01-02 10:11:54 +08:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Noshyaar
9186047767
Merge pull request #15111 from poke1024/fix15097
...
Fixes various Line2D and Polygon2D editor bugs
2018-01-01 18:46:33 +07:00
Noshyaar
6aae9affec
Merge pull request #15080 from volzhs/text-color
...
Respect text editor highlighting color changes
2018-01-01 18:46:05 +07:00
volzhs
108b4a37b0
Fix lock or group with invisible node
...
Fix #15205
2018-01-01 02:18:39 +09:00
firefly2442
9ba9e37220
prevent strings from being evaluated to just "true"
2017-12-30 21:22:16 -07:00
Bernhard Liebl
86154c4c69
Various fixes for 2d polygon editor
...
Fixes issues 15096, 15097
Fixes various other Line2D edit issues
Fixes previous outline
Fixes retina support
2017-12-30 17:51:53 +01:00
damarindra
e850360948
Autotile Enhancement
2017-12-28 23:57:23 +07:00
volzhs
4b0f075e95
Respect text editor highlighting color changes
...
Fix #14838
2017-12-28 23:49:15 +09:00
Bernhard Liebl
8505871a87
More exact picking for canvas editor
2017-12-27 20:24:58 +01:00
Gilles Roudiere
b8c849205c
Fix 2D editor checkboxes with a new project
2017-12-26 16:39:58 +01:00
Poommetee Ketson
6c897707ca
Add missing parameter names
2017-12-25 21:19:56 +07:00
Noshyaar
256a60bc6e
Merge pull request #14826 from carlosfvieira/14371-F_key_Viewport_focus_problem
...
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys)
2017-12-25 08:42:31 +07:00
Noshyaar
aecffd71d8
Merge pull request #14847 from YeldhamDev/3d_viewport_save
...
Fixes for the Spatial Editor's Perspective options and dead code cleaning
2017-12-25 08:40:43 +07:00
Noshyaar
deda8974df
Merge pull request #14853 from MattUV/context-menu
...
Adds an option to move cursor with right click in TextEdit
2017-12-25 08:40:20 +07:00
Noshyaar
5859db00d8
Merge pull request #14846 from carlosfvieira/weird_gizmo_ortho
...
Fixes gizmo huge scale immediately after change to orthogonal view
2017-12-25 08:39:08 +07:00
Noshyaar
b6c798a062
Merge pull request #14827 from RayKoopa/editor_patchwork
...
Some Editor UI patchwork
2017-12-25 08:28:53 +07:00
Noshyaar
3f193af893
Merge pull request #14808 from YeldhamDev/script_editor_fixes
...
Some fixes for the Script Editor and dead code cleaning.
2017-12-25 08:27:38 +07:00
geequlim
52ad2e5418
Add more translatable text for editor plugins.
2017-12-23 22:40:15 +08:00
Rémi Verschelde
3068ccc8e6
Merge pull request #14913 from poke1024/tooltip-shortcut-names
...
Consistent display of shortcut names in tooltips
2017-12-21 22:47:50 +01:00
poke1024
22d87f20fa
Consistent display of shortcut names in tooltips
2017-12-21 20:17:30 +01:00
carlosfvieira
49859871d9
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
...
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
2017-12-21 11:29:17 +00:00
volzhs
ec139d8522
Fix blurry after zooming
2017-12-21 00:39:02 +09:00
MattUV
a55870cd81
Adds an option to move cursor with right click in TextEdit
...
Fixes #14832
- Added an option in the editor settings/cursor to make the cursor move with right click.
- If the option is activated (true by default), a right click will move the cursor before displaying context menu.
- If there is a selection, a right click on it will keep it selected, a right click outside it will unselect it.
- The option is available in textEdit via an inspector property (or via GDScript): caret_moving_by_right_click
- The option is available in the script editor and the shader editor via the editor settings
- The documentation has been updated with the new property, and a few other entries in TextEdit.xml.
2017-12-20 09:01:09 +01:00
Michael Alexsander Silva Dias
2490c4d882
Fixes for the Spatial Editor's Perspective options and dead code cleaning.
2017-12-20 01:05:21 -02:00
Carlos Vieira
2a3f6ee8b3
#14619 - fixes issue 1 (gizmo huge scale) - also referred in #14836
2017-12-19 23:45:10 +00:00
Ray Koopa
69ef89a8bd
Limit code editor minimum width, clear Scene node subresource menu before refilling it
2017-12-19 18:29:01 +01:00
Michael Alexsander Silva Dias
36e835bbd4
Some fixes for the Script Editor and dead code cleaning.
2017-12-18 15:46:17 -02:00
Rémi Verschelde
e83c502939
Merge pull request #14754 from willnationsdev/dictionary-copy
...
Added 'duplicate' function for Dictionary in C++ and API.
2017-12-17 23:58:59 +01:00
Will Nations
f19fc83546
Dictionary::copy -> ::duplicate
2017-12-17 16:07:15 -06:00
George Marques
c8d416d152
Fix method not returning value in all paths (autotile editor)
2017-12-17 16:03:46 -02:00
volzhs
4073de88cb
Refactoring FPS & information on 3D viewport
...
- FPS label position adjusted with Preview button
- Remove unnecessary Panel control
- Remove unnecessary check condition
2017-12-17 21:49:44 +09:00
Przemysław Gołąb (n-pigeon)
b3575b5164
Moved Local Space Mode and Transform Snap settings to Top Bar ...
...
...buttons for easier access.
2017-12-16 15:42:19 +01:00
Rémi Verschelde
03fb1fd7fa
Merge pull request #14613 from voithos/fold-jump-bugfix
...
Account for folded code blocks when navigating via members list
2017-12-16 01:16:25 +01:00
Rémi Verschelde
3caa18f02a
Merge pull request #14630 from willnationsdev/script-editor-create-api
...
Add API for ScriptEditor to open ScriptCreateDialog
2017-12-16 01:15:20 +01:00
Rémi Verschelde
1a065772d6
Merge pull request #14623 from volzhs/mesh-menu-theme
...
Fix theme for Mesh menu
2017-12-16 01:14:53 +01:00
Rémi Verschelde
76af59ee5e
Merge pull request #14649 from MattUV/fix-indentation
...
Modifies text indentation behaviour
2017-12-16 00:41:59 +01:00
Juan Linietsky
e946fb8cb0
Made built-in identifiers properly constant in shaders. Fixes #14449 , closes #14629
2017-12-15 18:24:30 -03:00
MattUV
db020f3cea
Modifies indentation behaviours
...
Partially fixes #14559 (see the issue for details);
Removes some code redondancy ;
Adds the possibility to indent left and right without selecting text ;
Adds the entries to the context menu when text is not selected ;
Renames indent_selection_left() and indent_selection_right() to indent_left() and indent_right() ;
Unifies context menus of shader text editor and script text editor.
2017-12-15 10:04:56 +01:00
Daniel J. Ramirez
dcad7042dc
Updated icons
...
[ciskip]
2017-12-14 15:49:27 -06:00
Juan Linietsky
f3ad14224e
-Add lightmapper
...
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
Will Nations
c38cd9b963
Added open_script_create_dialog func
2017-12-13 22:14:17 -06:00
Andreas Haas
34e489f060
TileMapEditor: Fix tile placement.
...
Fixes #14625
2017-12-13 16:46:22 +01:00
volzhs
e8cc25a855
Fix theme for Mesh menu
2017-12-13 21:26:55 +09:00
Rémi Verschelde
b0aeecc02b
Merge pull request #14596 from Noshyaar/pr
...
Enhance undoredo action name, TTR, cleanup
2017-12-13 08:36:47 +01:00
Zaven Muradyan
f139d0e4e6
Account for folded code blocks when navigating via members list
...
Previously, the editor would attempt to set the scroll position to the
function's line number, but this would result in an invalid scroll
whenever functions above the target were folded.
This changes callback to use a combination of `goto_line` and
`set_edit_state` to navigate to the target line and reset the cursor to
column 0.
Using `goto_line` also has the side effect of automatically unfolding
the target function, which seems like useful behavior.
Fixes #14572 .
2017-12-12 21:40:12 -08:00
Michael Alexsander Silva Dias
a933b927ca
Fixed Tileset editor button having the wrong text and not being translatable.
2017-12-12 17:06:44 -02:00
Poommetee Ketson
24df9f3707
Enhance undoredo action name, TTR, cleanup
2017-12-12 23:04:37 +07:00
Poommetee Ketson
9888a56639
Change statable to multistate, remove extra separator
2017-12-12 09:41:17 +07:00
Dmitry Koteroff
cd43188734
Fixed #14503
2017-12-11 02:43:27 +03:00
Rémi Verschelde
bf45e569c9
Merge pull request #11510 from AndreaCatania/skel
...
Added skeleton x-ray
2017-12-10 13:03:53 +01:00
AndreaCatania
63ec5823d1
Implemented skeleton visibility
...
Removed code visibility code from popup menu
2017-12-10 03:15:52 +01:00
Rémi Verschelde
4fd26d89c1
Merge pull request #14480 from volzhs/startup-error
...
Fix get_edited_scene_root error at starting editor
2017-12-10 00:12:42 +01:00
volzhs
81a79e0c0e
Fix get_edited_scene_root error at starting editor
2017-12-10 08:01:00 +09:00
Andreas Haas
788ed93806
Project Manager: Fix Templates search signal connection.
...
Fixes #13921
2017-12-09 22:57:34 +01:00
PJB3005
04d0a0b96d
Makes 3D editor grid color update without restart.
...
Fixes #14415
2017-12-09 21:16:26 +01:00
Rémi Verschelde
59657d6823
Merge pull request #14448 from groud/fix_checkboxes_update
...
Fixes the checkboxes update in canvas item editor
2017-12-09 19:04:27 +01:00
Juan Linietsky
65fb961b8b
-Ability to and unwrap lightmap coordinates on import
...
-Added unwrap functionality to Mesh
-Ability to display and debug mesh UVs
-Added multiline draw, so it's easier and faster to draw UVs
-Many fixes to SurfaceTool
-Fixes to Thekla Unwrap, but it's a piece of ass and it keeps crashing. Will have to go away
2017-12-09 14:18:14 -03:00
Rémi Verschelde
20a566d63a
Merge pull request #13166 from Krakean/change_addrootifnone_v2
...
When drag'n'drop, automatically create dragged resource as a root node if you haven't any yet (v2)
2017-12-09 16:42:25 +01:00
Gilles Roudiere
e1de1b62ee
Fixes the checkboxes update
2017-12-09 15:25:20 +01:00
MattUV
e669ca2576
Modify shortcuts and menus to fold/unfold code
...
Fix #13180
As the same shortcut cannot be assigned to two actions, I removed the ability to fold (fold_line()) or unfold (unfold_line()) via menu (still possible by code), and there is a single fold/unfold action (toggle_fold_line()).
The new default shortcut is now Alt+F
2017-12-08 19:21:48 +01:00
Paulb23
48ad133cf9
Changed current line draw order and added code folding color
2017-12-07 19:17:43 +00:00
Rémi Verschelde
96dbf19093
Merge pull request #14332 from akien-mga/clang-format
...
Update style for clang-format 5.0.0, new min required version
2017-12-07 09:18:11 +01:00
sersoong
94adf24798
Add uppercase and lowercase to rightclickmenu in scripteditor
2017-12-07 16:09:02 +08:00
Rémi Verschelde
13c2ff9320
Style: Apply new clang-format 5.0 style to all files
2017-12-07 08:02:00 +01:00
sersoong
f0fda9fd87
Add 'copy script path' to script editor plugin
2017-12-07 11:57:41 +08:00
Rémi Verschelde
7885360f3f
Merge pull request #13956 from poke1024/fix-poly2d-mode-change
...
Fixes Polygon2D wip mode closing when editing mode is changed
2017-12-07 00:29:12 +01:00
Juan Linietsky
7b7ba58493
-Fix particles with size==0, closes #13931
...
-Fixed material previews (dont show sphere unless for spatial)
2017-12-06 19:51:13 -03:00
Gilles Roudiere
7b02f5591d
Moves the guides colors to editor settings
2017-12-05 21:44:52 +01:00
Gilles Roudiere
03c1b6be23
Fix a little mistake in a setting name (rulers->guides)
2017-12-05 10:45:27 +01:00
Rémi Verschelde
1702a19bf0
Merge pull request #13959 from groud/editable_rulers_colors
...
Makes editable the guides color
2017-12-05 09:23:52 +01:00
Andreas Haas
faaa012b84
Script Editor: Use first non-whitespace comment delimiter.
...
As suggested by @neikeq in https://github.com/godotengine/godot/pull/13489#issuecomment-348690816
2017-12-04 18:33:43 +01:00
Juan Linietsky
1a317a39ed
Merge pull request #13961 from groud/rulers_by_default
...
Make rulers on by default
2017-12-04 11:45:04 -03:00
Gilles Roudiere
c2a7d186bd
Make rulers on by default
2017-12-04 15:39:12 +01:00
Bernhard Liebl
ca7e9c0348
Fixes Polygon2D wip mode closing when editing mode is changed
2017-12-04 13:44:30 +01:00
Gilles Roudiere
6c32629758
Makes editable the rulers color
2017-12-03 18:57:49 +09:00
Mariano Suligoy
af719a90a7
TileMap Fixes
2017-12-02 20:49:01 -03:00
Guilherme Felipe
893a71b7dd
Fix alignment for button preview_camera
2017-12-02 09:45:25 -02:00
Andreas Haas
07aa9d0506
Script Editor: Make comment delimiter language dependent.
2017-12-01 20:54:36 +01:00
Matthias Hoelzl
2beadf7ac0
Fix displacement for centered tilemaps
...
- Fixes tile and collision placement for tilemaps with
`tile_origin` set to `TILE_ORIGIN_CENTER`.
- Also fixes a bug in the offset computation for collision shapes
with `flip_v` flag set to true if `tile_origin` is
`TILE_ORIGIN_BOTTOM_LEFT`.
2017-11-27 15:12:30 +01:00
Bernhard Liebl
91b8b94635
add "add point" and "select point" handles to polygon 2d editor
2017-11-27 14:01:34 +01:00
bncastle
30d409edc1
Focus on sprite animation list after adding a new one to allow renaming with f2
...
After adding a new sprite animation, focus on the sprite animation list
to allow renaming the animation with f2 instead of having to click on
the sprite name again.
2017-11-26 20:54:26 -05:00
Juan Linietsky
c6f2db393e
Ask users to explore official projects when none is loaded.
2017-11-26 15:31:48 -03:00
Juan Linietsky
22415e5a31
Merge pull request #12572 from RandomShaper/onion-skinning
...
Onion skinning
2017-11-26 15:13:35 -03:00
Hugo Locurcio
e3fc6fcaa6
Tweak the default editor camera settings
...
- The default FOV is now 70
- The default Z-near plane is now at 0.05 meters
2017-11-25 23:03:26 +01:00
Pedro J. Estébanez
d0e09d84f0
Implement onion skinning for the animation editor
2017-11-25 13:25:14 +01:00
Juan Linietsky
bc2e8d99e5
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
...
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Pedro J. Estébanez
1964d5fddd
Improve/fix SpatialEditor state saving/restoring
2017-11-25 02:18:28 +01:00
Pedro J. Estébanez
3f31925b18
Universalize draw-over API for EditorPlugins
...
- Now it is usable from both `CanvasItem` and `Spatial` editors.
- `EditorPlugin` API changes:
- `forward_draw_over_canvas()` becomes `forward_draw_over_viewport()`.
- `update_canvas()` becomes `update_overlays()`, which now triggers the update of every overlay on top of any 2D or 3D viewports present. Also now it returns the number of such viewports, which is useful whenever you need to know the number of draw-over calls you'll get.
- New: `[set/is]_force_draw_over_forwarding_enabled()` to force overlaying regardless it handles the current object type, in a similar fashion as `[set/is]_input_event_forwarding_always_enabled`. This kind of overlay is also on top of those for regular handled node types.
- New: `forward_force_draw_over_canvas()`, which is the callback that gets called for plugins that enable forced overlaying.
2017-11-24 21:24:15 +01:00
Rémi Verschelde
e38efe22c7
Merge pull request #12301 from MarianoGnu/master
...
Implement auto-tiling
2017-11-22 15:31:46 +01:00
Dmitry Koteroff
3cca09d96a
When drag'n'drop (lets say, picture in 2D mode), automatically create dragged resource as a root node if you haven't any yet.
2017-11-22 05:28:02 +03:00
Rémi Verschelde
613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
...
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00
Bojidar Marinov
0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
...
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
Bernhard Liebl
80ad8afc85
Native pan and zoom for macOS
2017-11-21 09:11:39 +01:00
Ricardo Maes
77f21b63e9
Add simple spacebar panning setting for 2D editor
2017-11-20 22:53:14 +01:00
Daniel J. Ramirez
e5de5b4908
Visual fixes
...
Added some icons (Including the onion one)
Fixed text editor ellipsis style and editor tabs
2017-11-20 13:03:22 -06:00
Rémi Verschelde
d1831915bf
Merge pull request #12359 from kubecz3k/spatial-lock
...
ability to lock spatial nodes transform in editor
2017-11-20 16:02:20 +01:00
Mariano Suligoy
bcfb0a09f8
Implement auto-tiling
2017-11-20 06:27:47 -03:00
Rémi Verschelde
7f52db75c6
Merge pull request #13008 from Chaosus/assetstorefixes
...
Few fixes for asset store browser
2017-11-20 09:10:13 +01:00
sersoong
66f6a8b4b5
Add close other tabs to Script Editor
2017-11-20 15:06:52 +08:00
Chaosus
f88f8e1a4a
Few fixes for asset store browser
2017-11-20 10:01:40 +03:00
Rémi Verschelde
ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
...
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Rémi Verschelde
bc26a5bd3a
Merge pull request #12936 from n-pigeon/planar_scale_gizmo
...
Implemented planar scaling with two modes.
2017-11-20 00:16:28 +01:00
Rémi Verschelde
d826b043ad
Merge pull request #12950 from ianb96/code_folding
...
Code Folding
2017-11-20 00:15:10 +01:00
Rémi Verschelde
cc88a4cea6
Merge pull request #13030 from Krakean/master
...
Add "View FPS" in 3D->Perspective's popup.
2017-11-19 23:49:35 +01:00
Dmitry Koteroff
55f992942c
Add "View FPS" in 3D->Perspective's popup.
...
"Fixes" to make it acceptable by clang-format.
"Fixes" to make it acceptable by clang-format.
2017-11-20 00:35:46 +03:00
Rémi Verschelde
6e3f2f44af
Use new XDG folders to dehardcode paths
2017-11-19 20:54:26 +01:00
Poommetee Ketson
f5e85c6103
Merge pull request #12955 from groud/editor_canvas_item_api_rework
...
Editor canvas item api rework
2017-11-20 00:19:00 +07:00
Gilles Roudiere
8d1f2b1857
Rework the canvas_item API for further improves to the canvas item editor
2017-11-19 13:36:31 +01:00
Omar Al Halabi
cb86f6fbf6
fix set_current_tab: Indexp_current=-1 out of size
2017-11-19 13:14:00 +02:00
Ian
1e59169d2d
scrolling fixes
2017-11-18 20:07:53 -05:00
Ian
d350f506a0
TextEdit code folding
2017-11-17 21:49:43 -05:00
Rémi Verschelde
ad199c3964
EditorSettings: Rename settings_path to settings_dir
...
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Ferenc Arn
d28763a4c1
Rename Rect3 to AABB.
...
Fixes #12973 .
2017-11-17 11:01:41 -05:00
Rémi Verschelde
bb1d1912ea
Merge pull request #12488 from djrm/pr_gridmap_fixes
...
Several improvements to GridMap.
2017-11-16 19:27:27 +01:00
Przemysław Gołąb (n-pigeon)
9cc6d21d9f
Implemented planar scaling with two modes.
...
Modes:
- Scale uniformly on two axes
- Hold SHIFT to scale non uniformly
2017-11-14 23:51:27 +01:00
Juan Linietsky
04edfc090b
Finalized ability to convert from CanvasItem/Spatial/Particles materials to ShaderMaterial, closes #10242
2017-11-14 15:45:30 -03:00
Rémi Verschelde
4685674389
Merge pull request #12842 from ianb96/shader_editor_fix
...
Shader Editor context menu and line operations and style fix
2017-11-14 07:33:04 +01:00
Ian
c478c1ded5
remove debug msg
2017-11-13 18:16:59 -05:00
Rémi Verschelde
c4f9820c2f
Merge pull request #12909 from n-pigeon/tra_gizmo_fix_2
...
Fix uninitialized bool. Breaks translation in release_debug target.
2017-11-13 23:11:04 +01:00
Przemysław Gołąb (n-pigeon)
9a4f6d6689
Fix uninitialized bool. Breaks translation in release_debug target.
2017-11-13 22:54:33 +01:00
Rémi Verschelde
4755bc9e2b
Merge pull request #12854 from poke1024/fix-poly2d-editor-handle
...
Fix minor drawing order glitch in polygon 2D editor
2017-11-13 22:18:56 +01:00
Rémi Verschelde
05a780a101
Merge pull request #12869 from ianb96/script_list_move
...
Script List Reorder
2017-11-13 21:55:09 +01:00
Bernhard Liebl
89f7032c2e
Fix drawing order of polygon 2d editor handles
2017-11-13 18:49:06 +01:00
Przemysław Gołąb (n-pigeon)
e2160afcd8
Fixed View plane local rotation.
...
Plus some cleanups.
2017-11-13 09:15:41 +01:00
Ian
9f6a06b992
add script list drag n drop
2017-11-12 15:45:42 -05:00
Ian
9126a2072c
move item up/down context menu and shortcut
2017-11-12 15:45:42 -05:00
Ian
798a14eb33
add script editor list context menu
2017-11-12 15:45:42 -05:00
Rémi Verschelde
b0f10c6643
Merge pull request #12855 from Hinsbart/remove_preview
...
Remove preview when closing "change default type" dialog.
2017-11-12 21:03:42 +01:00
Rémi Verschelde
31117588fd
Merge pull request #12823 from Web-eWorks/meshdropfix
...
Fix #12571 : Dragging OBJ mesh files no longer instances a scene
2017-11-12 20:31:51 +01:00
Andreas Haas
58fafea485
Remove preview when closing "change default type" dialog.
2017-11-12 10:50:32 +01:00
Ian
94b3e786cd
shader editor context menu and line operations and style fix
2017-11-11 14:46:59 -05:00
Daniel J. Ramirez
592ee82010
Fixed theme update and some widgets.
2017-11-11 11:58:30 -06:00
Jakub Grzesik
518d907914
ability to lock spatial nodes transform in editor
2017-11-11 12:56:37 +01:00
Poommetee Ketson
aca18b6a49
Merge pull request #12806 from letheed/unify-degrees
...
Unify degree methods and properties
2017-11-11 13:27:02 +07:00
Webster Sheets
5c88ad9457
Dropping a mesh file into the scene no longer creates an instanced scene.
2017-11-10 16:31:53 -05:00
William McKIE
fd01e7d89e
Replace Del icon by Remove icon
...
It would seem there are editors that still used the old del icon
inherited from 2.X instead of the fresh remove icon from 3.X
resulting to be replaced to an "Error" textual icon.
2017-11-10 21:57:39 +01:00
letheed
482e07af7e
Unify degree members and properties
2017-11-10 12:52:07 +01:00
Gilles Roudiere
e2785fbded
Merge pull request #12797 from viprip/12668_fix_texture_region_dock_zoom_icon_is_misaligned
...
Fix misaligned zoom icon in Texture Region Editor plugin
2017-11-10 10:07:49 +01:00
Rémi Verschelde
94a915135d
Merge pull request #12786 from n-pigeon/spatial_transform_gizmo
...
Cleanups in Spatial Transform Gizmo
2017-11-10 09:53:43 +01:00
Przemysław Gołąb (n-pigeon)
f1c2a18e57
Cleanups in Spatial Transform Gizmo
...
Fixed translation i local space - changed a bit how it was implemented.
Fixed bug with rotations when object is scaled.
Added safety check preventing scaling to 0 in local space.
All Gizmoz display numerical output message on the bottom of the viewport.
Unified code a bit, so it will be easier to maintain.
2017-11-10 08:22:11 +01:00
William McKIE
1fc787e6ac
Fix misaligned zoom icon in Texture Region Editor plugin
...
The zoom icon was aligned on top compared to the others zoom buttons
from the HBox container.
Closes #12668 .
2017-11-10 07:31:36 +01:00
Juan Linietsky
192a4d7de5
Reworked how servers preallocate RIDs, should fix #10970
2017-11-09 23:35:34 -03:00
Daniel J. Ramirez
1b7f99d9e5
Several improvements to GridMap.
...
Fixed crash when undoing.
More ergonomic shortcuts.
Fixed freelook navigation.
2017-11-09 16:18:48 -06:00
Chaosus
423f299530
Enable asset store for godot 3.0
2017-11-09 18:32:40 +03:00
Marc Gilleron
0b7ae364ea
Fix tilemap undo/redo
2017-11-08 22:26:19 +01:00
Geequlim
0781649456
Add menu to import current editor theme into theme editor
2017-11-07 13:32:04 +08:00
Bernhard Liebl
88007e91cf
Use AbstractPolygon2DEditor for Line2D
2017-11-04 20:26:38 +01:00
Rémi Verschelde
c880302754
Merge pull request #12566 from bncastle/select_anim_fix
...
Select correct animation on creation of a new one
2017-11-02 14:21:09 +01:00
scorched
1d99f93a7a
Fix compilation on Visual Studio 2013 again.
2017-11-01 23:47:05 +03:00
bncastle
95408c8670
Select correct animation on creation of a new one
...
- Select the correct animation when creating a new one.
- Removed unneeded new_name variable.
2017-11-01 15:40:58 -04:00
Gilles Roudiere
025f138561
Merge pull request #10618 from poke1024/polygon2d-selection
...
Proposal for modified Polygon2D editor controls
2017-11-01 18:16:33 +01:00
Juan Linietsky
a4ea63737c
Ability to shrink 3D viewport by half
2017-10-31 14:23:47 -03:00
Rémi Verschelde
31a487660a
Merge pull request #12499 from Zylann/freelook_toggle_mode
...
Add option to use freelook with a toggle shortcut
2017-10-31 09:29:54 +01:00
Marc Gilleron
b9521f862d
Add option to use freelook with a toggle shortcut (like Blender) instead of holding RMB (like Unity)
2017-10-30 23:23:55 +01:00
Rémi Verschelde
a6ddc5a9a4
Merge pull request #12363 from groud/implement_guides
...
Implement 2D editor guides
2017-10-30 22:58:46 +01:00
Juan Linietsky
495bcd7301
Clean up GI Probe baking, proper button and progress bar.
2017-10-30 16:33:37 -03:00
Gilles Roudiere
32502a4b68
Fixes keybord directionnal keys not moving nodes in the 2D editor
2017-10-29 22:00:03 +01:00
Rémi Verschelde
5f24a0b250
Merge pull request #12389 from Chaosus/continuehotkey
...
Added hotkey for Continue action in Script editor
[ci skip]
2017-10-28 17:52:02 +02:00
sersoong
831d601a83
Add copy button to sprite_frames_editor_plugin
2017-10-28 08:03:49 +08:00
Chaosus
70566c0935
Added hotkey for Continue action
2017-10-25 00:01:18 +03:00
Gilles Roudiere
06a4e2e3ad
Implement guides
2017-10-24 22:32:00 +02:00
Indah Sylvia
79dda1350d
Finished transition of Patch9Rect to NinePatchRect
2017-10-24 13:01:45 +07:00
Rémi Verschelde
ad5613ec40
Merge pull request #12310 from Paulb23/toggle_highlight_current_line
...
Added setting to toggle current line highlighting
2017-10-23 23:25:11 +02:00
Bernhard Liebl
7c245e9f6d
adds alternative editing of nodes: you can select nodes, use del to delete nodes, and split edges by simply clicking into edge
2017-10-23 19:01:14 +02:00
Marc Gilleron
e9f6ff5bd1
Use bresenham line in freehand tilemap painting to fill discontinuities
2017-10-23 01:26:51 +02:00
Paulb23
45670df354
Added setting to toggle current line highlighting
2017-10-22 13:42:08 +01:00
Rémi Verschelde
99c8a8c7b1
Merge pull request #11401 from SaracenOne/snapped_drag
...
Added snapping to spatial drag and drop.
2017-10-22 12:06:00 +02:00
Alexander Holland
a9876869de
Change theme button name to edit theme
...
[ci skip]
2017-10-22 11:54:37 +02:00
Pedro J. Estébanez
27be483a74
Fix TileMap editor not getting input
...
Fixes #12265 .
2017-10-22 03:58:29 +02:00
Felipe Seixas
651246cbff
Fix drop-down size when resizing font #12207
...
Fixes Scene > Open Recent
Fixes ScriptEditor > File > Open Recent
2017-10-21 11:53:53 -04:00
Poommetee Ketson
9b634180aa
Refactor Fixed to Physics
2017-10-21 21:28:08 +07:00
Rémi Verschelde
8cb76888ae
Merge pull request #12228 from hi-ogawa/fix-spatial-shader-conversion-with-texture
...
Fix spatial shader conversion with texture
2017-10-20 23:55:58 +02:00
Rémi Verschelde
7969565de7
Merge pull request #12052 from hi-ogawa/particle-material-conversion-plugin
...
Create ParticlesMaterialConversionPlugin
2017-10-20 23:54:56 +02:00
scorched
3ba5ee42c3
Fix compilation on Visual Studio 2013 ( #10219 ).
2017-10-20 12:55:22 +02:00
Rémi Verschelde
eacdcd7239
Merge pull request #12206 from SaracenOne/drag_and_drop_fix
...
Fix drag and drop collision with non-centred origin points.
[ci skip]
2017-10-20 12:43:02 +02:00
Hiroshi Ogawa
3bd2a4c421
Fix spatial shader conversion with texture
2017-10-19 16:10:24 +09:00
Saracen
c566899dcf
Fix drag and drop collision with non-centred origin points.
2017-10-18 05:16:05 +01:00
Gilles Roudiere
907970aab6
Restored files mode
2017-10-18 00:05:08 +02:00
Gilles Roudiere
fc02605b49
Fixes snapping and replaces the _draw_canvas by forward_canvas_draw
2017-10-18 00:01:59 +02:00
Marc Gilleron
59e6a27da1
Added icon under zoom/speed indicator bar
2017-10-15 21:20:51 +02:00
Rémi Verschelde
61a26dc23e
Merge pull request #11927 from Zylann/freelook_interpolation_fix
...
Freelook interpolation fixes
2017-10-15 20:40:16 +02:00
Rémi Verschelde
eeb9257a95
Merge pull request #12110 from djrm/pr_spatial_editor_fixes
...
Return camera to origin when creating a new scene and going to 3d edi…
2017-10-15 10:04:33 +02:00
Daniel J. Ramirez
c04f8721f3
Return camera to origin when creating a new scene and going to 3d editor.
2017-10-14 19:05:09 -05:00
Paulb23
ca24310a13
Fixed help overview visibility, issue 12011 and 10407
2017-10-14 18:51:35 +01:00
Daniel J. Ramirez
9001ba26aa
Added and improved some missing icons, plus some other visual fixes.
2017-10-13 16:39:17 -05:00
Daniel J. Ramirez
dbc37afcd9
Added and improved some icons, plus some other minor visual fixes.
2017-10-12 14:43:11 -05:00
Hiroshi Ogawa
d777681882
Create ParticlesMaterialConversionPlugin and format generated shader code
2017-10-12 21:30:19 +09:00
jagt
21c2bf84e6
fix script editor clear recent scripts crash
2017-10-11 16:24:57 +08:00
Marc Gilleron
de42e53671
Freelook interpolation fixes
...
- Smooth freelook position more explicitely
- Don't let orbit zoom produce translation when it shouldn't
- Make base speed framerate-independent (and tweaked setting for that)
- Don't rely on camera for calculations because it no longer reflect immediate state
- Avoid potential divide-by-zero with zoom inertia
- Make speed/zoom relation optional (if enabled, speed is adjusted from zoom)
- Never change zoom distance when freelook is active
- Orbit inertia also applies on freelook
2017-10-10 02:38:17 +02:00
Gilles Roudiere
ae94758374
Merge pull request #11019 from poke1024/refactor-polygon-v2
...
Refactoring of polygon editors to a common code base (v2)
2017-10-09 19:47:54 +02:00
Rémi Verschelde
bf12b45986
Merge pull request #11965 from SaracenOne/navgen_fix
...
Navmesh Generation Fix
[ci skip]
2017-10-09 15:23:40 +02:00
Rémi Verschelde
438e32d652
Merge pull request #11941 from Paulb23/members_selected_scroll_issue_11648
...
Consistant scroll when using members overview, issue 11648
2017-10-09 15:19:15 +02:00
Saracen
70e47996b8
Fix bug in navmesh generation when using meshes with multiple
...
surfaces.
2017-10-09 13:14:27 +01:00
Rémi Verschelde
1cb4fc1510
Merge pull request #11846 from gabrielformiga/fix-ik-bone-drag
...
Fix IK Bone Drag on Viewport
2017-10-09 12:30:56 +02:00
Rémi Verschelde
3091cfcebd
Merge pull request #11842 from n-pigeon/rotate_gizmo_fix
...
Fixed rotating in local space using 3D Gizmo.
2017-10-09 12:29:35 +02:00
Rémi Verschelde
3151b08c48
Merge pull request #11821 from groud/margins_preset_menu
...
Replaces (and extends) the anchor menu to a Layout one
2017-10-09 12:21:57 +02:00
Paulb23
b07dfd75ea
Consistant scroll when using members overview, issue 11648
2017-10-08 14:29:27 +01:00
Gilles Roudiere
a25d70ab31
Extends the anchors menu to a presets
2017-10-05 21:53:36 +02:00
Gabriel
f931093812
Fix IK Bone Drag on Viewport
2017-10-04 21:58:13 -03:00
Przemysław Gołąb (n-pigeon)
a6ff281966
Fixed rotating in local space using 3D Gizmo.
2017-10-04 23:18:31 +02:00
Gilles Roudiere
3f279d2a3e
Fixes the pre drag rect not drawn correctly
2017-10-03 22:44:34 +02:00
Bernhard Liebl
f815a3df7e
Refactoring of polygon editors to a common code base
...
includes rebase and manual application 67a706fc1b
and 4537977d6d
2017-10-03 13:10:45 +02:00
Daniel J. Ramirez
6d874ea685
Added correct initialization for script editor theme.
...
Some style fixes for VS interface.
2017-10-02 18:33:42 -05:00
Andreas Haas
3c1dab7be7
Merge pull request #11770 from Noshyaar/pr-๓
...
CurveEditor: fix can't edit right tangent
2017-10-03 00:26:12 +02:00
Andreas Haas
5cd68abf88
Merge pull request #11478 from n-pigeon/scale_gizmo
...
Scale editing Gizmo for Spatial Editor
2017-10-03 00:03:01 +02:00
Andreas Haas
5303efb2fa
Merge pull request #11659 from AndreaCatania/prephysics
...
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Poommetee Ketson
0ce4d82bbf
CurveEditor: fix can't edit right tangent
2017-10-03 03:48:11 +07:00
Poommetee Ketson
980e78749b
Merge pull request #11743 from groud/zoom_button_fix
...
Fix zoom button not zooming on the screen center
2017-10-02 23:42:43 +07:00
Gabriel
24249a2c4d
Fix bones draw on viewport
2017-10-01 16:00:44 -03:00
Gilles Roudiere
a0fb178b58
Fix zoom button not zooming on the screen center
2017-10-01 11:30:38 +02:00
Poommetee Ketson
f058fa660d
Merge pull request #11720 from ISylvox/EnhanceExperience-onUsing-DragNDropAssetTo2DViewport
...
Rename Patch9Rect into NinePatchRect on "Drag & Drop Asset to 2D Viewport" Feature
2017-09-30 22:28:25 +07:00
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +02:00
Gilles Roudiere
c9e1bff93f
Fixes node2D not lockable/groupable
2017-09-30 15:30:51 +02:00
Indah Sylvia
1f30bcb264
Renamed Patch9Rect (which was expected to be renamed to NinePacthRect) into NinePatchRect on "drag & drop asset to 2D viewport" feature.
2017-09-30 20:18:58 +07:00
Scayze
296941f745
fix not beeing able to open empty scripts
2017-09-28 23:58:45 +02:00
PrzemysÅaw GoÅÄ
b (n-pigeon)
aad234d5ac
Scale editing Gizmo for Spatial Editor
...
Added support for axis locked scaling with handles, supports both world and local space. Local space recommended for most editing tasks.
Also fixed some small bugs, polished Gizmo looks and cleaned up some dead code.
Happy scaling! :)
2017-09-26 20:39:41 +02:00
Rémi Verschelde
777f26fe29
Merge pull request #11597 from djrm/pr_interface_colors
...
Removed most of the custom colors from the interface.
2017-09-26 08:03:00 +02:00
Daniel J. Ramirez
e2861a3b7c
Removed transparency from spatial editor grid.
2017-09-25 21:45:53 -05:00
Daniel J. Ramirez
b622c92fad
Removed most of the custom colors from the interface.
2017-09-25 21:43:20 -05:00
Rémi Verschelde
f577efd47e
Merge pull request #11424 from groud/control_node_presets
...
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Rémi Verschelde
1aabf4c166
Merge pull request #11542 from marcelofg55/bucket_limit
...
Bucket fill will now incrementally process the queue on preview mode
2017-09-25 23:12:12 +02:00
Poommetee Ketson
dcc759fbbc
2DEditor: fix duplicated 'id_pressed' connection
2017-09-25 23:15:54 +07:00
Marcelo Fernandez
6f1ac101b8
Bucket fill will now incrementally process the queue on preview mode
2017-09-24 10:35:55 -03:00
Marcelo Fernandez
3571087843
Fix possible infinite loop with bucket fill tool
2017-09-23 23:30:00 -03:00
Juan Linietsky
d3ea92257d
-Fixed redraw always on 3D viewprot bug
...
-Changed manipulation inertia default values. Do not touch them again or I'll cut your fingers and eat them.
2017-09-23 17:28:28 -03:00
Juan Linietsky
3237e05c36
Ability to convert from SpatialMaterial to ShaderMaterial
2017-09-22 09:20:52 -03:00
Gilles Roudiere
05bb8e0c10
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-22 11:39:44 +02:00
Rémi Verschelde
779426d2df
Merge pull request #11477 from djrm/pr_visuals
...
Improved a lot of icons, and some style fixes
2017-09-22 09:28:10 +02:00
Gilles Roudiere
56a80625e5
Fixes the rulers text drawn outside the viewport_base
2017-09-22 09:18:04 +02:00
Daniel J. Ramirez
29d3ecf29a
Improved a lot of icons, and some style fixes
2017-09-21 15:55:07 -05:00
Gilles Roudiere
e2145bc960
Fix godot spraying errors about a null check
2017-09-21 21:59:38 +02:00
Rémi Verschelde
82f13288dd
Merge pull request #11453 from djrm/pr_visuals
...
Visual tweaks.
2017-09-21 10:51:06 +02:00
Rémi Verschelde
2f82da7f72
Merge pull request #11222 from toger5/spatial_scrolling
...
Spatial scrolling update + better default inertia values
2017-09-21 10:35:25 +02:00
Rémi Verschelde
5c76e638ab
Merge pull request #11187 from SaracenOne/subscene_box_selection
...
Box selection for MeshInstances and subscene nodes.
2017-09-21 10:24:40 +02:00
Daniel J. Ramirez
00755ff2c0
Visual tweaks.
...
Updated icons
Updated some color
2017-09-20 19:29:52 -05:00
Marcelo Fernandez
1a8b324545
Add missing NULL checks on CanvasItemEditor
2017-09-20 16:28:16 -03:00
SaracenOne
3cecd0c6dc
Box selection for MeshInstances and subscene nodes.
2017-09-20 14:04:18 +01:00
letheed
5ad9be4c24
Rename pos to position in user facing methods and variables
...
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:
* pos -> position
* rot -> rotation
* loc -> location
C++ variables are left as is.
2017-09-20 13:11:10 +02:00
SaracenOne
2e22c07f42
Added snapping to spatial drag and drop.
2017-09-20 01:54:01 +01:00
Rémi Verschelde
01e4d2672c
Merge pull request #11327 from SaracenOne/drag_meshes
...
Drag and drop for meshes directly.
2017-09-19 23:38:10 +02:00
Rémi Verschelde
b03a6e55e0
Merge pull request #11396 from djrm/pr_fix_metrics
...
Fixed a lot of HiDPI metrics.
2017-09-19 23:36:33 +02:00
toger5
f328a356ae
settings 'editors/3d' organized, sorted, new_defaults
2017-09-19 02:44:26 +02:00
toger5
117eb16adb
update inertia/freelook settings values + renamed free_orbit... to
...
oribit...
2017-09-19 02:34:44 +02:00
toger5
1a8a80368e
added precision scrolling to spatial editor zoom
2017-09-19 02:34:04 +02:00
toger5
81245a634b
zoom inertia uses its own setting (not the same then translation)
2017-09-19 01:30:14 +02:00
SaracenOne
a3b3886029
Drag and drop for meshes directly and fix drop restriction for non-Texture objects in canvas editor.
2017-09-18 22:50:05 +01:00
Gilles Roudiere
b5f29fe073
Add some options and reorganize the 2D editor menus. Makes available forced snapping.
2017-09-18 23:20:18 +02:00
Daniel J. Ramirez
957e85dcac
Fixed a lot of HiDPI metrics.
2017-09-18 14:48:15 -05:00
Gilles Roudiere
ee61d5d04b
Implement smart snapping. Fixes a bug with anchors single-axis move (when they were rotated).
2017-09-17 23:22:13 +02:00
Gilles Roudiere
a6f577a9f2
Avoid grid step to go below zero
2017-09-17 23:19:05 +02:00
Gilles Roudiere
7c24a26bc2
Use shift to move anchors on a single axis
2017-09-17 23:19:05 +02:00
Gilles Roudiere
bf6d7add01
Implement shortcuts to multiply/divide the grid step
2017-09-17 23:19:05 +02:00
Gilles Roudiere
fc52a74ffc
Fusion the lock/unlock and the group/ungroup buttons
2017-09-17 23:19:05 +02:00
Gilles Roudiere
975f7eeec3
Adds keyboards shortcuts
2017-09-17 23:19:05 +02:00
Gilles Roudiere
335688ce78
Implements rulers
2017-09-17 23:19:05 +02:00
Gilles Roudiere
72e0a68a81
Fixes axis badly displayed with high zooming values
2017-09-17 23:04:30 +02:00
Gilles Roudiere
71b45614fd
Split some functions to make the code more readable (maybe at the price of a neglibile performance loss)
2017-09-17 23:04:30 +02:00
Gilles Roudiere
f48b76fd8d
Make the shortcuts for setting the pivot editable
2017-09-17 23:04:30 +02:00
Gilles Roudiere
69091d4035
Display draggable anchors only if the parent is not a container
2017-09-17 23:04:30 +02:00
Gilles Roudiere
100c788884
Display width and height when dragging a node side
2017-09-17 23:04:30 +02:00
Gilles Roudiere
ad1028471c
Draw a ghost rect when dragging nodes if it's rotated/scaled
2017-09-17 23:04:30 +02:00
Gilles Roudiere
dbc4dbdec1
Displays margins values when moving the node
2017-09-17 23:04:30 +02:00
Rémi Verschelde
7655587efb
Merge pull request #11251 from toger5/q_e_fix_freelook
...
swapped up down shortcut for freelook (to fit unreal)
2017-09-17 22:49:13 +02:00
Rémi Verschelde
4208518c4d
Merge pull request #11356 from Paulb23/text_editor_theme_crash
...
Fixed segfault on loading text editor theme
[ci skip]
2017-09-17 17:57:00 +02:00
Paulb23
a48dc9aa17
Fixed segfault on loading text editor theme
2017-09-17 13:19:38 +00:00
Jakob Schwab
f98f65fd7f
Adds missing shortcuts to TileEditor. Keeps fill-tool selected after use
...
The following keyboard shortcuts are now available:
-Bucket fill (G)
-Paint Tile (P)
-Transpose Tile (T)
Fixes #10918
2017-09-17 13:09:04 +02:00
Rémi Verschelde
c74bab66aa
Merge pull request #11274 from Rubonnek/keep-argument-names-consistent
...
Renamed function arguments to keep them consistent between declaration and implementation
2017-09-17 12:53:48 +02:00
Rémi Verschelde
53990c7bb9
Merge pull request #11196 from poke1024/canvas-old-rect
...
Adds display of old bounding box as suggested by Zephilinox in issue …
2017-09-17 12:44:36 +02:00
Poommetee Ketson
d8ca7d4405
Merge pull request #11282 from djrm/pr_script_editor_auto_theme
...
Added adaptive text editor theme
2017-09-17 08:55:13 +07:00
Poommetee Ketson
5ccaf36c6b
Merge pull request #11338 from marcelofg55/clang_compilefix
...
Compile fix for clang error on spatial_editor_plugin.cpp
2017-09-17 08:25:36 +07:00
Guilherme Felipe
6d13e11373
Add missing icons in animation tree editor
2017-09-16 22:10:01 -03:00
Marcelo Fernandez
ac9c400adc
Compile fix for clang error on spatial_editor_plugin.cpp
2017-09-16 19:16:40 -03:00
Juan Linietsky
82f9836a1c
forgot to set proper default values for new camera interpolation
2017-09-16 12:14:12 -03:00
Juan Linietsky
844c5e12e6
Fixed to InputDefault, button mask was wrong. Fixes to editor camera interpolation.
2017-09-16 12:12:41 -03:00
Daniel J. Ramirez
ba11dc3f48
Added adaptive text editor theme, this includes the shader editor
2017-09-15 16:08:22 -05:00
Wilson E. Alvarez
072e379ffe
Renamed function arguments to keep them consistent between declaration and implementation
2017-09-14 13:49:15 -04:00
poke1024
d9b68c5f5d
adds display of old bounding box as suggested by Zephilinox in issue #10936
2017-09-14 17:46:24 +02:00
Rémi Verschelde
8c08f2380d
Merge pull request #11253 from djrm/pr_better_docs
...
Improved editor docs
2017-09-14 12:06:36 +02:00
Hein-Pieter van Braam
3f4062c708
Merge pull request #11246 from djrm/pr_better_script_temperature
...
More consistent script color temperatures.
2017-09-14 09:05:31 +02:00
Rémi Verschelde
8e8724126c
Merge pull request #11195 from poke1024/fix10936
...
Sprite selection rectangle updates again (fixes #10936 )
2017-09-14 08:58:36 +02:00
Daniel J. Ramirez
d21f20eb5f
Several fixed to editor doc.
...
Improved style
Fixed editor help issues
Added editor help index
2017-09-14 01:13:37 -05:00
poke1024
9ba92f5baa
sprite selection rectangle updates again (fixes issue 10936)
...
sprite selection rectangle was not updating in real time when dragging or rotating sprites; undoing translation/rotation changes did not update sprite rectangles either.
2017-09-14 07:12:50 +02:00
toger5
1d6f19f3a2
swapped up down shortcut for freelook (to fit unreal)
2017-09-14 01:36:42 +02:00
Daniel J. Ramirez
7a362afb88
More consistent script color temperatures.
2017-09-13 14:07:05 -05:00
Rémi Verschelde
97a2ed6fa6
Merge pull request #11081 from djrm/pr_better_3d_grid
...
Better looking spatial editor grid
2017-09-13 19:30:47 +02:00
Rémi Verschelde
27ae3c839d
Merge pull request #7908 from SaracenOne/recast
...
In-editor navmesh generation.
2017-09-13 19:22:29 +02:00
Rémi Verschelde
d85472bef0
Merge pull request #10826 from tuga3d/toggle-comment-behavior
...
Smarter toggle comment block. fixes #10720
2017-09-13 19:21:25 +02:00
Rémi Verschelde
91a85d8805
Merge pull request #11047 from toger5/interpolation_chnage
...
Modify inertia implementation for freelook and orbit
2017-09-12 14:06:04 +02:00
Rémi Verschelde
5f8f8e4922
Merge pull request #11025 from volzhs/script-editor
...
Fit script editor grid with others
2017-09-12 13:39:51 +02:00
Rémi Verschelde
0e8f44016e
Merge pull request #11020 from toger5/theme_animation_editor_colors
...
removed hardcoded color and added theme update for animation editor
2017-09-12 13:29:28 +02:00
Rémi Verschelde
aabbd00284
Merge pull request #10908 from hpvb/fix-unused-variables
...
Fix unused variable warnings
2017-09-12 12:55:53 +02:00
Rémi Verschelde
cf941fdc35
Merge pull request #11026 from hpvb/fix-assign-in-if
...
Remove assignment and declarations in if statements
2017-09-12 11:57:49 +02:00
toger5
226f2ae2f2
fix always updating +removed print +use EDITOR_DEF
2017-09-11 22:54:49 +02:00
toger5
e835d80a3f
update icons for animation_player_plugin (top bar)
2017-09-09 04:19:43 +02:00
Daniel J. Ramirez
f8dad1e61b
Better looking spatial editor grid
2017-09-08 18:49:30 -05:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam
8230bf0a2f
Remove assignment and declarations in if statements
...
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
Hein-Pieter van Braam
67a706fc1b
Fix various assorted warnings
...
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08 14:57:48 +02:00
Juan Linietsky
1eeda0f32f
Restored auto snapping of controls to pixels, fixes #10847 and probably several more issues. Made it optional in the project settings but defaults to true.
2017-09-07 11:22:07 -03:00
toger5
b1f804094d
Modify inertia implementation for freelook and orbit
...
- freelook now uses position based inertia (holding a key for a
specific time always rults in the same distance traveled independent
of inertia setting)
- orbit inertia now is angle bases. (not transformation based) ->
camera always takes the same path.
- added setting for orbit inertia
- added setting hints for freelook settings.
2017-09-07 15:55:58 +02:00
toger5
44f12be3f4
Revert "Removed camera interpolation in orthogonal mode (I have no idea how to fix this due to how orthogonal works), closes #10718 "
...
This reverts commit 895140389a
.
2017-09-07 15:55:58 +02:00
Juan Linietsky
895140389a
Removed camera interpolation in orthogonal mode (I have no idea how to fix this due to how orthogonal works), closes #10718
2017-09-07 09:58:38 -03:00
volzhs
41cc85fb20
Fit script editor grid with others
2017-09-07 06:25:57 +09:00
Rémi Verschelde
0b8fa1e010
Remove dead ButtonGroup code
2017-09-06 14:41:34 +02:00
Paulo Gomes
af40c8698b
Smarter toggle comment block. issue #10720
...
Added check to see if all lines in selection are commented (is_commented)
If so remove the comment from each line else add a comment.
If the line is empty, with trailing spaces or tabs, remove those.
This will add an extra comment character to the lines that are already commented,
so when you uncomment a block it retains the previous commented lines.
Following Zylann logic, if the selected lines are all commented out,
it removes one # from each. Otherwise, it adds one.
It works how it is, but i would like some feedback on how to implement this.
2017-09-05 00:04:08 +01:00
Rémi Verschelde
7f262e484a
Merge pull request #10907 from SaracenOne/spatial_edit_drag
...
Added support for drag and drop in spatial editor.
2017-09-04 23:05:31 +02:00
Rémi Verschelde
bba365fab7
Merge pull request #10931 from djrm/pr_style_fixes
...
Improved color temperature in script editor
2017-09-04 22:50:54 +02:00
Rémi Verschelde
729cfa39e2
Merge pull request #10941 from Noshyaar/pr-cursor
...
2DEditor: enhance viewport cursor shape
2017-09-04 22:46:20 +02:00
Saracen
92e77d5ff2
Recast integration.
2017-09-04 21:41:57 +01:00
Juan Linietsky
6d233c651b
-Changed KinematicBody API yet again to make it friendlier
...
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
2017-09-04 07:49:42 -03:00
Rémi Verschelde
b5d2d0a9a5
Merge pull request #10939 from neikeq/fix-overridden-external-editors
...
Fixes language overridden external editors
2017-09-04 08:12:29 +02:00
Rémi Verschelde
08dde55e4f
Merge pull request #10920 from Paulb23/smooth_scrolling_shader_editor
...
Enabled smooth scrolling for shader editor
2017-09-04 08:07:41 +02:00
Rémi Verschelde
fb263b73aa
Merge pull request #10901 from toger5/script_background_cleanup
...
StyleBoxSupport for RichTextLabel and cleanup for script+docs backgrounds fixes #10685
2017-09-04 08:05:17 +02:00
Rémi Verschelde
ec8f44ed5f
Merge pull request #10895 from Paulb23/fix_delete_animation_frames
...
Fixed delete animation frames in AnimatedSprite, issue 10788
2017-09-04 08:00:21 +02:00
Poommetee Ketson
fd68c3b68f
2DEditor: enhance viewport cursor shape
2017-09-04 11:36:12 +07:00
Ignacio Etcheverry
52a7be4eef
Fixes language overridden external editors
2017-09-03 21:23:36 +02:00
Juan Linietsky
adde89e8b1
-Added an optimization so physics shapes are configured later, speeds up grid map loading and editing
2017-09-03 14:54:15 -03:00
Paulb23
a3c5e84f59
Enabled smooth scrolling for shader editor
2017-09-03 13:32:52 +01:00
Daniel J. Ramirez
215b110cd3
Improved color temperature in script editor
2017-09-03 02:44:59 -05:00
SaracenOne
d3cb8d12ff
Added support for drag and drop in spatial editor.
2017-09-03 05:00:23 +01:00
Paulb23
00ccaa5559
Fixed delete animation frames in AnimatedSprite, issue 10788
2017-09-02 17:35:42 +01:00
toger5
b606285219
Unified script panel backgrounds.
...
- simplefied it with using the new rtl.
- removed ("ScriptPanel", "EditorStyles") for since rtl now can be used
- unified backgrounds when script editor color is set to transparent => option to set background color adapt to theme is deprecated.
2017-09-02 18:28:35 +02:00
toger5
7cb76cd628
Revert "added setting to override the theme background with editor theme color"
...
This reverts commit ce4eb30778
.
2017-09-02 03:55:23 +02:00
Hein-Pieter van Braam
9c63ab99f0
Fix use of unitialized variables
...
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Rémi Verschelde
dac150108a
Merge pull request #10846 from hpvb/fix-sign-compare
...
Fix signed and unsigned comparisons
2017-09-01 21:52:55 +02:00
Juan Linietsky
8f30c52a37
Removed ontop property, added a material rendering priority system. Fixes #9935 , closes #10135
2017-09-01 13:01:08 -03:00
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
Rémi Verschelde
bf5b02cb71
Merge pull request #10832 from Paulb23/auto_indent_setting
...
Added setting to toggle auto indent.
2017-09-01 08:14:47 +02:00
Hein-Pieter van Braam
f9467ec1ea
Fix signed and unsigned comparisons
...
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01 08:13:12 +02:00
Daniel J. Ramirez
f1214041c6
Updated Editor Built-In types.
2017-08-31 21:15:30 -05:00
Paulb23
d586b98a20
Added setting to toggle auto indent
2017-08-31 19:42:47 +01:00
Rémi Verschelde
f00760b22c
Merge pull request #10382 from toger5/dark_icons
...
Light Theme
2017-08-31 11:47:18 +02:00
Rémi Verschelde
b3496ee7ab
Merge pull request #10763 from poke1024/realtime-polygon-2d-fix
...
Fixes two glitches in polygon2d wip mode introduced with #10614
2017-08-31 10:57:46 +02:00
toger5
7793bfc544
added icon updating to most ui elements
2017-08-30 21:47:09 +02:00
Scayze
fbda0cc45c
AutoUse Pencil on Polygon creation
2017-08-30 12:52:06 +02:00
Rémi Verschelde
98ad0e5a02
Merge pull request #10743 from djrm/pr_improved_spatial_gizmo
...
Better spatial gizmo.
2017-08-30 12:46:53 +02:00
Rémi Verschelde
fd7ad7d80a
Merge pull request #10750 from Rubonnek/fix-duplicate-script-changed-signal
...
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-30 12:46:00 +02:00
Juan Linietsky
9c3bddfac2
Merge pull request #10745 from neikeq/fix-docdata-and-stuff
...
DocData and virtual method type hints fixes
2017-08-29 20:11:07 -03:00
poke1024
d8fcc7d1c2
Fixes two glitches in polygon2d wip mode introduced with #10614
2017-08-29 20:29:03 +02:00
Ignacio Etcheverry
c16d00591b
DocData and type hints fixes
...
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types
- Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string.
- PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void.
- Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29 19:40:21 +02:00
Wilson E. Alvarez
a400a65c8a
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-29 10:24:10 -04:00
Juan Linietsky
089cf8176e
removed DISCARD built in variable, replaced by actual discard GLSL instruction, fixes #9677
2017-08-29 10:15:49 -03:00
Daniel J. Ramirez
78c3cf6e68
Better spatial gizmo.
...
Now it is posible to move spatial nodes along a plane.
2017-08-28 20:39:45 -05:00
Rémi Verschelde
0f7376921f
Merge pull request #10614 from poke1024/realtime-polygon-2d
...
Adds realtime updates to polygon 2d editing
2017-08-28 23:58:34 +02:00
Juan Linietsky
8fce79aaee
-Some fixes to code completion.
...
-Fix getter in code completion being displayed when it shouldn't
-Clean up preview generation for editors and exposed it as editor plugin
2017-08-28 00:04:24 -03:00
Rémi Verschelde
7e8a7dea2e
Merge pull request #10667 from Zylann/freelook_inertia
...
Added freelook inertia
2017-08-28 00:06:25 +02:00
Juan Linietsky
d23f323cde
-Moved script run to editor, removed from project
...
-fixed to code completion
-fix shader crash bug reported by tagcup
2017-08-27 19:04:19 -03:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Juan Linietsky
37da8155a4
-Largely rewrote gridmap to simplify it
...
-Got editor working again
-Added a current-floor marker on selection
2017-08-27 16:02:00 -03:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Marc Gilleron
28e1c88f6e
Added freelook inertia
2017-08-27 02:21:26 +02:00
Rémi Verschelde
612099e377
Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
...
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Rémi Verschelde
5976e8d7de
Merge pull request #10625 from Rubonnek/fixed-leaks
...
Fixed several memory leaks
2017-08-27 02:10:32 +02:00
Wilson E. Alvarez
7a07895920
Added/Fixed null pointer checks
2017-08-26 16:58:47 -04:00
Hein-Pieter van Braam
9a1d9a41eb
Add several missing Null checks in _notification
...
This fixes #6118
2017-08-26 22:50:15 +02:00
Rémi Verschelde
565600e844
Cleanup tons of obsolete commented out code
...
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
Juan Linietsky
dd7145b778
-Split EditorPlugin into EditorPlugin and EditorInterface
...
-Added EditorInterface to EditorScript
-Added functions to save the scene to EditorInterface
2017-08-26 10:33:07 -03:00
Juan Linietsky
fbfed97a1b
Changed camera interpolation to work when LMB is pressed and no modifiers are pressed
2017-08-26 09:10:57 -03:00
Bernhard Liebl
1ea2b9be72
polygon2d realtime editing
...
editing nodes in the polygon2d editor now updates the polygon in realtime; the previous outline is shown, but this can be disabled via a new editor setting
2017-08-26 11:57:54 +02:00
Juan Linietsky
1894157c9f
-Massive clean up to gizmos
...
-Make sure handles are always visible (on top)
-Fixed instanced scene selection (should work properly now)
-Added interpolated camera
-Customizable gizmo colors in editor settings
2017-08-26 00:47:28 -03:00
Andreas Haas
6134d8741d
Editor: Add some more translatable strings.
2017-08-25 18:49:45 +02:00
Wilson E. Alvarez
1577f41653
Fixed several memory leaks
2017-08-25 08:47:05 -04:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Juan Linietsky
36e0a72c77
-Code completion for enumerations
...
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Rémi Verschelde
78d9936f8d
Merge pull request #10573 from tagcup/gizmo_aabb_scaling_order
...
Fix the order of transformations for selection bounding box in spatial editor.
2017-08-23 08:10:53 +02:00
Ferenc Arn
d9d9571c8c
Fix the order of transformations for selection bounding box in spatial editor.
...
This was broken in #7438 where the ordering of scaling in Basis::scale() was fixed, but this line of code (which relied on the incorrect behavior) wasn't updated correctly.
Fixes #9894 .
2017-08-22 20:05:41 -04:00
Pedro J. Estébanez
c2a1f3b814
Add ability to undo auto-indent
...
Closes #10420 .
2017-08-22 19:52:17 +02:00
Rémi Verschelde
b759fc47e6
Merge pull request #10538 from groud/fix_useless_separator
...
Fix unneeded separator in Script Editor's Debug menu
2017-08-22 08:49:11 +02:00
Gilles Roudiere
5ea403c0ce
Fix uneeded separator
2017-08-22 08:43:23 +02:00
Rémi Verschelde
c2346b92b2
Merge pull request #10507 from toger5/override_code_them_bg
...
added setting to override the theme background with editor theme color
2017-08-22 08:14:46 +02:00
Hein-Pieter van Braam
24bc47b179
Add null check to ScriptEditor get_current_tab_control() call
...
This fixes #10517
2017-08-22 02:35:04 +02:00
toger5
ce4eb30778
added setting to override the theme background with editor theme color
2017-08-21 23:19:27 +02:00
Wilson E. Alvarez
738d2ab969
Removed unnecessary assignments
2017-08-21 15:15:55 -04:00
Juan Linietsky
541fdffc0a
Merge pull request #10319 from neikeq/pr-engine-editor-hint
...
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00
Rémi Verschelde
f4e2baae7f
Merge pull request #10476 from Paulb23/delete_current_line_issue_9643
...
Delete current line, issue 9643
2017-08-20 15:25:28 +02:00
Rémi Verschelde
dca8df47b4
Merge pull request #10460 from Zylann/orbit_sensitivity
...
Added option for mouse orbit sensitivity
2017-08-20 15:24:35 +02:00
Rémi Verschelde
5627047c32
Merge pull request #10455 from groud/control_margin_fixes
...
Some control fixes and removed other useless lines
2017-08-20 15:24:00 +02:00
Paulb23
de95e65d10
Delete current line, issue 9643
2017-08-20 13:31:30 +01:00
Marc Gilleron
a88c759ff1
Added option for mouse orbit sensitivity
2017-08-19 21:57:43 +02:00
Gilles Roudiere
06256cd778
Some control fixes and removed useless lines
2017-08-19 19:10:00 +02:00
toger5
475502e638
Removed style box border for script panel. Fixes #10410
2017-08-19 17:30:48 +02:00
Ignacio Etcheverry
90b8a5b71e
Removes editor_hint from SceneTree
2017-08-19 01:29:45 +02:00
Juan Linietsky
cbcf40bd31
-Volume sliders, mute, solo and fx bypass are functional, closes #9021
...
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18 18:21:53 -03:00
Juan Linietsky
b20952ebff
Update script signals in real-time when script changes. Fixes #8980
2017-08-18 16:44:03 -03:00
Juan Linietsky
72be8876ea
Properly manage drawing of primitives when they lack an area, fixes #8930
2017-08-18 15:12:48 -03:00
Marcelo Fernandez
eab850524e
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Rémi Verschelde
19aff15a1a
Tilemap Editor: Setting to hide tile info in the menu bar
...
Based on e513ecb7a1
.
2017-08-16 19:51:55 +02:00
Rémi Verschelde
5485233549
Merge pull request #10300 from H4kor/anchor
...
Show Anchor even when Control-Node is hidden
2017-08-16 17:34:33 +02:00
Rémi Verschelde
b1ecaaa22b
Merge pull request #10307 from Rubonnek/update-argument-names
...
Updated function argument names
2017-08-16 17:17:56 +02:00
Rémi Verschelde
6345347190
Merge pull request #10326 from kubecz3k/spatial-click-improve
...
spatial selection if subscene geometry is far from origin
2017-08-16 17:13:27 +02:00
Juan Linietsky
6380975ee2
Merge pull request #10166 from toger5/asset_lib_style_overrides
...
fixed loading old theme styleboxes.
2017-08-15 20:00:44 -03:00
Juan Linietsky
1ecb48b8c2
Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889
2017-08-15 19:49:28 -03:00
kubecz3k
129ebca41d
Merge pull request #9889 from groud/control_enhancements
...
Control node enhancements
2017-08-15 22:55:49 +02:00
Juan Linietsky
cb0e357d0b
Converting to MeshLibrary works again, fixes #8092
2017-08-15 11:41:17 -03:00
Jakub Grzesik
78e72c8e79
spatial selection if subscene geometry is far from origin
2017-08-14 09:53:46 +02:00
Gilles Roudiere
0041e08f74
Avoids inverted anchors
...
Add a push_opposite_anchor argument pushing the opposite anchor if
needed
2017-08-13 21:20:14 +02:00
Gilles Roudiere
c26af6f2b7
Adds a function to set Anchors with a layout preset
2017-08-13 21:20:14 +02:00
Gilles Roudiere
e8c83b31bd
Added the possibility to move all anchors at once when they are clustered
2017-08-13 21:20:13 +02:00
Gilles Roudiere
f5ff7e9fa0
Make anchors snap to each other
2017-08-13 21:20:13 +02:00
Gilles Roudiere
b73613e1eb
Displays percentages when dragging anchors
2017-08-13 21:20:13 +02:00
Gilles Roudiere
2032cb2522
Simplifies the canvas editor code
2017-08-13 21:20:13 +02:00
Gilles Roudiere
3264cea7ae
Add lines to make understandable when anchors are snapped
2017-08-13 21:20:13 +02:00
Gilles Roudiere
b329cb9c71
Snap anchors when dragged, depending on the zoom level
2017-08-13 21:20:13 +02:00
Gilles Roudiere
fcff42dcb7
Make anchors draggable
2017-08-13 21:20:13 +02:00
Gilles Roudiere
bd0384a9e9
Add anchor visualization
2017-08-13 21:20:13 +02:00
Gilles Roudiere
0d35d4d53b
Replace GUI anchor type by a float between 0 and 1
2017-08-13 21:20:13 +02:00
Niko Abeler
07809c162f
Showing anchor icon in editor if control-node is hidden ( fixes #9542 )
2017-08-13 17:35:59 +02:00
Wilson E. Alvarez
428f03cf06
Updated function argument names
2017-08-12 15:12:49 -04:00
Jakub Grzesik
be8ae8df93
fix crash after click on MeshInstance with no owner
...
Due to how spatial selection works, after clicking on
MeshInstance that had no owner editor was crashing.
2017-08-11 19:59:30 +02:00
Rémi Verschelde
c231bda520
Merge pull request #10240 from djrm/pr_hidden_tilemap_menu
...
Hide tilemap menu when no tilemap is selected
2017-08-11 10:43:07 +02:00
Rémi Verschelde
bed66afee4
Merge pull request #10237 from Paulb23/convert_indent_save_issue_9841
...
Fixed undo when converting indent with no changes, issue 9841
2017-08-11 10:41:32 +02:00
Rémi Verschelde
fd6b9d9ac7
Merge pull request #10231 from djrm/pr_fix_add_sprite_dialog
...
Improved add texture as node dialog
2017-08-11 10:40:46 +02:00
Daniel J. Ramirez
e4a9233a83
Hide tilemap menu when no tilemap is selected
2017-08-10 14:48:48 -05:00
Paulb23
e91bde6521
Fixed undo when converting indent with no changes, issue 9841
2017-08-10 19:23:45 +01:00
Daniel J. Ramirez
03f62495ca
Improved add texture as node dialog
2017-08-10 11:40:28 -05:00
Jakub Grzesik
d2d62122e2
ability to click on spatial subscene to select it
2017-08-09 18:40:02 +02:00
Juan Linietsky
dbb6a39722
Moved mirror and rotations to the tile mapen, to avoid taking up too much toolbar space, fixes #6461
2017-08-08 22:46:26 -03:00
Juan Linietsky
950b205609
Clean up canvas item when changing state, closes #5977
2017-08-08 21:12:32 -03:00
toger5
a9da258a65
fixed loading old theme styleboxes
2017-08-08 18:36:35 +02:00
Juan Linietsky
5e1116da4c
Added proper local transform snapping, closes #4985
2017-08-08 07:55:21 -03:00
Juan Linietsky
1939e83a65
Attempt to resolve #4673
2017-08-08 07:13:17 -03:00
Juan Linietsky
a0d969c560
Revert "fixed loading old theme styleboxes"
2017-08-07 16:00:34 -03:00
Rémi Verschelde
3121b3a4f4
Merge pull request #10141 from ISylvox/lower_case_godot_api
...
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00
Rémi Verschelde
b31ba2f187
Merge pull request #10097 from toger5/asset_lib_style_overrides
...
fixed loading old theme styleboxes
2017-08-07 14:47:27 +02:00
Rémi Verschelde
722011bb75
Merge pull request #10082 from Noshyaar/pr-viewport2
...
SpatialEditor: fix "Top", overflow preview button
2017-08-07 14:42:31 +02:00
Rémi Verschelde
307a04268b
Merge pull request #10078 from Noshyaar/pr-viewport
...
SpatialEditor: uniform min/max of fov,znear,zfar
2017-08-07 14:42:03 +02:00
Rémi Verschelde
ebf19d72b5
Merge pull request #9878 from toger5/theme_border_settings_change
...
Theme border settings change + updating styles
2017-08-07 14:07:57 +02:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07:00
toger5
f035e4a24a
fixed loading old theme styleboxes
2017-08-05 01:33:46 +02:00
Poommetee Ketson
1cc655a40d
SpatialEditor: fix "Top", overflow preview button
2017-08-04 20:46:22 +07:00
toger5
3b2a4cc52a
editor: update helps and script panel on theme could change.
2017-08-04 14:57:15 +02:00
Poommetee Ketson
b8feae4db6
SpatialEditor: uniform min/max of fov,znear,zfar
...
Clamp FOV to [0.01, 179], Znear and Zfar to [0.01, 10000]
2017-08-04 18:23:10 +07:00
Andreas Haas
95da12212b
TileMap: Fix infinite loop when trying to bucket-delete empty tiles.
...
Right-clicking when the bucket tool is enabled means "erase all instances of this tile".
So it doesn't make sense to try doing this for empty tiles :P
Fixes #10065
2017-08-03 20:46:13 +02:00
Andreas Haas
708ddb05af
ScriptEditor: ctrl+click can open scenes/resources.
...
Closes #9654
2017-08-02 19:23:57 +02:00
Rémi Verschelde
85088275c5
Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-Sync
...
Texture region now updates when changing an Atlas region rect
2017-08-01 00:15:37 +02:00
Poommetee Ketson
6dde105be7
SpatialEditor: fix transform dialog
2017-07-31 20:00:02 +07:00
Rémi Verschelde
76005a8e75
Style: Apply clang-format on all files
...
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-30 22:53:40 +02:00
Jakub Grzesik
ff5ffeafeb
ScriptEditor -> 'script_close' signal hint correction
2017-07-29 14:22:06 +02:00
Rémi Verschelde
a4c150d26c
Merge pull request #9906 from Noshyaar/pr-theme
...
ThemeEditor: fix broken dialog
2017-07-28 11:14:21 +02:00
Poommetee Ketson
8350e4853e
ThemeEditor: fix broken dialog
2017-07-27 14:17:02 +07:00
Rémi Verschelde
f5c3ee595d
Merge pull request #9852 from groud/canvas_editor_update
...
Some more CanvasItemEditor improvements
2017-07-27 08:52:07 +02:00
Marc Gilleron
754679da0a
Initialize freelook shortcuts properly
2017-07-27 04:00:23 +02:00
Gilles Roudiere
ffe2072741
Change the grid offset when the snap is set as relative
2017-07-25 21:10:43 +02:00
Rémi Verschelde
303370d03d
Merge pull request #9702 from groud/canvas_editor_update
...
[WIP] Canvas editor code clean-up (and improvements)
2017-07-25 08:40:39 +02:00
Juan Linietsky
66009706c9
-Ability to set default import presets for type
...
-More presets for scene importer
-Option in scene importer to export root nodes as separate scenes
-Fixed MeshInstance preview
2017-07-23 18:50:25 -03:00
Rémi Verschelde
bde84112d8
Merge pull request #9788 from Zylann/freelook_modifier
...
Added configurable modifier key to activate freelook
2017-07-23 13:15:46 +02:00
Rémi Verschelde
ba7fdcfd02
Merge pull request #9762 from Paulb23/_scipt_close_tab_selection_issue_8400
...
Fixed script tab selection on file close, issue 8400
2017-07-23 13:09:59 +02:00
Rémi Verschelde
50ab88bf15
Merge pull request #9761 from Noshyaar/pr-fix
...
ScriptEditor: suppress get_child errors
2017-07-23 13:09:47 +02:00
Marc Gilleron
9d970b11ae
Added configurable modifier key to activate freelook
2017-07-23 02:13:08 +02:00
Rémi Verschelde
f0ab3283c0
Merge pull request #9749 from kubecz3k/animtree-slider-fix
...
AnimationTree nodes sliders fixes
2017-07-22 13:46:36 +02:00
Rémi Verschelde
c4918ca76b
Merge pull request #9717 from kubecz3k/plugin-methods-rename
...
Rename of two EditorPlugin methods
2017-07-22 13:35:05 +02:00
Paulb23
3906134003
Fixed script tab selection on file close, issue 8400
2017-07-22 10:23:19 +01:00
Poommetee Ketson
843589d9d1
ScriptEditor: suppress get_child errors
2017-07-22 14:02:34 +07:00
Jakub Grzesik
0fc4b04f51
AnimationTree nodes sliders fixes
2017-07-21 13:57:46 +02:00
Gilles Roudiere
cb3fbf7d32
Make uniform resize possible with side (top, left, right, bottom)
...
handles.
2017-07-20 22:03:34 +02:00
Gilles Roudiere
2d9873e033
Replaced the hard-to-understand _select by _select_click_on_empty_area and _select_click_on_item.
...
Added some comments
Removed commented code or useless ones
2017-07-20 19:50:37 +02:00
Gilles Roudiere
0d4b0ecb57
Generalized _find_canvas_items_at_pos to remove _select_canvas_items_at_pos
...
Removed some useless parameters
Removed old comments
2017-07-20 19:50:37 +02:00
Jakub Grzesik
218b1c223d
EditorPlugin methods and signals rename
2017-07-20 19:16:34 +02:00
Juan Linietsky
25678b1876
-Renamed GlobalConfig to ProjectSettings, makes more sense.
...
-Added system for feature overrides, it's pretty cool :)
2017-07-19 17:06:03 -03:00
Rémi Verschelde
c5ba9d9b7c
Merge pull request #9703 from Noshyaar/docs
...
Add object type hint for docs
2017-07-19 10:00:20 +02:00
Rémi Verschelde
d4c73ea2b3
Merge pull request #9565 from kubecz3k/tool-signals
...
Make more informations available for Tool Plugins about the editor
2017-07-19 09:54:02 +02:00
Poommetee Ketson
49c7620326
Add object type hint for docs
2017-07-19 02:03:34 +07:00
Daniel J. Ramirez
337c1238b9
Fixed button flat behavior when not in normal state.
...
Also changed some buttons to flat mode
2017-07-18 11:03:06 -05:00
Jakub Grzesik
708d825001
Make available more informations about editor for Tool Plugins
2017-07-18 17:48:19 +02:00
Rémi Verschelde
5a42bbaace
Merge pull request #9482 from Noshyaar/pr-ramp
...
Fix shrunk ColorPickers
2017-07-18 07:52:32 +02:00
Poommetee Ketson
668d00ff2d
Fix ColorPicker to use theme constants
2017-07-18 09:43:16 +07:00
Juan Linietsky
bbada82f80
-Reorganized all properties of project settings (Sorry, Again).
...
(Lot's of bloat accumulated, so it was time for clean up.)
-Made EditorSettings and ProjectSettings search more useful (search in sections too)
2017-07-17 22:18:58 -03:00
Rémi Verschelde
34c20248b3
Merge pull request #9577 from MarianoGnu/master
...
Add anchor shortcut to fit parent
2017-07-17 23:14:52 +02:00
Rémi Verschelde
4680effcb3
Merge pull request #9666 from toger5/betterFocusCanvasEditor
...
Focus box size fix for new theme
2017-07-17 22:36:20 +02:00
Rémi Verschelde
2b8342e308
Merge pull request #9652 from djrm/theme_fixes
...
Improvements and fixes for the default theme.
2017-07-17 22:36:00 +02:00
redtoorange
b2d2116a3a
Fixed bug that prevented creating polygons.
2017-07-17 22:17:39 +02:00
Daniel J. Ramirez
a3c2d9a6bd
Improvements and fixes for the default theme.
...
Added customizable border size and window highlight.
2017-07-16 13:23:59 -05:00
toger5
7556aacb03
focus box size fix for new theme
2017-07-16 20:07:06 +02:00
Juan Linietsky
2e73be99d8
Lots of work on Audio & Physics engine:
...
-Added new 3D stream player node
-Added ability for Area to capture sound from streams
-Added small features in physics to be able to properly guess distance to areas for sound
-Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children
-Fixed KinematicBody API to make it the same as 2D.
2017-07-15 08:32:34 -03:00
Rémi Verschelde
e64b82ebfc
Some more typo fixes for "threshold"
...
Looks like @reduz really does not like that word.
2017-07-15 12:01:46 +02:00
Mariano Suligoy
99bda42d4d
Add anchor shortcut to fit parent
...
Also remove old Edit -> Expand to Parent menu option
2017-07-14 10:25:50 -03:00
Jakub Grzesik
98897d0415
Ability to toggle script panel visibility
2017-07-10 14:25:06 +02:00
Poommetee Ketson
2fd204c35e
Refactor 'treshold' to 'threshold'
2017-07-08 22:24:56 +07:00
Rémi Verschelde
095f0c956e
Fix wrong cast to Node2D instead of Control
...
As reported by @sanikoyes.
2017-07-08 09:42:48 +02:00
ducdetronquito
566655adc1
[ #9292 ] Renamed Image.put_pixel() to set_pixel().
2017-07-07 19:05:45 +02:00
Juan Linietsky
bd9d98c172
Ability to set rotation and scaling pivot for controls.
2017-07-06 17:42:44 -03:00
Poommetee Ketson
3aff102fc3
ItemList: expose methods, in-editor items editing support
2017-07-04 20:12:33 +07:00
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
1a2ea9ba1b
Merge pull request #9465 from Zylann/curve_preview
...
Added Curve preview thumbnail
2017-07-03 23:28:23 +02:00
TwistedTwigleg
44ecfb028d
Fixed syntax inconsistency in Vector3.snap and Vector3.snapped
2017-07-03 16:29:03 -04:00
Rémi Verschelde
71f6c96288
Script editor help: Prevent loading empty instances from layout
2017-07-02 12:31:34 +02:00
Marc Gilleron
c4564233a8
Added Curve preview thumbnail
2017-07-02 01:52:47 +02:00
Rémi Verschelde
0ffb70f0bb
Merge pull request #9463 from bojidar-bg/9461-fix-backcompat
...
Readd tilemap's shape_transform and bugfixes
2017-07-01 21:34:19 +02:00
Andreas Haas
bb9daaccff
Animation Editor: Fix trying to stop playback without player.
...
Fixes #9280
2017-07-01 20:26:41 +02: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
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
Rémi Verschelde
72bf46649e
Merge pull request #9360 from GodotExplorer/pr-external-editor-language-check
...
Better user experience with external text editors.
2017-06-27 08:15:54 +02:00
geequlim
6687484958
Better user expirence with external text editors.
...
Implements open_in_external_editor for subclasses of ScriptLanguage.
Add option 'Debug with external editor' to debug menu to control the behavoir of script opened by editor.
2017-06-27 12:55:16 +08: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
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
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
Rémi Verschelde
a2e4b80ff5
Merge pull request #9345 from nunodonato/animproperties
...
Update some property names for animation keys.
2017-06-24 23:52:31 +02: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
68891baa1b
Merge pull request #9281 from Zylann/fix_freelook_keyboard
...
Fixed freelook conflict with text inputs
2017-06-24 23:06:04 +02:00
Marc Gilleron
2bb1638b0a
GradientTexture now uses a Gradient
...
- Added gradient property
- Deleted duplicate code
2017-06-24 21:50:44 +02:00
Nuno Donato
c207c06173
Update some property names for animation keys.
...
Added rect_rotation too.
Fixes #9337
2017-06-24 10:39:57 +01: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
Thomas Herzog
c5e0c6a336
Merge pull request #9307 from nunodonato/shadererrorline
...
highlight the correct error line in shader editor
2017-06-23 02:19:40 +02:00
Bojidar Marinov
2edb082c7e
Add normal map to tilemaps and tilesets
...
Fixes #9310
2017-06-22 18:15:50 +03:00
Mariano Javier Suligoy
320c1af616
Merge pull request #9293 from MarianoGnu/master
...
Fix regresion on Texture Region Editor Plugin. Fixes #9282
2017-06-22 07:56:01 -03:00
Nuno Donato
be2f7f4172
highlight the correct error line in shader editor
2017-06-21 21:09:41 +01:00
Juan Linietsky
95560e02c5
2D GPU Particles working..
2017-06-21 16:26:26 -03:00
Mariano Suligoy
2b7a826553
Fix regresion on Texture Region Editor Plugin. Fixes#9282
2017-06-20 16:05:36 -03:00
Marc Gilleron
0fd66a4f8f
Fixed freelook conflict with text inputs
2017-06-20 02:50:25 +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
6b93455b6b
Merge pull request #9099 from kubecz3k/plugin-camera-expose
...
EditorPlugin can request user inputs from editor 3d view
2017-06-19 22:43:33 +02:00
Konrad Nowakowski
6592df74d8
Fix image lock on preview image generating
2017-06-19 12:00:32 +01:00
ageazrael
a89658fdb8
Fixed ‘CreateNewAnimation’ window wrong size.
2017-06-16 17:52:49 +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
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
831860695c
Fix empty shader related crash, closes #8314
2017-06-12 19:23:37 -03:00
Unknown
d8b65b1657
EditorPlugin can request user inputs from editor 3d view
2017-06-12 17:55:15 +02:00
Juan Linietsky
61c82f4356
Restored everything related to information polling, and added information box for viewport.
2017-06-11 18:13:04 -03:00
Juan Linietsky
4d50c7ad8c
Restored multiple viewport function, as well as view modes.
2017-06-11 15:52:03 -03:00
Juan Linietsky
ec015a32ae
Multiple 3D viewports are not operational.
2017-06-11 11:29:51 -03:00
alexholly
935f730170
renamed all Rect3.pos to Rect3.position
2017-06-09 15:54:02 +02:00
Rémi Verschelde
63fd693c1e
Merge pull request #9060 from pixelpicosean/scroll-to-pan-canvas-item-editor-3.0
...
Add settings to pan canvas editor with scrolling
2017-06-09 10:48:59 +02:00
Juan Linietsky
612ab8fcdb
-Restored multithread capability to VisualServer
...
-Restored resource previews!
2017-06-09 00:24:18 -03:00
Sean Bohan
45b71ac2d0
Add settings to pan canvas editor with scrolling
...
This feature is mainly designed for developers who uses touchpad instead of mouse, and want to scroll instead of zoom. Every macOS developers will like it since it feels intuitive.
2 new settings are added to “editors/2d”:
scroll_to_pan: turn on to use mouse/touchpad scroll to pan canvas item editor view instead of zoom
pan_speed: use this value to change scroll speed
2017-06-08 18:05:41 +08: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
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
Rémi Verschelde
d3afecf681
Merge pull request #8974 from Paulb23/script_overview
...
Added script overview
2017-06-05 15:42:12 +02: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
Paulb23
a4e222ae71
Added members overview
2017-05-29 12:56:33 +01: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
Zaven Muradyan
f460f82ec1
Fix moving path controls in edit mode.
...
The previous code would never trigger the subsequent conditionals (for
moving the control points) when in EDIT_MODE because the point
conditionals were nested instead of being a conjunction.
2017-05-27 18:47:45 -07:00
Rémi Verschelde
2b25147450
Merge pull request #8928 from nunodonato/helpmenu
...
Added an help menu
2017-05-27 11:25:09 +02:00
Juan Linietsky
f89641907f
-Added EXR supprot for HDR (no BC6 compression yet though)
...
-Improvements to texture importer
-Proper detection of S3TC compression modes, and added all modes to Image
-Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
2017-05-26 22:31:32 -03:00
Nuno Donato
7661cb5a62
Added an help menu
...
Also renamed the "tutorials" button in the script editor to be consistent with the help menu entry.
Fixed #8921
2017-05-26 16:20:33 +01:00
Ferenc Arn
42de893f9a
Applied clang-format.
...
Since PathEditorPlugin was commented out, it didn't get clang-format'ed.
2017-05-25 10:12:05 -05:00
Ferenc Arn
fdf301e78b
Revive PathEditorPlugin.
...
Adapted the plugin to recent changes in input classes and pool arrays.
Fixed an out-of-bounds bug in the process.
Doesn't display anything for a single point (existing issue).
2017-05-24 17:09:53 -05:00
George Marques
86ef71fc95
Fix crash when interacting with the 2d editor
2017-05-23 11:03:17 -03:00
Zaven Muradyan
9bc044cee6
Fix 2d path editor controls.
...
Fixes #502 . This appears to have been broken due to a merge conflict
after the InputEvents changes.
2017-05-21 14:35:27 -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
Rémi Verschelde
c19902f753
Merge pull request #8838 from zlsa/master
...
Export nested nodes in TileSet scenes; resolves #8819 .
2017-05-20 09:50:33 +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
Jon Ross
c97c733779
Fix #8819 . Adds _import_node() that, when used in conjunction with _import_scene, recurses through the scene tree and exports all available nodes.
2017-05-19 14:49:37 -07:00
Rémi Verschelde
0aede444ef
Merge pull request #8789 from Hinsbart/editor_shortcuts
...
Editor: Make "open 2d/3d/script editor" shortcuts configurable.
2017-05-18 18:59:22 +02:00
Andreas Haas
3be8a94868
Editor: Make "open 2d/3d/script editor" shortcuts configurable.
...
Also adds shortcuts for opening the AssetLib and for switching to the next/prev editor.
2017-05-18 18:36:16 +02:00
Rémi Verschelde
1877a31a86
Merge pull request #6941 from voithos/bezier-handle-deletion-shortcut
...
Add the ability to delete bezier path handles.
2017-05-18 14:02:30 +02:00
Rémi Verschelde
787dad5ac4
Adapt tutorials (Godot Docs) icon to new design
2017-05-17 21:22:01 +02:00
Juan Linietsky
98a3296702
Removal of Image from Variant, converted to a Resource.
2017-05-17 07:37:45 -03:00
volzhs
bb81293047
New customizable editor theme
2017-05-09 17:46:54 +09:00
Marc Gilleron
aaf9cacf5f
Improved freelook
...
- Fix movement input affecting all viewports even when clicking outside
- Freelook up movement is now relative
- Prevent tool shortcut conflict when moving
- De-hardcode tool shortcuts (select, move, rotate, scale, wireframe)
- Movement speed depends on zoom distance (like panning)
- Mouse wheel controls speed (Blender-style) due to above point
- Added zoom distance indicator, hides after short delay
2017-05-08 02:57:20 +02:00
Rémi Verschelde
66725d9b21
Merge pull request #8660 from Hinsbart/warp
...
Spatial Editor: Mouse warping for orbit & freelook modes.
2017-05-07 15:06:35 +02: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
Andreas Haas
7839a89027
Spatial Editor: Mouse warping for orbit & freelook modes.
2017-05-06 14:46:42 +02:00
Marc Gilleron
442006b4bf
Added 3D freelook navigation mode
...
- Triggered by holding RMB
- Can look around in FPS style
- Can move with WASD
- Movement speed accelerates over time
- Can multiply speed with a modifier key to go faster or slower
- Configurable in editor settings and shortcuts
2017-05-04 01:38:12 +02:00
volzhs
17e8e343fb
Revert "Add new editor and default theme (WIP)"
...
This reverts commit f045efe007
.
2017-05-03 06:19:15 +09:00
Rémi Verschelde
a37364620f
Merge pull request #8569 from volzhs/editor-theme-1
...
Fix to use editor theme instead of handling each UI
2017-05-02 11:28:52 +02:00
Rémi Verschelde
6b769ac625
Merge pull request #8559 from Paulb23/script_recent_files
...
Added recent scripts to script editor
2017-05-02 11:27:57 +02:00
Rémi Verschelde
0a613ff970
Add a few missing copyright headers
2017-04-28 20:16:30 +02:00
volzhs
3223305e5a
Fix to use editor theme instead of handling each UI
2017-04-28 22:42:52 +09:00
volzhs
be454ba2d6
Update editor theme
2017-04-28 11:01:17 +09:00
Paulb23
e37928bb50
Added recent scripts to script editor
2017-04-27 16:07:39 +01:00
Daniel J. Ramirez
f045efe007
Add new editor and default theme (WIP)
2017-04-27 08:04:57 +02:00
Paulb23
c4ffe89204
Changed indent type settings
2017-04-26 12:14:03 +01:00
Rémi Verschelde
88d362b232
Merge pull request #8531 from RameshRavone/patch-5
...
Settings: Moving Poly Editor into Editors category
2017-04-26 08:14:04 +02:00
Ramesh Ravone
ff282571c6
Settings: Moving Poly Editor into Editors category
2017-04-25 17:48:08 +05:30
Paulb23
4b8152d599
Ability to Convert Case, issue 8079
2017-04-25 10:18:57 +01:00
Paulb23
165b7bab63
Fixed convert indent and trim whitespace on save
2017-04-23 19:19:30 +01:00
Paulb23
e7e1d65eb0
Fix cursor position on indent convert
2017-04-23 19:05:51 +01: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
5237bc952d
Merge pull request #8424 from Paulb23/convert_indent
...
Support for space indentation
2017-04-18 14:16:58 +02:00
Paulb23
c59bd79e02
Convert indent on save
2017-04-18 12:30:52 +01:00
Paulb23
84bca4e72f
Added support for space indentation
2017-04-18 12:30:46 +01:00
Ignacio Etcheverry
97c385dbb8
ScriptEditor: Fixes bug where menu option would be handled twice
2017-04-17 02:45:56 +02: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
Paulb23
95a2a7e525
Added ability to convert indent type
2017-04-16 17:21:45 +01:00
Zaven Muradyan
5b3c0a502c
Add the ability to delete bezier path handles.
2017-04-16 01:02:58 -07:00
Jylhis
aa63fd1551
Fix #7262
...
Disable PopupMenu hiding in snap settings of the TextureRegion editor
and Edit menu of the scene
2017-04-14 15:01:56 +03:00
Rémi Verschelde
8764659234
Merge pull request #8342 from volzhs/error-signal-dnd
...
Fix signal error when starting editor
2017-04-10 08:29:41 +02: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
519c03e932
Fix signal error when starting editor
...
need to merge #8198 to work properly
2017-04-10 13:00:08 +09:00
Juan Linietsky
4286aef693
Particle system is complete. Rejoice!
2017-04-08 22:40:06 -03:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Juan Linietsky
74808ac4d9
New particle system, mostly working, some small features missing.
2017-04-06 23:49:27 -03:00
supaiku
d51fe99a8b
Fix highlight typo
2017-04-06 17:35:08 +02:00
Rémi Verschelde
84bd039851
Merge pull request #8173 from RandomShaper/improve-tile-palette
...
Several enhancements for the tile map editor
2017-03-30 10:29:46 +02:00
Pedro J. Estébanez
54abbc532f
Several enhancements for the tile map editor
...
Allow sorting tile palette by name
Allow hiding tile ids in tile palette
2017-03-27 10:45:02 +02:00
Rémi Verschelde
d4740a9853
Merge pull request #8169 from RandomShaper/fix-uniform-move
...
Include uniform (Shift down) mode in only-one-Node2D dragging
2017-03-27 08:56:54 +02:00
Pedro J. Estébanez
e7fba3d273
Include uniform (Shift down) mode
...
in only-one-Node2D dragging
2017-03-27 01:32:24 +02:00
Rémi Verschelde
fb46323022
Merge pull request #8115 from RandomShaper/improve-snapping
...
Improved 2D snapping behavior
2017-03-24 22:51:12 +01:00
Rémi Verschelde
98baec6880
Merge pull request #8109 from RandomShaper/warped-panning
...
Implement warped mouse panning for 2D & 3D editors
2017-03-24 22:50:39 +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
Pedro J. Estébanez
61d7ae3466
Improved 2D snapping behavior
...
Make snapping affect nodes created by drag & drop
Make snapping for a single Node2D refer to its pivot
Refactor duplicate drag setup code
Replace one occurrence of the old set_pos by set_position
2017-03-24 21:29:46 +01:00
Pedro J. Estébanez
f5004b78d0
Implement warped mouse panning for 2D & 3D editors
...
Enabled by default as in Blender, but can be disabled separately for 2D & 3D;
the core functionality is in Input so this could be reused or even exposed to scripts in the future
2017-03-22 21:36:52 +01:00
volzhs
4d0a75750f
Fix drag and drop on 2d viewport
2017-03-13 19:35:27 +09: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