mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 05:27:41 +00:00
CTranslateNodeCommand: Make use of in-class initializers where applicable
This commit is contained in:
@@ -3,16 +3,13 @@
|
||||
#include "Editor/INodeEditor.h"
|
||||
|
||||
CTranslateNodeCommand::CTranslateNodeCommand()
|
||||
: IUndoCommand("Translate"),
|
||||
mpEditor(nullptr),
|
||||
mCommandEnded(false)
|
||||
: IUndoCommand("Translate")
|
||||
{
|
||||
}
|
||||
|
||||
CTranslateNodeCommand::CTranslateNodeCommand(INodeEditor *pEditor, const QList<CSceneNode*>& rkNodes, const CVector3f& Delta, ETransformSpace TransformSpace)
|
||||
: IUndoCommand("Translate"),
|
||||
mpEditor(pEditor),
|
||||
mCommandEnded(false)
|
||||
mpEditor(pEditor)
|
||||
{
|
||||
mNodeList.reserve(rkNodes.size());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user