diff options
author | Erik <35656626+SeleckyErik@users.noreply.github.com> | 2019-04-06 22:55:01 +0200 |
---|---|---|
committer | SeleckyErik <35656626+SeleckyErik@users.noreply.github.com> | 2019-10-23 02:51:32 +0100 |
commit | 8b0546d93b7487476e8ec290399d95fd172d9f50 (patch) | |
tree | adbe77833e84bc2a90c095c26686ce40a907e221 /scene/SCsub | |
parent | 72dfa67dd3508f20592959d306e8f2ef159eea5f (diff) |
Implement game camera override
Implemented uniform API in Viewport class to override 2D and/or
3D camera.
Added buttons in 2D and 3D editor viewport toolbars that override
the running game camera transform with the editor viewport camera
transform. Implemented via remote debugger protocol and camera
override API.
Removed LiveEditFuncs function pointers from ScriptDebugger class.
Since the debugger got access to the SceneTree instance (if one
exists), there is no need to store the function pointers. The live
edit functions in SceneTree are used directly instead. Also removed
the static version of live edit functions in SceneTree for the same
reason. This reduced the SceneTree -> Debugger coupling too since
the function pointers don't need to be set from SceneTree anymore.
Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'.
This is because the remote debugger is now using SceneTree directly
and 'core/' classes should not depend on 'scene/' classes.
Diffstat (limited to 'scene/SCsub')
-rw-r--r-- | scene/SCsub | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/SCsub b/scene/SCsub index d8839ce3a8..1c5b87b87a 100644 --- a/scene/SCsub +++ b/scene/SCsub @@ -30,6 +30,7 @@ SConscript('2d/SCsub') SConscript('animation/SCsub') SConscript('audio/SCsub') SConscript('resources/SCsub') +SConscript('debugger/SCsub') # Build it all as a library |