Commit Graph

18 Commits

Author SHA1 Message Date
luz paz
85b3b3bbe6 Part: fix typos in source function names and variables
Found via `codespell`
2020-08-17 16:32:28 +02:00
MA-LAPTOP\apeltauer
b97587cab3 Improve the projection on surface algorithm. For now the first possible solution was taken. If several solution exists, this leads to a miss match.
Now check the distance of the projection shape and the original shape and the take the projection with the smallest distance.
Discussion can be found here: https://forum.freecadweb.org/viewtopic.php?f=8&t=49341&p=422925#p422925
2020-08-10 10:23:06 +02:00
wmayer
9b2a6edeb0 Coverity: Uncaught exception 2020-07-20 17:34:29 +02:00
wmayer
f82389d67e Coverity: Useless call 2020-07-20 17:34:28 +02:00
howetuft
f1e3b7a166 Fix -Wredundant-move warnings, 2nd try
std::move is redundant when it is used to return a local object from a function (eg return std::move(local)): indeed, returning a local object from a function implicitly moves it. Moreover using std::move this way
See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rf-return-move-local
However, in order to avoid -Wreturn-std-move as well, a Base object is move-constructed
from Derived when required.
2019-11-18 13:44:40 +01:00
wmayer
d05ae18340 fix -Wreturn-std-move 2019-09-07 15:19:28 +02:00
Abdullah Tahiri
7ea21c84c3 PCH: Part GUI 2019-05-03 23:15:25 +02:00
luz.paz
06d583b425 Misc typos and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*`
2019-03-31 11:42:36 +02:00
wmayer
218e174f24 fix handling of OCC exceptions, fix -Wunused-but-set-variable, fix -Wunused-parameter 2019-03-24 02:17:54 +01:00
wmayer
36849ffaf3 Improve project on surface dialog:
make function undo/redoable
work on document that was active when the dialog was opened
handle case when object or document is deleted while dialog is open
2019-03-22 17:18:12 +01:00
MA-DEVELOP\apeltauer
ef10c73782 transform sub shapes to global position 2019-03-22 17:18:12 +01:00
MA-DEVELOP\apeltauer
91e871d5cc improve creating the edges/wire in parametric space 2019-03-22 17:18:11 +01:00
MA-DEVELOP\apeltauer
4fcf8c1efb make a face copy 2019-03-22 17:18:11 +01:00
MA-DEVELOP\apeltauer
9e65f4c169 make a explicit copy 2019-03-22 17:18:11 +01:00
MA-DEVELOP\apeltauer
657656dee6 imrove the projection algorithm 2019-03-22 17:18:11 +01:00
apeltauer
f747d1cb46 Change the vector type to non const
I dont know why this fails on linux. On windows this works....
2019-03-22 17:18:10 +01:00
MA-DEVELOP\apeltauer
0efd3a8811 add new feature "Projection on surface" 2019-03-22 17:18:09 +01:00
MA-DEVELOP\apeltauer
f4971d723f first working ui 2019-03-22 17:18:09 +01:00