Skip to content

Commit 8ad28b2

Browse files
committed
Revert "Suppress QtTopologySplitFacePanel and add _projectVerticesCheckBox in QtTopologySplitFacesPanel"
This reverts commit 769e28d.
1 parent ab72687 commit 8ad28b2

File tree

5 files changed

+814
-37
lines changed

5 files changed

+814
-37
lines changed

src/QtComponents/QtMgx3DMainWindow.cpp

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
#include "QtComponents/QtTopologySplitBlockWithOGridAction.h"
8787
#include "QtComponents/QtTopologyExtendSplitBlockAction.h"
8888
#include "QtComponents/QtTopologyExtendSplitFaceAction.h"
89+
#include "QtComponents/QtTopologySplitFaceAction.h"
8990
#include "QtComponents/QtTopologySplitFacesAction.h"
9091
#include "QtComponents/QtTopologyVerticesAlignmentAction.h"
9192
#include "QtComponents/QtTopoEntityDestructionAction.h"
@@ -3081,11 +3082,18 @@ void QtMgx3DMainWindow::showReady ( )
30813082
// Coupe de faces :
30823083
QtMgx3DOperationAction *splitFacesAction =
30833084
new QtTopologySplitFacesAction(
3084-
QIcon(":/images/topo_split_faces.png"), QString::fromUtf8("Découpage de faces selon une arête"), *this,
3085-
QString::fromUtf8("Découpage de faces selon une arête.")
3085+
QIcon(":/images/topo_split_faces.png"), QString::fromUtf8("[2D] Découpage de faces selon une arête"), *this,
3086+
QString::fromUtf8("Découpage de faces selon une arête (uniquement pour cas 2D).")
30863087
);
30873088
registerOperationAction(
30883089
*splitFacesAction, QtMgx3DOperationsPanel::TOPO_FACE_OPERATION);
3090+
QtMgx3DOperationAction *splitFaceAction =
3091+
new QtTopologySplitFaceAction(
3092+
QIcon(":/images/topo_split_face.png"), QString::fromUtf8("Découpage d'une face selon une arête"), *this,
3093+
QString::fromUtf8("Découpage d'une face selon une arête.")
3094+
);
3095+
registerOperationAction(
3096+
*splitFaceAction, QtMgx3DOperationsPanel::TOPO_FACE_OPERATION);
30893097
QtMgx3DOperationAction *splitFaceWithOGridAction =
30903098
new QtTopologySplitFaceWithOGridAction(
30913099
QIcon(":/images/topo_split_face_with_ogrid.png"),

0 commit comments

Comments
 (0)