CCollisionEditor: Remove redundant reallocation
This commit is contained in:
parent
720b59919a
commit
6bc9c7fdb1
|
@ -10,7 +10,6 @@ CCollisionEditor::CCollisionEditor(CCollisionMeshGroup* pCollisionMesh, QWidget*
|
||||||
: IEditor(pParent)
|
: IEditor(pParent)
|
||||||
, mpUI(std::make_unique<Ui::CCollisionEditor>())
|
, mpUI(std::make_unique<Ui::CCollisionEditor>())
|
||||||
{
|
{
|
||||||
mpUI = std::make_unique<Ui::CCollisionEditor>();
|
|
||||||
mpUI->setupUi(this);
|
mpUI->setupUi(this);
|
||||||
|
|
||||||
mpCollisionMesh = pCollisionMesh;
|
mpCollisionMesh = pCollisionMesh;
|
||||||
|
|
Loading…
Reference in New Issue