Commit Graph

13663 Commits

Author SHA1 Message Date
wmayer
1c656b1cb7 CMP0050: make Web module aware of cmake policy 2018-08-20 13:51:40 +02:00
wmayer
16295d4121 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
bff245daef add Mesh_Data target to handle scripts files 2018-08-19 22:56:12 +02:00
wmayer
a1b0c2ff32 Gui: Better visualization of the Active Object 2018-08-19 18:14:06 +02:00
paullee
55fb508346 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
0c918ba5d0 '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
773ca081f1 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
dc4628767c 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
07eea2e3a6 remove ambiguous function setTolerance, use Tolerance attribute instead 2018-08-19 14:31:04 +02:00
wmayer
3ffd435526 move cmake policy CMP0050 to new style 2018-08-19 13:59:42 +02:00
wmayer
68f6c82eb1 fix -Wcast-function-type 2018-08-19 13:11:08 +02:00
wmayer
557fee3dc6 fix -Wignored-qualifiers 2018-08-19 12:38:57 +02:00
wmayer
4686f27f64 fix -Wimplicit-fallthrough 2018-08-19 12:35:57 +02:00
wmayer
0bc5699b59 fix -Wparentheses 2018-08-19 12:28:05 +02:00
looooo
fa99f792e3 Py3: PartDesign: relative imports 2018-08-19 10:59:11 +02:00
wmayer
03a28be4ca MSVC does not support keyword 'or' 2018-08-19 10:56:00 +02:00
wandererfan
f82012b68a Remove const qualifier for Travis OCE version 2018-08-19 10:47:08 +02:00
wandererfan
baa960e1de 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
0865468918 Add option for Dxf Version and forced Polyline
- allows override of user parameter values.
2018-08-19 10:47:08 +02:00
wmayer
e757e4f7e7 fix warning C4244: conversion from 'const double' to 'float', possible loss of data 2018-08-19 10:43:25 +02:00
wmayer
e701f75c25 generic wrapper/unwrapper for PySide and PyQt classes 2018-08-18 22:12:00 +02:00
wandererfan
de66ab3d1a Coverity Fixes
- 175807
- 175808
- 183598
2018-08-18 21:59:06 +02:00
wandererfan
368ba7a37e Fix Travis Compile Warnings 2018-08-18 21:59:05 +02:00
wandererfan
0432ecdb88 Fix propagation of Source property to children 2018-08-18 21:59:05 +02:00
Markus Lampert
1b1eaa5def Turn off Operations visibility by default 2018-08-18 21:55:26 +02:00
Markus Lampert
04807fddd7 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
321b159f27 More typos 2018-08-18 21:48:43 +02:00
luz.paz
a981753d2c Trailing whitespace fixes 2018-08-18 21:48:42 +02:00
luz.paz
781d007321 Misc. typos
Found via `codespell`
Trivial typos

Found via `codespell`
2018-08-18 21:48:42 +02:00
wmayer
e31cac568e revert changes of SMESH_Gen class interface of bundled SMESH 2018-08-18 16:13:10 +02:00
wmayer
3c999f563e fix several reference counting bugs 2018-08-18 16:01:55 +02:00
wmayer
271cdcb19e clear selection node when destroying viewer 2018-08-18 11:32:32 +02:00
wmayer
9f9886691b disable FREECAD_USE_EXTERNAL_KDL due to incompatibilities with bundled version 2018-08-17 21:59:51 +02:00
paullee
2221820d79 Various general bugs fixes and _CommandStairs related 2018-08-17 10:35:46 -03:00
paullee
28e8d5e822 Add HalfTurnRight 'basic' feature, Master Stairs to accommodate differnt flight of stairs 2018-08-17 10:35:46 -03:00
wmayer
171e652047 fix -Wabsolute-value 2018-08-17 09:47:38 +02:00
wmayer
b04ea27042 do not show dialog of progress indicator for OCCT < 6.9.0 2018-08-17 08:10:16 +02:00
wmayer
5ee9e11931 nullify path on destruction and check if adding new trajectories 2018-08-16 16:04:24 +02:00
wmayer
4d9ee645ce use consistently cc_glglue functions in OpenGLBuffer class 2018-08-16 13:38:46 +02:00
wmayer
c842f0b8b5 fix build failure if pch is on 2018-08-16 01:50:54 +02:00
wmayer
a5515527e9 move OpenGLBuffer class to core system 2018-08-16 01:30:23 +02:00
wmayer
5039e4b0a7 simplifiy code in SoFCIndexedFaceSet::GLRender, fix bug in wireframe mode when panning/rotating 2018-08-15 22:24:24 +02:00
paullee
4f3d0149f1 Add basic MultiEdgesLanding method 2018-08-15 10:46:43 -03:00
paullee
69fec24cbb 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
adb44fee55 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
e76488eb10 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
88b605774d 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
5d2d33b983 FEM: post warp filter, small ui layout improvements 2018-08-15 09:18:58 +02:00
Bernd Hahnebach
2772d1faa8 FEM: post warp filter, better values for ui spinbox values 2018-08-15 09:18:58 +02:00
wmayer
e290de07a9 BOPAlgo supports progress indicator since version 6.9.0 2018-08-15 09:09:44 +02:00