Age | Commit message (Collapse) | Author |
|
Open internal visual script editor while use external editor is on
|
|
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.
|
|
|
|
|
|
Open all files in script editor
|
|
|
|
|
|
|
|
|
|
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
|
|
|
|
Fixes #20119 where newly installed templates were not detected.
Also fix a bug with preset deletion where it would attempt to
edit an already removed preset. For this I made it so that
ItemList::deselect_all() also resets `current` to -1, as a manual
ItemList::deselect(idx) already does.
|
|
Add audio preview to Inspector dock
|
|
regression from d65ac7378c77648124e0e8acd09cea8fd0d104cd
|
|
|
|
|
|
|
|
|
|
Expose ScriptCreateDialog to EditorPlugin
|
|
|
|
Add a message when there is nothing to Undo or Redo
|
|
-Fix on scene importer, keeping changes to animation tracks was not working
|
|
This reverts commits 28ab60422d648d43d219186ea0ecffce1645188f
and 7821b70a00768cb99c0b48450eabe5a687ae276c.
Fixes #19576, and likely the fact that subresources are no
longer saved when saving scenes with no change.
|
|
-Add RootMotionView, to debug root motion in 3D (disabled in runtime)
|
|
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.
|
|
|
|
|
|
with delete key
|
|
|
|
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
Add EditorPlugin.build() build callbacks
|
|
Adding font preview to file browsers
|
|
|
|
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
|
|
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
|
|
|
|
|
|
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
|
|
Added EditorPlugin 'resource_saved' signal
|
|
Implement universal translation of touch to mouse (3.1)
|
|
Fix Coverity reports of uninitialized scalar variable
|
|
This reverts commit 00c689d625d0243577c225612aa86aa6a85274c4.
Reason: "Missing template" is just one possible explanation for
`err` being != OK here, it does not make sense to hardcode it in
the generic error message (and break translations doing so).
|
|
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*)
The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers.
Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse.
*: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest.
On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction.
Plus: Improve/fix tracking of current mouse position.
** Summary of changes to settings: **
- `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse`
- New setting: `input/pointing_devices/emulate_mouse_from_touch`
|
|
Added a more specific error message on export
|
|
Make 'Export PCK/ZIP' work well with EditorExportPlugin
|