Commit graph

1132 commits

Author SHA1 Message Date
reduz
6cb3c94b03 Merge pull request #509 from marynate/PR-script-editor-replace-dialog
Script editor: Add selected text in replace dialog automatically
2014-06-17 11:56:09 -03:00
reduz
a285708a0c Merge pull request #510 from marynate/PR-align-with-view
Align selected node with current view (3d editor)
2014-06-17 11:55:52 -03:00
reduz
59fd2c51f6 Merge pull request #512 from marynate/PR-fix-texture-preview-not-update
Fixed #185 Setting a new Texture for a Sprite node does not update preview
2014-06-17 11:55:26 -03:00
marynate
b9a8c39af5 Use toolbutton for clear search term 2014-06-17 13:39:01 +08:00
marynate
8b31ae491f Move ProjectListFilter::FilterOption into private section 2014-06-17 13:38:44 +08:00
marynate
57ab93bd27 Add project list filter for easy finding projects 2014-06-17 13:38:44 +08:00
marynate
9a75d3175e Search filesystem by name or path; Remove extension filter; Use toolbutton for clear search term 2014-06-17 13:35:14 +08:00
Juan Linietsky
703004f830 More 3D Work
-=-=-=-=-=-

-ESM Shadow Mapping for softer and less glitchy shadows
-HDR Pipeline (convert to Linear on texture import, convert to SRGB at the end)
-Fix to xml parse bug
2014-06-16 10:22:26 -03:00
marynate
2b6106541c Fixed #185 Setting a new Texture for a Sprite node does not update preview 2014-06-15 10:11:58 +08:00
marynate
2f79e59c00 Add align with view in 3d editor viewport (useful for aligning camera with
current view)
2014-06-13 15:59:02 +08:00
marynate
eb6f7f38c0 Script editor: Put selected text in replace dialog automatically (unless selected more than 1 line); Replace textbox get focus when there's search text but no replace text; Bump up transparency of FindReplaceDialog 2014-06-13 11:32:38 +08:00
Juan Linietsky
64e83bfd14 Merge branch 'master' of https://github.com/okamstudio/godot 2014-06-11 10:41:43 -03:00
Juan Linietsky
9b8696d3dd Light Baker!
-=-=-=-=-=-=

-Support for lightmap baker, have fun figuring out how it works before tutorial is published.
2014-06-11 10:41:03 -03:00
reduz
58a323e062 Merge pull request #446 from marynate/PR-fix-scons-cstringio
Use cStringIO to write editor_icons.cpp
2014-06-11 01:20:43 -03:00
reduz
09023224b6 Merge pull request #490 from macramole/master
Set project name automatically when choosing path for new projects in project manager
2014-06-11 01:12:41 -03:00
reduz
b0b6f143ff Merge pull request #496 from marynate/PR-scene-dock-search
Adding search box to scene dock(file system tab)
2014-06-11 01:11:45 -03:00
reduz
3a7cbfcea6 Merge pull request #498 from marynate/PR-pm-favorite
Add pin/favorite projects in project manager
2014-06-11 01:11:17 -03:00
marynate
151df47677 Add pin/favorite projects in project manager 2014-06-10 11:05:46 +08:00
marynate
e94f875788 Allow run/edit multiple projects from project manager 2014-06-10 11:03:32 +08:00
marynate
2c3d279c75 Adding search box to scene dock(file system tab) 2014-06-10 10:36:45 +08:00
leandrogarber@gmail.com
729cadad13 small feature: set project name automatically when choosing path for new projects (recommit due problem with codeblocks tabs) 2014-06-04 18:30:39 -03:00
leandrogarber@gmail.com
0be5ff50aa small feature: set project name automatically when choosing path for new projects 2014-06-04 18:15:37 -03:00
Juan Linietsky
6f0b4678e2 More 3D Improvements
-=-=-=-=-=-=-=-=-=-=

