Commit Graph

18776 Commits

Author SHA1 Message Date
wmayer
5cbf18b8bf for point clouds set default selection style to bounding box 2019-11-23 15:46:27 +01:00
wmayer
9e93e621f9 command to create a structured points object from a unstructured points object 2019-11-22 19:48:46 +01:00
wmayer
29cd905134 when using pcl do not allow it to override compiler flags 2019-11-22 14:46:01 +01:00
asapelkin
8bc5b585c8 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
asapelkin
e9814d9183 used in-built methods instead of external algoritms 2019-11-21 18:57:06 +01:00
asapelkin
f13a7627ae used make_shared and make_unique for creating shared pointers 2019-11-21 18:51:43 +01:00
asapelkin
bbbabf99ae removed useless std::move on const and unmovable objects 2019-11-21 17:49:57 +01:00
vocx-fc
5ee4a2e87c Draft: PySide should be available already 2019-11-21 16:35:29 +01:00
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
Zheng, Lei
079808b816 Mesh: support multiple context in OpenGLMultiBuffer 2019-11-21 14:24:55 +01:00
Zheng, Lei
9ca9b6f3e5 Gui: fix SoFCSelection rendering when no shading 2019-11-21 12:18:36 +01:00
Zheng, Lei
4b07117a2e Mesh: fix material leaking when using VBO 2019-11-21 12:06:23 +01:00
Zheng, Lei
df0366a6f3 Part: reduce memory usage in SoBrepFaceSet
Can we further reduce it to num_triangles = num_indices/4*3?
2019-11-21 11:58:44 +01:00
Zheng, Lei
95f20b9d85 MeshPart: support link in Tessellation 2019-11-21 11:30:02 +01:00
Zheng, Lei
9ee436f27f Gui: fix ViewProviderLink::getElementPicked() when linked to group 2019-11-21 10:42:43 +01:00
wmayer
1ec6701519 handle nested name spaces in Python generation script 2019-11-20 22:57:58 +01:00
wmayer
ef73ab5f3a [skip ci] minor changes 2019-11-18 16:35:29 +01:00
wmayer
71dbf6eb76 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2019-11-18 13:45:44 +01:00
howetuft
fb64a860e6 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
donovaly
91dd12751a Win inssaller: cleanup and support for thumbnails
- remove unused file
- register DLL file to view thumbnails in Windows explorer (if the user has admin permissions)
- some code simplifications
2019-11-18 12:47:02 +01:00
howetuft
4b5ca31149 Fix -Wclass-memaccess warning
Replace C-style memset with C++ value-initialization/assignment (smarter and safer: see https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#slcon3-avoid-bounds-errors)
2019-11-18 12:32:27 +01:00
wmayer
71dae0e639 handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi 2019-11-18 11:56:08 +01:00
wmayer
a5019828cf [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-17 21:32:19 +01:00
wmayer
c0a80e1a9a set -Wpedantic for clang 2019-11-17 19:39:01 +01:00
wmayer
e117679922 [skip ci] suppress -Wgnu-zero-variadic-macro-arguments 2019-11-17 19:19:02 +01:00
wmayer
c0d58b8f3e [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-17 19:11:08 +01:00
Zheng, Lei
a3e88a399f Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
hlg
962904a96f [Arch] fix invalid IFC export for annotations
* as reported here https://forum.freecadweb.org/viewtopic.php?f=39&t=40466&p=345286
* wrap IfcAxis2Placement3D in IfcLocalPlacement
2019-11-17 13:01:49 -03:00
Markus Lampert
c43cca3254 Set QT settings before creating QCoreApplication. 2019-11-17 13:00:42 -03:00
vocx-fc
d506192b15 Arch: test for viewprovider before modifying rebar
Test for the existence of the ViewObject
before calculating interval and placement.

This allows running the TestArch from the command line
without error if there is no interface, that is,
```
freecadcmd -t TestArch
```
2019-11-17 12:57:41 -03:00
wmayer
5605defe66 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2019-11-17 15:14:43 +01:00
wmayer
c6a5bbcf9e [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-17 15:14:18 +01:00
wmayer
d4a1eb0cce [skip ci] improve documentation 2019-11-17 15:13:48 +01:00
donovaly
1a21e8d1ee simplify 2 tool names as suggested
- also correct encoding of a file
2019-11-17 08:22:09 -05:00
donovaly
15e5b29c22 TD renaming tools, part 2/2
as discussed in https://forum.freecadweb.org/viewtopic.php?p=344899#p344800
we need a more consistent naming for the Wiki
2019-11-17 08:22:09 -05:00
donovaly
914edfc2ce TD renaming tools
as discussed in https://forum.freecadweb.org/viewtopic.php?p=344899#p344800
we need a more consistent naming for the Wiki
2019-11-17 08:22:09 -05:00
wmayer
6a7ee4f0f7 add test command to demonstrate new template functions 2019-11-17 12:14:00 +01:00
wmayer
2bfffd202d add (variadic) templates to replace (non-strict ISO C++11 compliant) macros 2019-11-17 12:13:11 +01:00
wmayer
f65a72deb7 fix syntax error 2019-11-16 10:41:05 +01:00
wandererfan
fc7890cf10 [TD]fix Compound of Edges as Source for View 2019-11-15 20:20:30 -05:00
wmayer
e3530f9690 set platform-specific doCommand() to fix more -Wgnu-zero-variadic-macro-arguments 2019-11-16 00:54:52 +01:00
wmayer
7758509bda fix and suppress some more -Wgnu-zero-variadic-macro-arguments 2019-11-15 23:53:09 +01:00
Bernd Hahnebach
d0339c5674 Arch, export IFC, do not export attributes with no values 2019-11-15 16:18:55 +01:00
wmayer
2637280c1d restore old definition of doCommand macro due to msvc failure 2019-11-14 19:42:24 +01:00
wmayer
4291a087b8 [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-14 00:48:26 +01:00
sliptonic
25f34a0f94 Merge pull request #2709 from mlampert/bugfix/boundary-dressup-cleanup
Path: Fixed circular dependency for boundary dressup
2019-11-13 15:40:57 -06:00
wmayer
1e7628f436 convert enum to enum class to fix -Wgnu-redeclared-enum 2019-11-13 22:39:27 +01:00
wmayer
33b0b1351e [skip ci] suppress -Wgnu-zero-variadic-macro-arguments for some headers 2019-11-13 22:38:09 +01:00
mlampert
a288533a1b Merge branch 'master' into bugfix/boundary-dressup-cleanup 2019-11-13 08:47:38 -08:00
wmayer
d2032da93d Enhabce TypePy:
add convenience method getAllDerived()
support TypePy asrgument in getAllDerivedFrom() and isDerivedFrom()
return TypePy instead of str in getAllDerivedFrom()
2019-11-13 10:41:04 +01:00