Commit graph

394 commits

Author SHA1 Message Date
Rémi Verschelde
33f4010378 Merge pull request #3250 from akien-mga/pr-uniform-scaling-canvasitem
Fix uniform scaling of non-square CanvasItem nodes
2016-01-07 14:34:21 +01:00
Rémi Verschelde
9849df9438 Merge pull request #3217 from neikeq/asframes_patch
Disable renaming SpriteFrames
2016-01-06 11:49:22 +01:00
Rémi Verschelde
30ce222205 Merge pull request #3216 from nounoursheureux/spriteframes
Show the texture name after the frame number in the SpriteFrames editor
2016-01-06 11:49:08 +01:00
Rémi Verschelde
fa0500557f Fix uniform scaling of non-square CanvasItem nodes
Fixes #3224.
I chose the longest side of the original node (width vs height) as the "guiding direction" to handle the ever changing drag_vector and avoid issues when a component changes sign.
2016-01-06 00:13:07 +01:00
Ignacio Etcheverry
a9dbe83155 TileMap: Properly flip/rotate tiles with non-square region 2016-01-04 15:28:11 +01:00
Juan Linietsky
30d4a50b42 Fix KP5 toggle perspective shortcut, fixes #2035 2016-01-04 00:17:28 -03:00
Juan Linietsky
e8fbf39f88 -Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs and speeds up. Closes #2040
-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
2016-01-03 17:14:28 -03:00
Ignacio Etcheverry
ac7145c3be Disable renaming AnimatedSprite frames 2016-01-03 12:45:12 +01:00
Nounours Heureux
07d8558eee Show the texture name after the frame number in the SpriteFrames editor 2016-01-03 09:31:10 +01:00
Juan Linietsky
939c5f5c9e -Fix global transform cache not being cleared in 2D nodes, fixes many editor bugs, closes #2115 2016-01-02 20:32:19 -03:00
Juan Linietsky
b0b1da6950 Make buttons properly obey stylebox content marins, closes #2156 2016-01-02 15:51:41 -03:00
Juan Linietsky
be73e2d2f2 fixed uninitialized tool mode in path 2d editor 2016-01-02 15:42:14 -03:00
Ignacio Etcheverry
e22e0cecf7 TileMap: Consider texture offset for rotated tiles 2016-01-02 18:17:20 +01:00
George Marques
5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Juan Linietsky
d014518a1a Make sure auto bracket completion setting always works, closes #2332 2016-01-01 09:52:01 -03:00
Juan Linietsky
8dad6415b1 -Fixed focus for shader editor when switching tab, closes #2551 2015-12-31 10:50:39 -03:00
reduz
135d5fb06d -property change object's rotation pivot on children of scaled CanvasLayer, fixes #2599 2015-12-29 07:31:50 -03:00
reduz
4028dfa6d2 do not allow editing of tilemap if it's invisible, fixes #2601 2015-12-28 21:23:32 -03:00
reduz
fcd4b1a421 -added a visual tool to change the pivot of a sprite/asprite/polygon/etc. Closes #2670 2015-12-28 09:38:15 -03:00
hondres
b431c88146 Colorize Rect2 and NodePath in script editor 2015-12-24 04:20:26 +01:00
Ariel Manzur
a5fe71a0e9 this failed in msvc, didn't in linux and mingw 2015-12-20 11:42:55 -03:00
Ignacio Etcheverry
d74c56289f Fix Remove Item option in TileSet plugin 2015-12-15 23:35:35 +01:00
Juan Linietsky
f2183a5e09 replaced :var by :Variant in documentation, fixes #2897 2015-12-14 08:28:01 -03:00
Juan Linietsky
534c8e74b9 do not open dominant script if external editor is selected, fixes #3067 2015-12-14 08:21:18 -03:00
Juan Linietsky
72ff61963b fixed and improved selection and list selection, closes #2852 2015-12-13 17:16:13 -03:00
Juan Linietsky
e19f176765 fix broken merge 2015-12-12 10:21:22 -03:00
Juan Linietsky
a2d817405e Merge branch 'master' of https://github.com/godotengine/godot 2015-12-12 10:14:13 -03:00
Juan Linietsky
cd4c3f4d12 -added option to keep debugger open, fixes #3031 2015-12-12 10:09:50 -03:00
Franklin Sobrinho
4d644ca997 Script debugger remains visible when using Debug->Show Debugger 2015-12-12 10:04:51 -03:00
Rémi Verschelde
964a57cb2a Merge pull request #2883 from TheHX/mesh_editor_plugin
Add StaticBody collision generation for all selected MeshInstance nodes
2015-12-10 15:19:30 +01:00
Juan Linietsky
aadced2f72 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-09 09:10:00 -03:00
Juan Linietsky
6bc6b8fcf2 -ability to change scripts in external editor and still have properties reloaded in godot UI, fixes #3003 2015-12-09 09:08:41 -03:00
Rémi Verschelde
efbb834936 Merge pull request #2986 from TheHX/pr-shader-editor
Fix shader editor focus when switching tabs
2015-12-09 07:48:51 +01:00
Juan Linietsky
f93fbbe1d2 Merge pull request #2888 from TheHX/item_list_plugin
Make ItemListEditor plugin functional
2015-12-08 17:07:32 -03:00
Franklin Sobrinho
97a3fa3f12 Fix shader editor focus when switching tabs 2015-12-06 20:11:56 -03:00
Franklin Sobrinho
b3ce127e31 Script Editor: maintain cursor column after duplicate a line 2015-12-06 15:34:09 -03:00
Juan Linietsky
200b7bb87c -Display on animation editor which keys are invalid and which tracks are unresolved
-Added a tool to clean up unresolved tracks and unused keys
2015-12-05 14:18:22 -03:00
Franklin Sobrinho
d6d335f20c Make ItemListEditor plugin functional 2015-12-03 15:17:56 -03:00
Rémi Verschelde
7ac31a7209 Merge pull request #2969 from neikeq/fix_bracket_complete
Fix auto bracket completion disabled on newly open scripts
2015-12-01 21:01:48 +01:00
Rémi Verschelde
7b9dd1ea76 Merge pull request #2968 from neikeq/line_duplicate
Fix script editor not clonning down last line
2015-12-01 21:01:05 +01:00
neikeq
fc7e313074 Fix script editor not clonning down last line 2015-12-01 19:43:51 +01:00
neikeq
4cbabf9691 ScriptTextEditor: fix auto bracket completion not enabled 2015-12-01 17:43:18 +01:00
Rémi Verschelde
f1f3468f70 Merge pull request #2890 from neikeq/cl_select_children
Allow selecting CanvasLayer children in canvas editor
2015-12-01 11:20:48 +01:00
Rémi Verschelde
a1059e3e3e Merge pull request #2908 from neikeq/fix_editor_select
Fix bugs caused by merged Script and Help tabs
2015-11-25 00:25:55 +01:00
neikeq
06957a8026 Fix Class Reference request from Inspector 2015-11-25 00:08:39 +01:00
Rémi Verschelde
5db398f67f Merge pull request #2907 from neikeq/fix_2887
Fix Class Search dialog not showing
2015-11-24 23:55:44 +01:00
neikeq
660e831e36 Fix Class Search dialog not showing up 2015-11-24 23:03:51 +01:00
neikeq
c591293718 Remember last help search 2015-11-24 22:33:26 +01:00
neikeq
0017c368c2 Allow selecting CanvasLayer children in canvas editor 2015-11-23 19:17:01 +01:00
Franklin Sobrinho
354bc0385b Add StaticBody collision generation for all selected MeshInstance nodes 2015-11-22 20:08:50 -03:00
Juan Linietsky
06d842566c Merge pull request #2830 from Ovnuniarchos/ShapeLine2DXPolygonEditor
Corrections to #2808 (2D shapes editor update)
2015-11-19 19:35:18 -03:00
Juan Linietsky
dccbd3b4f8 Merge pull request #2831 from neikeq/select_menu_patch
Show select menu on button pressed (instead of released)
2015-11-19 19:34:50 -03:00
Ovnuniarchos
1396ae274a get_handle_value implemented for LINE_SHAPE. Normal length normalized. 2015-11-19 16:13:45 +01:00
neikeq
6b0423b191 Show select menu on button pressed (instead of released) 2015-11-19 15:47:04 +01:00
Juan Linietsky
d3eb9e8c54 -remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260 2015-11-19 10:41:20 -03:00
Juan Linietsky
daf3182442 Revert "Ignore alpha materials in baked light ray-tracer." 2015-11-19 00:50:25 -03:00
Juan Linietsky
9a7769f194 Merge pull request #2444 from TheHX/issue_2117
Fix for problem when drawing CollisionPolygon when parented (#2117)
2015-11-19 00:23:17 -03:00
Juan Linietsky
2dac9ab2ef Merge pull request #2447 from TheHX/issue_1275
Fix crash after undo when editing Polygon2D (#1275)
2015-11-19 00:21:46 -03:00
Juan Linietsky
3118c192bd Merge pull request #2786 from neikeq/node_select_menu
Added selection menu to spatial and canvas editors
2015-11-18 23:46:46 -03:00
neikeq
f84dc8e59d Added selection menu to spatial and canvas editors 2015-11-19 00:19:00 +01:00
Juan Linietsky
94fdd01241 Merge pull request #2702 from TheHX/fix_align_with_view
Fix 3D editor align with current view
2015-11-18 19:58:52 -03:00
Juan Linietsky
0c3386b2ed Merge pull request #2707 from akien-mga/master
Cosmetic fixes to SCons buildsystem
2015-11-18 19:43:28 -03:00
Juan Linietsky
fce4c6eecb Merge pull request #2716 from SaracenOne/animation_saving_fix
Added missing saving support to animation editor.
2015-11-18 19:35:57 -03:00
Juan Linietsky
ba9ebe6b03 Merge pull request #2717 from SaracenOne/light_baker_transluscent
Ignore alpha materials in baked light ray-tracer.
2015-11-18 19:35:42 -03:00
Juan Linietsky
3b2c25e77d Merge pull request #2815 from akien-mga/pr-tooltip-buttons-sample-library
Added tooltip for a few buttons in sample library editor
2015-11-18 19:21:29 -03:00
Juan Linietsky
551925475b Merge pull request #2626 from TheHX/editor_dialogs
Small fixes in some editor dialogs
2015-11-18 19:17:55 -03:00
Juan Linietsky
536daca8f6 Merge pull request #2631 from firefly2442/duplicate-conditional-fix
duplicate conditional check
2015-11-18 19:17:01 -03:00
Juan Linietsky
a8f18e1bae Merge pull request #2639 from MarianoGnu/origin
Fix ButtonGroup broken layout
2015-11-18 19:14:25 -03:00
Tybobobo
c1c2fef23e Added tooltip for a few buttons in sample library editor 2015-11-18 23:12:23 +01:00
Juan Linietsky
3c1fdedc9d Merge pull request #2679 from eska014/set-all-tileset-shapes
Add all collision shapes to a tile when converting scenes to TileSets
2015-11-18 19:03:59 -03:00
Ovnuniarchos
0b05739a8b *Polygon2D now updates on any modification in its point array. ShapeLine2D has now an editor. 2015-11-18 19:20:50 +01:00
Juan Linietsky
b08312b30c -Fixed default theme a little
-Added option to group help pages, fixes #2805
2015-11-18 09:20:46 -03:00
Juan Linietsky
081a236c67 -Merged Script and Help tabs
-Help tabs can be opened many at the same time
-Color temperatures for opened scripts
-Dominant script opening when switching scene tab
2015-11-17 09:46:08 -03:00
Juan Linietsky
61c4c5795f -support for stereo ima-adpcm sample compression & playback
-support for converting samples to ima-adpcm upon export
2015-11-09 00:49:18 -03:00
Saracen
53c9e8301c Ignore alpha materials in baked light ray-tracer. 2015-11-02 16:25:16 +00:00
Saracen
56b7567b55 Added missing saving support to animation editor. 2015-11-02 16:17:14 +00:00
Franklin Sobrinho
cd4d4b97e3 Fix issue #1275 2015-11-02 08:34:40 -03:00
Rémi Verschelde
399b1b0474 Cosmetic fixes to SCons buildsystem
- Removed trailing spaces
- Made sure all indentation is done using tabs (fixes #39)
- Potentially fixed an identation issue for openssl check
2015-11-01 20:53:26 +01:00
Franklin Sobrinho
18392e28b6 Fix "Align with view" undo, fixes #1443 2015-10-29 20:44:12 -03:00
eska
ca7cfa9b4c Add all collision shapes to a tile when converting scenes to TileSets 2015-10-25 23:13:46 +01:00
MarianoGNU
6df7d92379 Fix ButtonGroup broken layout 2015-10-19 17:46:13 -03:00
firefly2442
0a45fb6311 duplicate conditional check 2015-10-18 20:50:32 -05:00
Franklin Sobrinho
ec394950ff Change MeshInstanceEditor outline dialog "Ok" button label 2015-10-18 15:13:17 -03:00
Franklin Sobrinho
abde648e68 Small fixes in some editor dialogs 2015-10-18 13:31:44 -03:00
Juan Linietsky
408c498446 -Added const to a reference, should fix #2613 2015-10-17 17:13:49 -03:00
Juan Linietsky
7d8f187c33 Merge branch 'master' of https://github.com/okamstudio/godot 2015-10-17 15:49:27 -03:00
Juan Linietsky
1db523d0bb Merge pull request #2274 from MarianoGnu/master
Improve Visual Shader Editor responsiveness
2015-10-17 15:31:23 -03:00
Juan Linietsky
6f9631fc51 Merge branch 'master' of https://github.com/okamstudio/godot 2015-10-17 12:48:47 -03:00
Juan Linietsky
52cc8e6ead Merge pull request #2357 from volzhs/prevent-to-change-tool-mode
prevent to change tool mode when control key is pressed
2015-10-17 10:52:50 -03:00
Juan Linietsky
ab22203791 misc cleanup 2015-10-17 10:29:54 -03:00
MarianoGNU
a5ebb52500 Merge branch 'master' of https://github.com/okamstudio/godot
# Solved Conflicts:
#	tools/editor/property_editor.cpp
2015-10-16 23:21:39 -03:00
reduz
aad2bbdb6f newline fixes 2015-10-08 15:00:40 -03:00
MarianoGNU
3e6aaec193 Add SpriteRegionEditor and update Polygon2DUVEditor
Both with snap and grid support
2015-09-28 00:06:06 -03:00
Juan Linietsky
889d21e004 Merge pull request #2352 from xodene/patch-6/script-file-new
Add "New" script button to Script Editor Popup Menu
2015-09-16 09:55:10 -03:00
George Marques
1add3b3dac
Set AnimationEditor UndoRedo reference on creation
Fix #2418
2015-09-13 16:21:09 -03:00
Franklin Sobrinho
d6aed94651 Fix for issue #2117 2015-09-07 08:20:33 -03:00
Mariano Javier Suligoy
680402cebf Add missing icons, also make MSVC2010 happy 2015-08-30 19:37:23 -03:00
Mariano Javier Suligoy
c688b55019 Merge branch 'master' of https://github.com/okamstudio/godot
# Solved Conflicts:
#	tools/editor/property_editor.cpp
#	tools/editor/property_editor.h
2015-08-30 02:48:45 -03:00
Mariano Javier Suligoy
a19a653e2c Compile shaders using default values. 2015-08-30 02:44:49 -03:00
Juan Linietsky
1bad27e1f8 -Properly keep animation editor and viewport state while switching scene tabs 2015-08-29 22:59:25 -03:00
Mariano Javier Suligoy
ea448cb779 Edit default values. WARNING!!!
Do not merge these changes, default values are not compiled into shaders yet!
2015-08-29 21:09:11 -03:00
Juan Linietsky
b4acd18f32 -display/emulate_touchscreen now really emulates a touchscreen
-icons to show node menus
2015-08-29 17:16:11 -03:00
Mariano Javier Suligoy
54291c655d Merge branch 'master' of https://github.com/okamstudio/godot 2015-08-24 21:33:00 -03:00
Juan Linietsky
5850b6b58a beautiful visual menu to change anchors
will you dare to try it? :)
because, I'd check previous commit msgs if I were you..
2015-08-24 01:00:39 -03:00
volzhs
edabbcd064 remove shift key check because shift + v in use with tool mode 2015-08-11 22:52:43 +09:00
volzhs
80943d77a4 prevent to change tool mode when control or shift key is pressed 2015-08-11 22:39:59 +09:00
Maximillian
bc9952f1c7 Fix create script dialog title(s) 2015-08-09 16:55:59 -07:00
Maximillian
8f83f6c675 Add create new script button to script editor menu 2015-08-09 16:39:59 -07:00
Mariano Javier Suligoy
3a83337420 Merge branch 'master' of https://github.com/okamstudio/godot 2015-08-09 16:33:02 -03:00
Juan Linietsky
8280bb0de0 more debugger fixes
-setting/clearing breakpoints during run-time now works
-multi-line strings resulted in wrong line numbers in bytecode, fixed
2015-08-04 20:17:39 -03:00
Mariano Javier Suligoy
c88038228a Merge branch 'master' of https://github.com/okamstudio/godot 2015-08-03 17:28:33 -03:00
Juan Linietsky
59961c9914 Live edit WORK IN PROGRESS
1) press the heart while the game is running
2) select a scene to live edit from the opened scenes
3) edit/add/remove nodes or resources, change their properties, etc.
4) watch changes reflected in running game, in all places this scene is
edited
5) It's not perfect obviously, but the aim of it is to try to reflect
your changes as best as possible in the running game.
2015-08-02 12:30:01 -03:00
Mariano Javier Suligoy
d7279ddaf2 Delete selected nodes with the Delete key 2015-07-26 21:57:27 -03:00
Mariano Javier Suligoy
add0105c4e Little fix: don't create an empty undo/redo command when trying to add a second Input GraphNode 2015-07-25 22:05:45 -03:00
Mariano Javier Suligoy
5ffd818fb1 Duplicate GraphNode(s) [Control+D] 2015-07-25 21:16:07 -03:00
Mariano Javier Suligoy
2a43778793 Fix tab indent 2015-07-20 22:15:06 -03:00
Mariano Javier Suligoy
bdd12744fe Select and move multiple nodes at once 2015-07-19 01:48:46 -03:00
Mariano Javier Suligoy
5b71fc45b7 Use popup menu to add new nodes to the shader graph editor in the last clicked location. 2015-07-16 22:38:12 -03:00
Juan Linietsky
95047562d7 Several performance improvements, mainly in loading and instancing scenes and resources.
A general speedup should be apparent, with even more peformance increase when compiling optimized.

