wmayer
8088aa159f
CMake 2.8.12 and lower allowed the SOURCE signature in add_custom_command
...
In CMake 3.0 the policy CMP0050 was introduced where it could be set to OLD to keep this behaviour while for NEW an error was raised.
Since CMake 3.5.2 a warning comes up when using the OLD behaviour and that it will be removed in a future version.
In FreeCAD we switched to the new behaviour now and removed the SOURCE signature from add_custom_command which affects the macros
fc_copy_sources, fc_target_copy_resource and fc_target_copy_resource_flat and their usage.
It's not possible any more to add files to a target by using the macros. Now a file must be added to the target before using the macros.
This commit fixes it for Arch, Draft, OpenSCAD, Material, Plot and Ship
2018-08-20 11:47:39 +02:00
wmayer
52a5c4aafd
add Mesh_Data target to handle scripts files
2018-08-19 22:56:12 +02:00
wmayer
ad22eb317e
clean up cmake macros add new macro fc_target_copy_resource_flat
2018-08-19 22:54:33 +02:00
wmayer
6e697ddebf
Gui: Better visualization of the Active Object
2018-08-19 18:14:06 +02:00
paullee
3d05a97e90
Fix StraightLanding connecting bit; other TreadDepth RiserHeight issues etc.
...
Discussion:
(Somewhere here)
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=3d9ba22b6aa2556f61c4ddb035a6163d&start=60#p244648
2018-08-19 11:15:58 -03:00
paullee
8e6d5060f4
'Centralise' all cases use MakeStraightStairsWithLanding method; further fix TreadDepth and RiserHeight Enforce
...
Discussion:-
(Somewhere here)
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=3d9ba22b6aa2556f61c4ddb035a6163d&start=60#p244502
2018-08-19 11:15:58 -03:00
paullee
df6a4b6939
Add TreadDepth & RiserHeight Enforce properties; Fix MakeStair, MakeStraightLanding functions; Test Right Railing
...
Discussion:
(Somewhere here)
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&sid=3d9ba22b6aa2556f61c4ddb035a6163d&start=60#p244502
2018-08-19 11:15:58 -03:00
paullee
89751fa07e
Fix MakeStairs, _CommandStairs functions; Testing Railing (One side only)
...
Discussion:
https://forum.freecadweb.org/viewtopic.php?f=23&t=29358&start=50#p244345
2018-08-19 11:15:58 -03:00
wmayer
5a380af1d7
remove ambiguous function setTolerance, use Tolerance attribute instead
2018-08-19 14:31:04 +02:00
wmayer
5012668a40
move cmake policy CMP0050 to new style
2018-08-19 13:59:42 +02:00
wmayer
dff2d6074f
fix broken generate_from_xml macro
2018-08-19 13:34:05 +02:00
wmayer
1cd894bacc
fix -Wcast-function-type
2018-08-19 13:11:08 +02:00
wmayer
1c7a41af58
fix -Wignored-qualifiers
2018-08-19 12:38:57 +02:00
wmayer
c3f945a287
fix -Wimplicit-fallthrough
2018-08-19 12:35:57 +02:00
wmayer
cd02aac795
fix -Wparentheses
2018-08-19 12:28:05 +02:00
looooo
1b3e23d768
Py3: PartDesign: relative imports
2018-08-19 10:59:11 +02:00
wmayer
f8fe9d4453
MSVC does not support keyword 'or'
2018-08-19 10:56:00 +02:00
wandererfan
be74c4e310
Remove const qualifier for Travis OCE version
2018-08-19 10:47:08 +02:00
wandererfan
40532fb75c
Coverity Fixes
...
- 183599
- 183595
- 183594
- 175821
- 175820
- 175817
- 175816
- 175815
- 175814
- 175813
- 175812
- 175811
- 175806
- 175805
- 175804
- 175802
2018-08-19 10:47:08 +02:00
wandererfan
c06a918d2e
Add option for Dxf Version and forced Polyline
...
- allows override of user parameter values.
2018-08-19 10:47:08 +02:00
wmayer
3c2f7833d4
fix warning C4244: conversion from 'const double' to 'float', possible loss of data
2018-08-19 10:43:25 +02:00
wmayer
3ea8ae06ff
generic wrapper/unwrapper for PySide and PyQt classes
2018-08-18 22:12:00 +02:00
wandererfan
87bad86dd1
Coverity Fixes
...
- 175807
- 175808
- 183598
2018-08-18 21:59:06 +02:00
wandererfan
f93a1d7cbe
Fix Travis Compile Warnings
2018-08-18 21:59:05 +02:00
wandererfan
38759a5b1b
Fix propagation of Source property to children
2018-08-18 21:59:05 +02:00
Markus Lampert
cb90ce96de
Turn off Operations visibility by default
2018-08-18 21:55:26 +02:00
Markus Lampert
e0cae49c49
Add UseOutline property to PocketShape in order to mill full pockets and not have to add all sub-shapes.
2018-08-18 21:55:26 +02:00
luz.paz
9c2e9884e2
More typos
2018-08-18 21:48:43 +02:00
luz.paz
60bd74aaad
Trailing whitespace fixes
2018-08-18 21:48:42 +02:00
luz.paz
fab9cad50f
Misc. typos
...
Found via `codespell`
Trivial typos
Found via `codespell`
2018-08-18 21:48:42 +02:00
wmayer
a6341b3f27
revert changes of SMESH_Gen class interface of bundled SMESH
2018-08-18 16:13:10 +02:00
wmayer
721e37d888
fix several reference counting bugs
2018-08-18 16:01:55 +02:00
wmayer
74ac2e76f1
clear selection node when destroying viewer
2018-08-18 11:32:32 +02:00
wmayer
e35f04b4d6
disable FREECAD_USE_EXTERNAL_KDL due to incompatibilities with bundled version
2018-08-17 21:59:51 +02:00
paullee
b848a6a2e2
Various general bugs fixes and _CommandStairs related
2018-08-17 10:35:46 -03:00
paullee
4a1cbebf52
Add HalfTurnRight 'basic' feature, Master Stairs to accommodate differnt flight of stairs
2018-08-17 10:35:46 -03:00
wmayer
05089339cd
fix -Wabsolute-value
2018-08-17 09:47:38 +02:00
wmayer
6ea3ad3ed9
do not show dialog of progress indicator for OCCT < 6.9.0
2018-08-17 08:10:16 +02:00
wmayer
ab64ed068a
nullify path on destruction and check if adding new trajectories
2018-08-16 16:04:24 +02:00
wmayer
6e6ee94c9b
use consistently cc_glglue functions in OpenGLBuffer class
2018-08-16 13:38:46 +02:00
wmayer
584ad02f16
fix build failure if pch is on
2018-08-16 01:50:54 +02:00
wmayer
266f82bca4
move OpenGLBuffer class to core system
2018-08-16 01:30:23 +02:00
wmayer
59b8f21585
simplifiy code in SoFCIndexedFaceSet::GLRender, fix bug in wireframe mode when panning/rotating
2018-08-15 22:24:24 +02:00
paullee
35fedc0be3
Add basic MultiEdgesLanding method
2018-08-15 10:46:43 -03:00
paullee
cae9a831e3
Add AbsTop Property - Absolute Top Level of a segment/flight of stairs; To enable 'multi-segment' stairs.
2018-08-15 10:46:43 -03:00
paullee
825f0176b3
Add LastSegment Property - to enable 'multi-segment' / 'multi-flight' stairs; and fix some LandingDepth related bug.
2018-08-15 10:46:43 -03:00
Bernd Hahnebach
c74f47fc3e
FEM: post warp filter, try to better handle ui min max values, but no success
2018-08-15 09:18:59 +02:00
Bernd Hahnebach
73ff7f7ec9
FEM: post warp filter, add some comments and make code better readable, no real changes
2018-08-15 09:18:59 +02:00
Bernd Hahnebach
840b454cbc
FEM: post warp filter, small ui layout improvements
2018-08-15 09:18:58 +02:00
Bernd Hahnebach
94f9e91ab1
FEM: post warp filter, better values for ui spinbox values
2018-08-15 09:18:58 +02:00