-Sprite3D and AnimatedSprite3D support.
-Opaque pre-pass works, is compatible with shadows
-Improved shadow map rendering (can differentiate between plain opaque and opaque with shaders/discard/etc)
-Added option to use alpha discard in FixedMaterial
-Improved Glow FX, many more options (three modes, Additive, Screen and SoftLight), strength and scale
-Ability for Background (image or cubemap) to send to glow buffer
-Dumb Deploy of clients now actually works in Android
-Many Many rendering fixes, 3D is much more usable now.
2014-05-29 10:56:39 -03:00
Juan Linietsky
1cad087969 Making Godot Easier to Use..
-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-Auto indenter in code editor, this makes it much easier to paste external code.
-Zoom in 2D viewport now uses the mouse pointer as reference.
-Obscure hack to see where code/line of GDScript in C++ backtrace.
-Fixed a bug where keys would get stuck on X11 if pressed simultaneously
-Added Api on IP singleton to request local IPs.
-Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
2014-05-24 01:35:47 -03:00
marynate
1e41bfa9cf Use cStringIO to write editor_icons.cpp, lower the opportunity file access conflit when buiding with spawn_jobs 2014-05-22 16:26:55 +08:00
Jonas Rudlang
6b1b3fbfa5 Added a setting to disable autocomplete popup and fixed the autocomplete timer to updated when the setting has changed 2014-05-22 00:01:11 +02:00
reduz
8bb7cc7325 Merge pull request #436 from marynate/PR-2d-uniform-scale
Add 2d unifrom scale
2014-05-20 23:10:45 -03:00
marynate
9737c02e21 Add 2d unifrom scale 2014-05-21 09:51:51 +08:00
marynate
8be3963aa0 Add pan mode in 2d editor 2014-05-21 09:47:47 +08:00
reduz
a364bc4371 Merge pull request #410 from marynate/PR-hotkey-quit-to-pm
Resolve issue #406 by adding hotkey for "quit to project manager"
2014-05-20 20:46:07 -03:00
reduz
fb5223a69d Merge pull request #415 from marynate/PR-auto-editor-icons-cpp
Auto generate editor_icons.cpp to make it easy to update editor icons
2014-05-20 20:45:23 -03:00
Juan Linietsky
b324ff7ea5 A bit of everything:
-IMA-ADPCM support for samples, this means that sound effects can be compressed and use 4 timess less RAM.
-New 3D import workflow based on Wavefront OBJ. Import single objects as mesh resources instead of full scenes. Many people prefers to work this way. Just like the rest of the imported resources, these are updated in realtime if modified externally.
-Mesh resources now support naming surfaces. This helps reimporting to identify which user-created materials must be kept.
-Several fixes and improvements to SurfaceTool.
-Anti Aliasing added to WorldEnvironment effects (using FXAA)
-2D Physics bodies (RigidBody, KinematicBody, etc), Raycasts, Tilemap, etc support collision layers. This makes easy to group which objects collide against which.
-2D Trigger shapes can now also trigger collision reporting in other 2D bodies (it used to be in Area2D before)
-Viewport render target textures can now be filtered.
-Few fixes in GDscript make it easier to work with static functions and class members.
-Several and many bugfixes.
2014-05-14 01:22:15 -03:00
marynate
d2770ac8a6 Add sCons dependency for editor_icons.cpp, so it's only re-generated when there're icon changes 2014-05-14 10:52:08 +08:00
marynate
f5421cdaf3 Auto generate editor_icons.cpp to make it more easy to update editor icons 2014-05-13 23:13:08 +08:00
marynate
30cfc0bef4 Add hotkey Shift+CMD+Q in editor for quit to project manager, resolves
issue #406
2014-05-13 10:30:10 +08:00
marynate
2614631931 User can use '.METHOD' or 'METHOD(' to seach exact method in Search Classes dialog 2014-05-13 01:57:00 +08:00
marynate
56d9faebab Make String::right count from pos instead of pos+1 2014-05-13 01:19:41 +08:00
reduz
1b45a38fb5 Merge pull request #392 from marynate/PR-delete-without-confirm
Shift+Del to delete nodes without confirmation
2014-05-11 13:19:58 -03:00
marynate
14350d2c41 Change key move behavior of canvas item editor to ignore zoom level; Add
alt + arrow key as local base move mode; Control + arrow key as local +
rotation move mode
2014-05-10 10:36:36 +08:00
marynate
763725a569 Shift+Del to delete nodes without confirmation 2014-05-10 10:35:26 +08:00
marynate
98fcb4fa7a Make visibility icon always last to display in scene tree 2014-05-09 00:20:46 +08:00
reduz
9f01f9aa95 Merge pull request #383 from sanikoyes/hotfix-Crash-In-Editor
Fix crash in editor when open new scene in editing
2014-05-08 10:32:35 -03:00
sanikoyes
6bc556dee5 Fix crash in editor when open new scene in editing
resources_dock->cleanup(); // This will delete GDScript instance (if property_editor->obj is scene's GDScript instance, editor will crash)
2014-05-08 16:24:52 +08:00
marynate
2f5c0e41b5 Add lock and group icon to scene tree editor 2014-05-08 13:46:10 +08:00
jonyrock
6c9203fdaf remove degud output 2014-05-07 15:42:55 +04:00
jonyrock
0121d96288 call during autocompletion 2014-05-07 15:38:07 +04:00
reduz
c69c99f8be Merge pull request #375 from marynate/PR-2d-editor-F-key
Add F and CMD+F hot key for center/frame selected node(s) in 2d editor
2014-05-06 12:32:05 -03:00
marynate
61fd1ad703 Press F key in 2d editor to center view to selected node
Press Ctrl+F to frame selected nodes in 2d editor

