Code cleanup branch (#618)

* Make height map fallback layer work again
  * Add documentation to joystick button bindings
  * Removed grouped property headers
  * Add new version number constant generated by CMake
  * Make Joystick deadzone work properly
  * Change the startup date on Earth to today
  * Fix key modifier handling
  * Add debugging indices for TreeNodeDebugging
  * Fix script schedule for OsirisRex
  * Do not open Mission schedule automatically
  * Upload default projection texture automatically

  * General code cleanup
  * Fix check_style_guide warnings
  * Remove .clang-format
  * MacOS compile fixes
  * Clang analyzer fixes
This commit is contained in:
Alexander Bock
2018-06-10 04:47:34 +00:00
committed by GitHub
parent 5de728442d
commit 4952f8f977
796 changed files with 22428 additions and 24063 deletions
+5 -4
View File
@@ -23,9 +23,9 @@
****************************************************************************************/
#include "include/webbrowserapp.h"
namespace openspace {
//#include <modules/webbrowser/include/webbrowserapp.h>
WebBrowserApp::WebBrowserApp() = default;
namespace openspace {
CefRefPtr<CefRenderProcessHandler> WebBrowserApp::GetRenderProcessHandler() {
return this;
@@ -33,11 +33,12 @@ CefRefPtr<CefRenderProcessHandler> WebBrowserApp::GetRenderProcessHandler() {
void WebBrowserApp::OnContextCreated(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame,
CefRefPtr<CefV8Context> context) {
CefRefPtr<CefV8Context> context)
{
CEF_REQUIRE_UI_THREAD();
CefRefPtr<CefV8Value> val = CefV8Value::CreateBool(true);
CefRefPtr<CefV8Value> global = context->GetGlobal();
global->SetValue("IsWithinCEF", val, V8_PROPERTY_ATTRIBUTE_NONE);
}
}
} // namespace openspace