Merge pull request #1388 from bhangart/fix/part-rotation-init

Initialise the rotation of a new line and polygon in the element editor
This commit is contained in:
ispyisail
2026-10-08 13:45:25 +13:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -127,6 +127,6 @@ class PartLine : public CustomElementGraphicPart
int m_vector_index = -1;
QPropertyUndoCommand *m_undo_command;
QVector<QetGraphicsHandlerItem *> m_handler_vector;
qreal m_rot;
qreal m_rot = 0;
};
#endif
+1 -1
View File
@@ -119,6 +119,6 @@ class PartPolygon : public CustomElementGraphicPart
QAction *m_insert_point,
*m_remove_point;
QPointF m_context_menu_pos;
qreal m_rot;
qreal m_rot = 0;
};
#endif