Change Frame Selection hotkey in 2d editor from Ctrl to CMD for Mac compatability
2014-05-06 22:30:24 +08:00
marynate
0771020c83 Add auto code completion (without press Ctrl+Space manually)
Disalbe auto code completion even there's only one option

Hide auto-completion if only one completion option and it's been typed

Support use tab key to accept code completion option
2014-05-06 21:06:03 +08:00
marynate
6c0f3f8d0c Implement Shift+F1 as contextual help hotkey for script editor; There's
one bug that when jump to help tab first time, the scroll position is
wrong.
2014-05-06 19:21:21 +08:00
marynate
ab76f54196 Update EditorHelp to response help request other than class; Make sure EditorHelpSearch dialog popup with search results 2014-05-06 19:21:21 +08:00
marynate
d3b7f4b1a7 EditorNode consume F1 key only when Shift or Command key not pressed at the same time 2014-05-06 19:21:21 +08:00
marynate
145b8c5e6f Start working on script editor help 2014-05-06 19:20:59 +08:00
Juan Linietsky
197d4e2f8e Another small fix 2014-05-04 23:33:31 -03:00
Juan Linietsky
72ae89c5aa Lots of 3D improvements:
-Object Manipulator Gizmo keeps proper scale in all windows and projections, (configurable on settings too).
-Manipulator gizmos for other objects (camera, shapes, etc) massively improved and bug-fixed.
-Manipulator gizmos are different for edited object and other objects.
-Properly highlight manipulator gizmo handles when hovered.
-Fixed bugs in fragment program when using more than 1 light together.
-Reload png/jpg files automatically in editor if edited externally.
-Added 4-stages Parallel Split Shadow Mapping, to improve shadow quality in large scenarios
-Added PCF13 to improve smoothness of shadow borders
-General optimization of directional light shadow mapping for Orthogonal,PSM and PSSM.
-Fixed normal mapping when importing DAE files, works nicely now.
2014-05-04 22:50:23 -03:00
marynate
78fd9ada45 Add multi-select to project manager 2014-05-02 16:05:57 +08:00
jonyrock
209eaf6fa0 Merge remote-tracking branch 'upstream/master' into pair_symbols_tool 2014-05-01 20:15:28 +04:00
marynate
e1ab905bd7 Sort projects by last modified/accessed date in project manager 2014-05-01 19:31:24 +08:00
jonyrock
34aea718b1 setted font bug fix 2014-05-01 01:58:26 +04:00
jonyrock
bb853d121e EDITOR_DEF in the right place 2014-04-30 20:21:58 +04:00
reduz
7fadc2f93a Merge pull request #318 from adolson/scene-snap-settings-save
2D scene snap settings save
2014-04-28 21:51:41 -03:00
jonyrock
2c683b0f99 #331 settings menu option title fix oops 2014-04-28 13:31:58 +04:00
jonyrock
a93ad6e321 #331 settings menu option title fix 2014-04-28 13:16:49 +04:00
jonyrock
a5384bc07b pair symbols tool basic imp 2014-04-27 14:34:37 +04:00
Dana Olson
aa84f4d261 stops running process when quitting editor
I noticed a bug where I could close Godot while I was running a project.

