Commit Graph

196 Commits

Author SHA1 Message Date
reduz
a5af2971bb Merge pull request #504 from marynate/PR-pm-filter
Add project list filter for easy finding projects
2014-07-02 10:55:15 -03:00
marynate
0eed04904c Forgot to add SceneTreeDock::set_selected change in last PR 2014-07-02 15:34:46 +08:00
marynate
87d27bb997 Fixed when opening sub-scene by pressing sub-scene icon in scene tree, tab changed to script tab 2014-06-30 23:01:23 +08:00
marynate
002db0b125 Fix ERROR: FileAccessWindows::_get_modified_time: Method/Function Failed on windows due to accessing modifiled time of internal resource when editor gaining focus 2014-06-30 13:28:16 +08:00
Juan Linietsky
01632a824e Bug Fixes
-=-=-=-=-

-Documentation now shows overridable theme values (though this needs to be documented).
-Detect when object transform is flipped and flip normals too.
-TileMap can specify bounce and friction for collision.
-Removed limit of 4 lights per object
-Added is_hovered() to buttons.
2014-06-29 22:41:02 -03:00
reduz
ae5b064427 Merge pull request #542 from marynate/PR-fix-resource-name-update
Fixed resource name not updated when saved in resurce dock
2014-06-29 19:07:33 -03:00
reduz
4dc7b0f3b8 Merge pull request #546 from marynate/PR-fix-pin-project-segfault
Fix #526 segfault when pinning projects
2014-06-29 19:04:46 -03:00
Juan Linietsky
8ffc113b70 Missing name on collada-imported materials 2014-06-28 09:50:20 -03:00
Juan Linietsky
2af2a84a03 Misc Fixes
==========

-NOTIFICATION_WM_QUIT fixed on android (seems tha way this is reported changed in newer sdk)
-WIP implementation of APK Expansion APIs for publishing games larger than 50mb in Play Store
-Feaures in the new tutorials are all present in the sourcecode
-This (hopefully) should get rid of the animation list order getting corrupted
-Improved 3D Scene Importer (Skeletons, Animations and other stuff were not being merged). Anything missing?
-In code editor, the automatic syntax checker will only use file_exists() to check preload() else it might freeze the editor too much while typing if the preload is a big resource
-Fixed bugs in PolygonPathFinder, stil pending to do a node and a demo
2014-06-27 23:21:45 -03:00
marynate
de7811ab42 Fix pinning project segfault 2014-06-25 12:01:56 +08:00
marynate
4a59f683d3 Fix bug help history overwrote by tree item selected call back 2014-06-23 23:44:36 +08:00
marynate
ee131f9f05 Fixed resource name not updated when saved in resurce dock 2014-06-23 01:54:21 +08:00
Juan Linietsky
e086bccd63 Import 3D Scene Improvements
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-If re-importing from the "dependency changed" dialog, edited scene will keep the local changes.
-Imported scene will keep track of changes in the source asset
-Geometry changes in source geometry or nodes with a different transform will be updated.
-Materials will be kept if changed locally.
-New nodes added will be kept
-If nodes were reparented or renamed, they will still keep track
-Deleted notes will be restored, use the -noimp option to avoid this.
-In general, you can trust that if you do local modifications to the imported scene, they will not be erased after re-import.
-Erasing your changes is done by re-importing from the "Re-Import" menu, re-opening the "Import 3D Scene" dialog. This wil re-import fresh.

Overall, This should allow you to work on a scene and see changes made to 3D assets in real-time.

So Please test!!
2014-06-19 02:23:03 -03:00
Juan Linietsky
ddc0e7fd3b FineTune HDR and Other Stuff
-=-=-=-=-=-=-=-=-=-=-=-=-=-

-More parameters to ESM shadows
-LightMap Octree now can bake to "hdr" (use HDR8 for now)
-New resource PolygonPathFinder, polygon based pathfinder using A-star algorithm. (will add nodes to use it more easily soon)
2014-06-17 11:58:35 -03:00
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