Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–28 unchanged (28 lines)
29/**************************************************************************/
30
31#include "two_bone_ik_3d_gizmo_plugin.h"
32
33#include "editor/settings/editor_settings.h"
34
35TwoBoneIK3DGizmoPlugin::SelectionMaterials TwoBoneIK3DGizmoPlugin::selection_materials;
36
37TwoBoneIK3DGizmoPlugin::TwoBoneIK3DGizmoPlugin() {
38 selection_materials.unselected_mat.instantiate();
39 selection_materials.unselected_mat->set_shading_mode(StandardMaterial3D::SHADING_MODE_UNSHADED);
40 selection_materials.unselected_mat->set_transparency(StandardMaterial3D::TRANSPARENCY_ALPHA);
41 selection_materials.unselected_mat->set_flag(StandardMaterial3D::FLAG_ALBEDO_FROM_VERTEX_COLOR, true);
…lines 42–203 unchanged (162 lines)

After

…lines 1–27 unchanged (27 lines)
28/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
29/**************************************************************************/
30
31#include "two_bone_ik_3d_gizmo_plugin.h"
32
33#include "editor/settings/editor_settings.h"
34#include "scene/3d/two_bone_ik_3d.h"
35#include "scene/resources/surface_tool.h"
36
37TwoBoneIK3DGizmoPlugin::SelectionMaterials TwoBoneIK3DGizmoPlugin::selection_materials;
38
39TwoBoneIK3DGizmoPlugin::TwoBoneIK3DGizmoPlugin() {
40 selection_materials.unselected_mat.instantiate();
41 selection_materials.unselected_mat->set_shading_mode(StandardMaterial3D::SHADING_MODE_UNSHADED);
42 selection_materials.unselected_mat->set_transparency(StandardMaterial3D::TRANSPARENCY_ALPHA);
…lines 43–205 unchanged (163 lines)

Before

translation_unit
comment "/***********************************************************"...
comment "/* two_bone_ik_3d_gizmo_plugin.cpp "...
comment "/***********************************************************"...
comment "/* This file is part of: "...
comment "/* GODOT ENGINE "...
comment "/* https://godotengine.org "...
comment "/***********************************************************"...
comment "/* Copyright (c) 2014-present Godot Engine contributors (see"...
comment "/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. "...
comment "/* "...
comment "/* Permission is hereby granted, free of charge, to any pers"...
comment "/* a copy of this software and associated documentation file"...
comment "/* \"Software\"), to deal in the Software without restriction,"...
comment "/* without limitation the rights to use, copy, modify, merge"...
comment "/* distribute, sublicense, and/or sell copies of the Softwar"...
comment "/* permit persons to whom the Software is furnished to do so"...
comment "/* the following conditions: "...
comment "/* "...
comment "/* The above copyright notice and this permission notice sha"...
comment "/* included in all copies or substantial portions of the Sof"...
comment "/* "...
comment "/* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY"...
comment "/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR"...
comment "/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON"...
comment "/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIA"...
comment "/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION O"...
comment "/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION "...
comment "/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "...
comment "/***********************************************************"...
preproc_include
#include "#include"
string_literal
" "\""
string_content "two_bone_ik_3d_gizmo_plugin.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "editor/settings/editor_settings.h"
" "\""
declaration
qualified_identifier
namespace_identifier "TwoBoneIK3DGizmoPlugin"
:: "::"
type_identifier "SelectionMaterials"
qualified_identifier
namespace_identifier "TwoBoneIK3DGizmoPlugin"
:: "::"
identifier "selection_materials"
; ";"
function_definition (+179 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition
primitive_type "int"
function_declarator
qualified_identifier
namespace_identifier "TwoBoneIK3DGizmoPlugin"
:: "::"
identifier "get_priority"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
number_literal "-1"
; ";"
} "}"
function_definition (+211 nodes collapsed)
function_definition (+623 nodes collapsed)
function_definition (+92 nodes collapsed)
function_definition (+393 nodes collapsed)

After

translation_unit
comment "/***********************************************************"...
comment "/* two_bone_ik_3d_gizmo_plugin.cpp "...
comment "/***********************************************************"...
comment "/* This file is part of: "...
comment "/* GODOT ENGINE "...
comment "/* https://godotengine.org "...
comment "/***********************************************************"...
comment "/* Copyright (c) 2014-present Godot Engine contributors (see"...
comment "/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. "...
comment "/* "...
comment "/* Permission is hereby granted, free of charge, to any pers"...
comment "/* a copy of this software and associated documentation file"...
comment "/* \"Software\"), to deal in the Software without restriction,"...
comment "/* without limitation the rights to use, copy, modify, merge"...
comment "/* distribute, sublicense, and/or sell copies of the Softwar"...
comment "/* permit persons to whom the Software is furnished to do so"...
comment "/* the following conditions: "...
comment "/* "...
comment "/* The above copyright notice and this permission notice sha"...
comment "/* included in all copies or substantial portions of the Sof"...
comment "/* "...
comment "/* THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY"...
comment "/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR"...
comment "/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON"...
comment "/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIA"...
comment "/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION O"...
comment "/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION "...
comment "/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "...
comment "/***********************************************************"...
preproc_include
#include "#include"
string_literal
" "\""
string_content "two_bone_ik_3d_gizmo_plugin.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "editor/settings/editor_settings.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "scene/3d/two_bone_ik_3d.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "scene/resources/surface_tool.h"
" "\""
declaration
qualified_identifier
namespace_identifier "TwoBoneIK3DGizmoPlugin"
:: "::"
type_identifier "SelectionMaterials"
qualified_identifier
namespace_identifier "TwoBoneIK3DGizmoPlugin"
:: "::"
identifier "selection_materials"
; ";"
function_definition (+179 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition
primitive_type "int"
function_declarator
qualified_identifier
namespace_identifier "TwoBoneIK3DGizmoPlugin"
:: "::"
identifier "get_priority"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
number_literal "-1"
; ";"
} "}"
function_definition (+211 nodes collapsed)
function_definition (+623 nodes collapsed)
function_definition (+92 nodes collapsed)
function_definition (+393 nodes collapsed)