WARNING: Tested and it seems to work, but if something breaks, please report.
2015-06-29 00:29:49 -03:00
Juan Linietsky
a67486a39e improved get_node(), connect(), etc code completion.
-properly completes text arguments
-includes the "/root" autoloads
2015-06-26 01:14:49 -03:00
Juan Linietsky
29b2e811f6 added a tiny bit more space to docks and script tab 2015-06-24 18:57:14 -03:00
Franklin Sobrinho
5688b6157f CollisionShape2D visual editor 2015-06-23 12:20:34 -03:00
Juan Linietsky
6154cff93f Merge pull request #2101 from sanikoyes/Pr-script-editor-save-state
Pr-Script editor
2015-06-22 23:54:04 -03:00
Franklin Sobrinho
0159cecd69 Small fixes for Grid/Tile map editor palette 2015-06-22 11:10:13 -03:00
Franklin Sobrinho
d68a33b473 Grid/Tile map editor new item palette 2015-06-22 10:05:03 -03:00
Juan Linietsky
e9bbb97acc Multiple scene editing *POTENTIALLY UNSTABLE*
-ability to edit multiple scenes at the same time
-resource internal IDs are now persistent, this makes multiple scene
editing possible but maaaaay result in file corruption bugs (tested and
could not find anything but possibility exists because core code
changed, report immediately if you find this).
-properly save settings, layout, etc when edited
-script editing is independent from scene editing now
-show a yellow box when a script belongs to the scene
2015-06-22 00:04:15 -03:00
Juan Linietsky
669f5c994b fix "v" pivot adjust function 2015-06-16 16:15:01 -03:00
sanikoyes
14cd70faf3 Script editor: restore line/column after script reload 2015-06-16 15:15:10 +08:00
Juan Linietsky
8945670bc0 made changing pivot simpler in 2D nodes (just press v with mouse over position) 2015-06-12 13:53:18 -03:00
Juan Linietsky
143265d4cb Merge pull request #1973 from Biliogadafr/ColorRamp
Replace color phases with color ramp for Particles2D. (need some review/guidance)
2015-06-07 00:26:35 -03:00
Juan Linietsky
b524b40fdc -fixed many memory initialization issues
-fixed deadlock on previews thread
-fixed compilation errors on unix
2015-06-06 22:06:58 -03:00
Juan Linietsky
9acab32daa new file dialog!
-ItemList control for easier lists/thumbnails
-New file dialog, with support for thumbnails, favorites, recent places,
etc
-Moved .fscache out of the project, no more bugs due to committed/pulled
.fscache!
-Dir dialog now sorts directories
2015-06-06 09:44:38 -03:00
reduz
07a466f6e6 mesh preview 2015-05-31 21:13:24 -03:00
Juan Linietsky
d5348eebdc work in progress, resource previews 2015-05-31 02:00:18 -03:00
Juan Linietsky
f36e7dcb40 improved animation editor
-same-value link keys
-new layout
-forward, backwards playback
-integrated curve/property editor
-auto increment sprite frame after insert
-copy & paste animation resoucres
2015-05-25 01:47:02 -03:00
Biliogadafr
df9d48d9b5 Replace color phases with color ramp for Particles2D. 2015-05-24 21:18:52 +03:00
Juan Linietsky
2696ecb769 reinstante focus into textedit after menu used in code editor 2015-05-17 15:38:24 -03:00
Juan Linietsky
421b4fec3e -compatibility option for physicsbody layers, fixes #1842 2015-05-10 15:58:08 -03:00
ehriche
897a1aade5 optional formal changes 2015-05-06 01:22:31 +02:00
ehriche
dcc93a33fd fixed SpatialEditor::_init_indications. loopcounter "i" used ambiguous 2015-05-06 00:49:00 +02:00
Juan Linietsky
74b0e0c296 fix crash in editor when using alt+arrows to indent, thanks adolson and romulox_x 2015-05-05 00:17:22 -03:00
Juan Linietsky
68700ee3a9 Proper support for code editor autosaving (disabled by default) 2015-05-04 23:32:40 -03:00
Juan Linietsky
807a811fad changed some shortcuts in text editor, maybe fixes #1732 2015-04-24 16:25:27 -03:00
Juan Linietsky
59154cccf9 -Changed Godot exit to be clean.
-Added more debug information on memory cleanliness on exit (if run with -v)
-Fixed several memory leaks, fixes #1731, fixes #755
2015-04-20 19:38:02 -03:00
Juan Linietsky
bedb4f1ab2 Merge pull request #1662 from TheHX/fix_plugins
Fix toolbar menu position(RichText and MultiMesh plugins)
2015-04-18 14:45:29 -03:00
Juan Linietsky
fdaa2920eb Updated copyright year in all headers 2015-04-18 14:38:54 -03:00
Franklin Sobrinho
5cb4ba24d3 Fix toolbar menu position(RichText and MultiMesh plugins) 2015-04-09 09:48:46 -03:00
Franklin Sobrinho
59692d9012 Changed popup_centered by popup_centered_minsize in editor dialogs 2015-04-08 14:02:13 -03:00
Juan Linietsky
d1567636f4 Merge pull request #1569 from sanikoyes/Pr-sort-sample-library
Pr-sort-sample-library
2015-04-07 20:17:16 -03:00
Juan Linietsky
b1bf4fcef2 Merge pull request #1591 from MostafaHassan/pr_FixCrashInVisualShader
(Fix crash) in visual shader for curve remap node
2015-04-07 20:14:10 -03:00