Commit Graph

19123 Commits

Author SHA1 Message Date
Zheng, Lei
ca48c25ea0 Gui: fix ViewProviderDocumentObject display mode restore
C++ view provider will get the call of attach() before restoring
properties. However, python view object will delay the call until Proxy
is restored.

The reason why this problem did not show up eariler is because
ViewProviderPythonFeature::getDefaultDisplayMode() did not fallback to
its parent implementation if there is no Python override. This can be
considered as a bug, which is fixed during the merge. And the display
mode restore problem is the side effect of the fix.
2019-12-31 15:04:19 +01:00
WandererFan
864fa1dc55 [TD]support Pyramid in Balloon 2019-12-31 08:11:40 -05:00
WandererFan
98ed976e24 [TD]support pyramid arrow in leader 2019-12-31 08:11:40 -05:00
WandererFan
911ab15224 [TD]add arrow style - Pyramid
- contributed by @lidiriel
2019-12-31 08:11:40 -05:00
wandererfan
6886621008 [TD]fix potential nullptr while restoring 2019-12-30 18:20:48 -05:00
wmayer
ecfcc30fee PartDesign: [skip ci] replace int with proper enum type 2019-12-30 17:19:59 +01:00
Zheng, Lei
3b8ed7a791 PartDesign: improve SubShapeBinder transformation cache 2019-12-30 17:17:14 +01:00
Zheng, Lei
a0b14f2dcd Part: add TopoShape::getSub(Topo)Shapes() 2019-12-30 17:17:14 +01:00
Zheng, Lei
2034323bf4 PartDesign: fix SubShapeBinder lost of placement 2019-12-30 17:17:14 +01:00
Rajendra Pardeshi
c16b0e4e61 Issue ID 0004230 : Fixing a crash in chamfer command. Putting a null check for the function return value
[skip ci]
2019-12-30 15:49:51 +01:00
PushKK
2ca0b94e20 [skip ci] Update Fem_ru.ts
Fix error in Russian translate "Fixed".
2019-12-30 13:55:03 +01:00
Grey Christoforo
5690909e49 fix brick01 file name 2019-12-29 21:25:14 +01:00
wmayer
a5630bc689 fix some const correctness 2019-12-29 17:13:18 +01:00
wandererfan
bb45c7b97e [TD]adjust symbol location for font and text 2019-12-29 09:39:47 -05:00
wandererfan
42b3358f13 [TD]fix #4234 initial display of section label 2019-12-29 09:39:47 -05:00
wmayer
c5c3b41c8f Gui: add virtual method containsViewProvider to MDIView and re-implement it in some sub-classes
Improve Document::setActiveView to not always switch to the first 3D view but check the currently active view before
2019-12-29 15:00:35 +01:00
wmayer
c66622e4d6 set explicit utf-8 encoding for some Python modules 2019-12-29 14:00:08 +01:00
wmayer
75fb8886ac declare getMDIView and getMDIViewPage as const 2019-12-29 13:55:39 +01:00
wmayer
7f77b1e6c9 TechDraw: [skip ci] fix -Winconsistent-missing-override 2019-12-29 00:02:15 +01:00
carlopav
100dd0bfcc [Draft] Edit, changed endEdit
Before behaviour when user click and when user input coordinates:
1- mousePressed -> endEditing -> numericInput -> update
2- numericInput -> update
Now:
1- mousePressed -> endEditing -> update
2- numericInput -> endEditing -> update
2019-12-28 15:59:26 -03:00
carlopav
af8671caa2 [Draft] Edit Documentation
Documented better the whole tool.
Changed the name of self.call to self. selection_callback for easier code reading.
[Draft] Edit small bugfix

