[ Fixed ] Merge layer duplicates does not work

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Roy_043
Veteran
Posts: 8409
Joined: Thu Dec 27, 2018 12:28 pm

[ Fixed ] Merge layer duplicates does not work

Post by Roy_043 »

The "Merge layer duplicates" option available from the Tree view context menu for layer containers does not work.

The code looks a bit strange to me. AFAICT it should merge layers with the same "Base" label. F.e. "MyLayer001" should be merged with "MyLayer".

I imagine that this tool will primarily be used after using Std_MergeProjects. But when you merge projects you also end up with two layer containers. Which this tool does not seem to handle.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of FreeCAD: 64-bit
Version: 0.20.25220 (Git)
Build type: Release
Branch: master
Hash: 46282db7c8c65d1205a4cd03499d4beadb1573c6
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Dutch/Netherlands (nl_NL)
Last edited by Roy_043 on Wed Nov 24, 2021 5:08 pm, edited 1 time in total.
User avatar
Roy_043
Veteran
Posts: 8409
Joined: Thu Dec 27, 2018 12:28 pm

Re: [ Bug ] Merge layer duplicates does not work

Post by Roy_043 »

User avatar
Roy_043
Veteran
Posts: 8409
Joined: Thu Dec 27, 2018 12:28 pm

Re: [ Bug ] Merge layer duplicates does not work

Post by Roy_043 »

Merged.
Post Reply