FreeCAD/FreeCAD

Draft: AddToGroup offers the selected group to add to itself

Open

#28,476 建立於 2026年3月20日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)C++ (30,913 star) (5,550 fork)batch import
Good first issueMod: DraftType: Feature

描述

Problem description

Draft_AddToGroup offers the selected group to add to itself. The same happens with Draft_AddToLayer tool and a layer object.

I am able to reproduce in FC 1.0.2

Workbench affected?

Draft

Steps to reproduce

  • open new file
  • create Std_Group
  • select the group and run Draft_AddToGroup

Expected behavior

The group itself should not be offered in the list.

Actual behavior

The group itself is offered as one of the groups that it can be added to.

Development version About Info (in Safe Mode)

OS: Debian GNU/Linux 13 (trixie) (GNOME/gnome-xorg/xcb)
Architecture: x86_64
Version: 1.2.0dev.20260311 (Git shallow) AppImage
Build date: 2026/03/11 07:18:44
Build type: Release
Branch: (HEAD detached at 03fc08d02)
Hash: 03fc08d02ebbafa0dc7268d8a7f89e17d3b4db87
Python 3.11.14, Qt 6.8.3, Coin 4.0.3, Vtk 9.3.1, boost 1_86, Eigen3 3.4.0, PySide 6.8.3
shiboken 6.8.3, xerces-c 3.3.0, IfcOpenShell 0.8.2, OCC 7.8.1
Locale: English/Ireland (en_IE)
Navigation Style/Orbit Style/Rotation Mode: Revit/Turntable/Window center
Stylesheet/Theme/QtStyle: FreeCAD.qss/FreeCAD Light/
Logical DPI/Physical DPI/Pixel Ratio: 96/158.196/1

Last known good version (optional)

貢獻者指南