Deleted a bunch of code I PR by error
2019-12-28 15:59:26 -03:00
vocx-fc
1b45c3da7e Draft: fix CMakeLists to install files in directories 2019-12-28 15:56:02 -03:00
wmayer
b00f8b0226 Gui: allow user to set an expression for property editor of vectors 2019-12-28 17:36:41 +01:00
wmayer
a92cf1a785 Base: [skip ci] do not normalize axis when changing angle of a Rotation object 2019-12-28 14:04:02 +01:00
WandererFan
5bd578d6eb [TD]update property name in Balloon test case 2019-12-27 20:27:19 -05:00
WandererFan
eb46f15159 [TD]fix overload warning 2019-12-27 20:27:19 -05:00
WandererFan
a6b3de4220 [TD]fix Balloon placement issues
- contributed by @lidiriel
2019-12-27 20:27:19 -05:00
Yorik van Havre
e6fbf55a0c Arch: Fixed bug in materials merging 2019-12-27 21:32:33 -03:00
wmayer
13b6961943 Sketcher: [skip ci] force redraw after using rubberband selection 2019-12-27 21:18:27 +01:00
wmayer
7f720e9318 [skip ci] scale grabbed image to defined width 2019-12-27 21:00:34 +01:00
wmayer
674952d0aa Gui: [skip ci] allow to pass multi-sampling in Python wrapper 2019-12-27 15:19:19 +01:00
vocx-fc
11f4fabf2f Draft: add GuiCommandBase class to serve as the parent class of all DraftTools
Prepare auxiliary directories to restructure all graphical tools
for objects, viewproviders, gui commands, and taskpanels.
2019-12-27 11:01:34 -03:00
wmayer
4a373effb4 Gui: [skip ci] show navi cube also when rendering as framebuffer or GL image 2019-12-27 13:57:21 +01:00
wmayer
194fa49bfa Gui: [skip ci] add option to grab 3D view as is 2019-12-27 13:52:34 +01:00
luz.paz
8cfa85cf18 Draft: [skip ci] Fix header uniformity
This PR fixes header uniformity across all Draft files
2019-12-27 00:16:12 +01:00
wmayer
5557e7b41b TechDraw: [skip ci] fix warnings -Wunused-private-field and -Winconsistent-missing-override 2019-12-26 20:13:52 +01:00
Zheng, Lei
ad3167137d Draft: fix array restore 2019-12-26 15:56:31 -03:00
ageeye
2a5328b693 Use DraftVecUtils.tup only two times. 2019-12-26 15:54:10 -03:00
ageeye
0f81a0dd68 Fix the Draft Array polar type. Rotate first global and then object own rotation(spin) of placement. 2019-12-26 15:54:10 -03:00
Syres916
e96dcda79d [Draft] ImportDXF Bug upgrading from 0.16
See discussion https://forum.freecadweb.org/viewtopic.php?f=3&t=41879
2019-12-26 15:52:30 -03:00
luz.paz
8af8689d73 Arch: [skip ci] fix header uniformity
This PR fixes header uniformity across all Arch files
2019-12-26 18:24:06 +01:00
luz.paz
a4127f3c14 ReverseEngineering: [skip ci] Fix header uniformity
This PR fixes header uniformity across all ReverseEngineering files
2019-12-26 18:22:37 +01:00
luz.paz
fd89a73b8a Robot: [skip ci] fix header uniformity + trailing whitespace
This PR fixes header uniformity across all Robot files
2019-12-26 18:22:03 +01:00
carlopav
b14dca0918 [Draft] Edit further cleanup
[Draft] Edit fix minor bug
2019-12-26 13:31:06 -03:00
carlopav
6ab4a8a202 [Draft] Edit _ code cleanup
According to @vocx_fc suggestions, this commit is a first cleanup of the code.
2019-12-26 13:31:06 -03:00
carlopav
81862dd280 [Draft] Edit: improved Draft Circle editing
Now Draft circle editing works also with App::Part
2019-12-26 13:31:06 -03:00
carlopav
4c065fb782 [Arch] Added Draft Edit Command to toolbar 2019-12-26 13:31:06 -03:00
carlopav
64314e557a [Draft] Edit _ improved rectangle editing
Improved rectangle editing to use 3 nodes. Now it works also inside App::Part
2019-12-26 13:31:06 -03:00
carlopav
7042446504 [Draft] Edit: general refactor
Changed names of several methods from set to get, changed the general set of nodes, improved placement calculation to use getGlobalPlacement instead of Placement.
2019-12-26 13:31:06 -03:00
vocx-fc
050b13e10c Arch: division including a float to obtain correct result 2019-12-26 13:22:35 -03:00