Skip to content

Commit

Permalink
#5746: Rename textool::NodeBase to textool::Node
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Sep 26, 2021
1 parent 3989eb7 commit e1f9877
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions radiantcore/selection/textool/FaceNode.h
@@ -1,7 +1,7 @@
#pragma once

#include "math/AABB.h"
#include "NodeBase.h"
#include "Node.h"

class Matrix3;
class IFace;
Expand All @@ -13,7 +13,7 @@ namespace textool
* Represents a single face in the Texture Tool scene.
*/
class FaceNode final :
public NodeBase,
public Node,
public IFaceNode
{
private:
Expand Down
Expand Up @@ -10,10 +10,9 @@
namespace textool
{

class NodeBase :
class Node :
public virtual INode,
public virtual IComponentSelectable,
public std::enable_shared_from_this<NodeBase>
public virtual IComponentSelectable
{
private:
selection::ObservedSelectable _selectable;
Expand All @@ -22,8 +21,8 @@ class NodeBase :
std::vector<SelectableVertex> _vertices;

public:
NodeBase() :
_selectable(sigc::mem_fun(*this, &NodeBase::onSelectionStatusChanged))
Node() :
_selectable(sigc::mem_fun(*this, &Node::onSelectionStatusChanged))
{}

virtual void setSelected(bool select) override
Expand Down
4 changes: 2 additions & 2 deletions radiantcore/selection/textool/PatchNode.h
Expand Up @@ -2,15 +2,15 @@

#include <functional>
#include "math/AABB.h"
#include "NodeBase.h"
#include "Node.h"

class IPatch;

namespace textool
{

class PatchNode :
public NodeBase,
public Node,
public IPatchNode
{
private:
Expand Down
2 changes: 1 addition & 1 deletion tools/msvc/DarkRadiantCore.vcxproj
Expand Up @@ -1031,7 +1031,7 @@
<ClInclude Include="..\..\radiantcore\selection\shaderclipboard\ShaderClipboard.h" />
<ClInclude Include="..\..\radiantcore\selection\shaderclipboard\Texturable.h" />
<ClInclude Include="..\..\radiantcore\selection\textool\FaceNode.h" />
<ClInclude Include="..\..\radiantcore\selection\textool\NodeBase.h" />
<ClInclude Include="..\..\radiantcore\selection\textool\Node.h" />
<ClInclude Include="..\..\radiantcore\selection\textool\PatchNode.h" />
<ClInclude Include="..\..\radiantcore\selection\textool\SelectableVertex.h" />
<ClInclude Include="..\..\radiantcore\selection\textool\TextureToolDragManipulator.h" />
Expand Down
2 changes: 1 addition & 1 deletion tools/msvc/DarkRadiantCore.vcxproj.filters
Expand Up @@ -2223,7 +2223,7 @@
<ClInclude Include="..\..\radiantcore\selection\textool\FaceNode.h">
<Filter>src\selection\textool</Filter>
</ClInclude>
<ClInclude Include="..\..\radiantcore\selection\textool\NodeBase.h">
<ClInclude Include="..\..\radiantcore\selection\textool\Node.h">
<Filter>src\selection\textool</Filter>
</ClInclude>
<ClInclude Include="..\..\radiantcore\selection\textool\PatchNode.h">
Expand Down

0 comments on commit e1f9877

Please sign in to comment.