If the program was left running and then ran into an error,
or if an error was caught by the debugger and then I quit Godot,
I could no longer close the running project without manually killing it.
This fixes that problem by essentially hitting the Stop button automatically
just prior to quitting the editor.
2014-04-23 22:06:12 -04:00
Dana Olson
56718eb31e use Snap / Snap (Pixels) now save to scene file
Previously, only Use Pixel Snap would save to the scene.
Tested and working for me, on Linux.
2014-04-23 21:43:02 -04:00
sanikoyes
ccfeb53005 Fix export translation(can't save pot file) 2014-04-23 09:28:23 +08:00
reduz
31f88a7006 Merge pull request #272 from adolson/patch-1
editor window title improvements
2014-04-22 14:41:43 -03:00
Juan Linietsky
6f1410a837 Merge branch 'master' of https://github.com/okamstudio/godot 2014-04-19 16:47:03 -03:00
Juan Linietsky
a4c1fa12a5 heck 2014-04-19 16:46:52 -03:00
Juan Linietsky
8ebe956421 -Revert change that broke paths 2014-04-18 16:26:46 -03:00
Juan Linietsky
ec4ef2d2e7 -Added google play services (needed for some stuff)
-Added new screen resizing options, stretch_2d is removed, new much more flexible ones.
-Fixed bug in viewport (can create more instances in 3d-in-2d demo now)
-Can set android permissions and screen sizes manually in the export settings
-Changed export templates extension to .tpz (too many people unzipped the manually..)
-File dialog now ensures that the proper extension is used (will not allow to save without it)
-Fixed bug that made collision exceptions not work in 2D
2014-04-14 22:43:44 -03:00
Juan Linietsky
7ea3e8267a -Fixed a few bugs in Viewport
-Made a few demos using Viewport to show it's true power!
-Fixed some start-up error messages.
2014-04-10 00:18:27 -03:00
adolson
c6df9d8a41 editor window title improvements
Shows the project name in the window title (good to differentiate multiple instances of Godot with different projects loaded).

Clears the previous scene name from the window title when creating a new scene.
2014-04-09 22:50:30 -04:00
Juan Linietsky
9f33134c93 -Support for changing fonts
-Detect when free() might crash the project and throw error
-fixed 2D Bounce in physics (3d still broken)
-renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible.
-large amount of fixes
2014-04-05 12:39:30 -03:00
reduz
a643be7170 Merge pull request #230 from hiltonm/hotfix-ignore-doc-data-compressed
Ignore auto-generated doc_data_compressed.h
2014-04-05 09:37:35 -03:00
reduz
d7b93c3776 Merge pull request #237 from marynate/PR-maya-nav
Maya and modo style navigation
2014-04-05 09:28:13 -03:00
reduz
d7b7d1ead6 Merge pull request #241 from marynate/PR-viewport-hotkey
Add Viewport Hotkeys / Toggle maximize viewport
2014-04-05 09:27:23 -03:00
reduz
64671eb6fb Merge pull request #247 from marynate/PR-path-editor-ui
Path Editor UI Improvment
2014-04-05 09:07:03 -03:00
marynate
e7463b2b16 Make secondary handle 50% transparent in Path editor to distinguish from
main handle; Add close curve icon in Path editor UI; Fixed mixed EOL
2014-04-03 18:41:43 +08:00
marynate
1076ee12d4 Add close curve icon source image 2014-04-03 18:41:33 +08:00
marynate
9902c80593 Add close curve icon 2014-04-03 18:41:25 +08:00
marynate
a2bd3a1f41 Move point in Path2D edtitor now respect snap configure; Press Alt when
moving point to activate view base snapping; Path2D editor inherits from
HBoxContainer now"
2014-04-03 16:36:01 +08:00
marynate
4c2183bf23 Use shift for control point in Paht2D editor (to be consistent with Path editor) 2014-04-03 16:36:01 +08:00
marynate
f07a377624 Fixed delete path2d node will crash editor 2014-04-03 16:36:01 +08:00
marynate
3b3c4b7585 Fix #244 no path2d handles visible 2014-04-03 16:35:58 +08:00
marynate
465f81a37a Space to toggle maximize viewport
Cleanup debug output
2014-04-01 19:09:44 +08:00
marynate
a0fcab0a94 Add hotkey for switching viewports
Hotkey added
2014-04-01 16:49:10 +08:00
marynate
145d069da0 Hold shift to speedup pan/zoom in maya navigation scheme 2014-04-01 00:53:19 +08:00
marynate
4dbf26cba2 Keep selection from been cleared when navigating in 3d viewport
Conflicts:
	tools/editor/plugins/spatial_editor_plugin.cpp
2014-04-01 00:52:47 +08:00
marynate
35bf23859a Fix bug in 3d navigation scheme selection; Add modo navigation scheme 2014-04-01 00:50:15 +08:00
marynate
eb294bb6ea Disable transform operation when navigation 2014-04-01 00:49:48 +08:00
marynate
5ed527d8b8 Add maya style navigation scheme to 3d vieewport 2014-04-01 00:49:26 +08:00
Hilton Medeiros
c943167daf Remove auto-generated doc_data_compressed.h 2014-03-27 15:28:07 -03:00
Juan Linietsky
0a717ffee2 Merge branch 'master' of https://github.com/okamstudio/godot
Conflicts:
	modules/multiscript/register_types.cpp
	platform/android/java/src/com/android/godot/GodotLib.java
2014-03-13 23:14:35 -03:00
Juan Linietsky
31ce3c5fd0 -fix bug in cache for atlas import/export
-fix some menus
-fixed bug in out transition curves
-detect and remove file:/// in collada
-remove multiscript for now
-remove dependencies on mouse in OS, moved to Input
-avoid fscache from screwing up (fix might make it slower, but it works)
-funcref was missing, it's there now
2014-03-13 22:57:24 -03:00
reduz
bb7f586842 Merge pull request #170 from mutantgames/master.fork
Solved bug to select external editor url
2014-03-12 08:56:39 -07:00
sanikoyes
87fd153215 fixed editor NodePath property 2014-03-11 13:38:30 +08:00
sasori
3ba00567c5 Solved bug to select external editor url
https://github.com/okamstudio/godot/issues/145
2014-03-05 18:52:57 +01:00
marynate
8fb19e5843 Auto select custom property value field when pop up, user can start typing to change value right away. 2014-02-27 22:19:30 +08:00
okamstudio
47cf3fcec6 Merge pull request #136 from marynate/PR-fix-scenedock-instance-btn
Instance button of SceneDock now working
2014-02-26 11:18:30 -02:00
okamstudio
a9d299f688 Merge pull request #137 from marynate/PR-expose-f-key-to-center-sel
Add F key to center 3d viewport to selected node
2014-02-26 11:18:06 -02:00
okamstudio
4f65f31826 Merge pull request #141 from vinzenz/texture-import-plugin-typo
Typo in 'Atlas Texture' import menu entry
2014-02-26 11:11:12 -02:00
Juan Linietsky
ed6d9463d2 -Added ATITC texture support
-Fixed bug of some tabs showing wrong names
-Exported properties for viewport
2014-02-26 10:08:17 -03:00
Juan Linietsky
b2ce682f6e -scripts are converted to bytecode on export
-fix bug in doc where touchscreen events were not documented
2014-02-25 09:31:47 -03:00
Juan Linietsky
4b07eb8deb -moved script to modules 2014-02-24 09:53:33 -03:00
Vinzenz Feenstra
af59a1b633 Typo in 'Atlas Texture' import menu entry
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-24 12:16:40 +01:00
Juan Linietsky
51609ffc04 -fixed bug importing skeletons 2014-02-23 10:35:05 -03:00
marynate
93878992de Add F key to center 3d viewport to selected node 2014-02-23 17:17:48 +08:00
marynate
cca806143e Instance button of SceneDock now working 2014-02-23 17:12:36 +08:00
Juan Linietsky
7ca29bfaa7 -added kinematic body
-added kinematic body demos
2014-02-22 20:28:19 -03:00
Juan Linietsky
b62ec387f3 Merge branch 'master' of https://github.com/okamstudio/godot 2014-02-20 23:02:47 -03:00
Juan Linietsky
f2a068984c -run script in editor
-add search docs dialog that returns places string was found
-added flash
2014-02-20 23:01:44 -03:00
okamstudio
da3c7931b7 Merge pull request #109 from vinzenz/project-export
tools/editor/project_export: tree_vb already has a parent
2014-02-20 23:54:24 -02:00
Juan Linietsky
51c55b237b wtf 2014-02-19 18:09:52 -03:00
Juan Linietsky
449bc14fb4 Merge branch 'master' of https://github.com/okamstudio/godot 2014-02-19 12:01:31 -03:00
Juan Linietsky
d7d65fa2f2 -improved physics ccd
-html5 exporter works again
-disable repeat on image loader by default
-can change shape offset en tileset, texture offset was broken
2014-02-19 11:57:14 -03:00
reduz
2bfbf89781 Merge pull request #111 from vinzenz/obsolete-editor-plugin-removal
Removal of obsolete editor plugins Fixes #64
2014-02-18 18:18:11 -02:00
marynate
3550a18fa2 Able to open project manager inside editor (Scene->Project Manager)
Remove unnecessary include of project_manager.h
2014-02-18 13:09:31 +08:00
Vinzenz Feenstra
dba66e0286 Removal of obsolete editor plugins Fixes #64
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-17 22:44:05 +01:00
Vinzenz Feenstra
518722438f tools/editor/project_export: tree_vb already has a parent
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-17 20:49:48 +01:00
marynate
408aeeafee Fixed #93 Build error with latest commit 2014-02-16 15:54:09 +08:00
Juan Linietsky
8c1731b679 -project settings are saved when changed
-load() was in the GDScript docs but missing in the scripting-different music for platformer 2D and 3D
-fix how documentation is generated, built in doc browser should be always up to date
-copypaste, scrolling, etc in  builtin doc
-built-in scripts get saved now (though debugger may not always work on them)
-Theme can be set to controls as a property
2014-02-15 21:16:33 -03:00
Juan Linietsky
9afdb3e0ad -fixed bug in Button now exporting font property
-made GUI Theme editor usable
-editor does not allow to export or create .pck in the same path as a project
-changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export.
-will not look for .pck files recursively, was causing unexpected behaviors
-fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux.
2014-02-15 02:02:41 -03:00
reduz
6a5980e16a Merge pull request #23 from thetron/master
Fixed typo in undefined main_scene alert
2014-02-14 03:26:59 -02:00
Juan Linietsky
b607687a31 Merge branch 'master' of https://github.com/okamstudio/godot 2014-02-13 18:06:53 -03:00
Juan Linietsky
58cda02a38 -fixed export templates not loading/exporting on Windows
-fixed TouchScreenButton with stretch2d
-fixed(?) OSX crash on startup (test!!)
-compilation fixes on windows
-CollisionPolygon editor works again
-find buttons en find dialog
-TileMap editor cleanup (removed "error", made nicer)
-viewport flicker fixed
-make .scn default extension for saving scenes
-export the rest of the network classes to gdscript
2014-02-13 18:03:28 -03:00
okamstudio
4ff524b5c9 Merge pull request #7 from fdb/font-import-typo
Fix typo in font import plugin.
2014-02-13 12:11:07 -02:00
bwzuk
5a65a6cb2b Removed unneeded c files from the freetype build rules, to prevent errors compiling under VC 2014-02-11 11:36:49 +00:00
Nicholas Bruning
91c0aa8340 Fixed typo in undefined main_scene alert 2014-02-11 14:40:30 +11:00
Frederik De Bleser
df43d71f19 Fix typo in font import plugin. 2014-02-10 09:14:06 +01:00
Juan Linietsky
0b806ee0fc GODOT IS OPEN SOURCE 2014-02-09 22:10:30 -03:00