Changesets: FreeCAD
master 2bfc6301 2020-07-18 23:40:59 Committer: abdullahtahiriyo Details Diff |
[Sketcher] add python command sketch.getGeoVertexIndex(int index) -- returns tuple (geoId, posId) of vertex at that index in the sketch. usage example: (geoId, posId) = App.ActiveDocument.Sketch.getGeoVertexIndex(int(Gui.Selection.getSelectionEx()[0].SubElementNames[0][6:])-1) | ||
mod - src/Mod/Sketcher/App/SketchObjectPy.xml | Diff File | ||
mod - src/Mod/Sketcher/App/SketchObjectPyImp.cpp | Diff File | ||
master 8565736d 2020-07-18 18:34:45 Committer: yorik Details Diff |
avoid saving to parameters if new shortcut is the default, better check for if setting shortcut was success | ||
mod - src/Gui/ApplicationPy.cpp | Diff File | ||
master 43be29c3 2020-07-18 16:30:52 Committer: yorik Details Diff |
return false when unable to set shortcut | ||
mod - src/Gui/ApplicationPy.cpp | Diff File | ||
master 60d73e0e 2020-07-18 10:41:29 Committer: abdullahtahiriyo Details Diff |
Part: Attacher intersection calculation fix =========================================== In OCCT 7.4 (and apparently <= 7.4 too): A GeomAdaptor_Curve obtained directly from BRepAdaptor_Curve will not work because it won't respect the Location/orientation of the underlying curve. This commit proposes to create a new GeomAdaptor_Curve from an intermediary curve handle to work around this issue. |
||
mod - src/Mod/Part/App/Attacher.cpp | Diff File | ||
master 71e1f7c3 2020-07-18 10:05:02 Details Diff |
Gui: [skip ci] add some security checks before dereferencing pointer to QTreeWidgetItem | ||
mod - src/Gui/DlgParameterImp.cpp | Diff File | ||
master 7a0aec12 2020-07-18 09:36:11 Committer: wmayer Details Diff |
High DPI support: Convert sketcher cursors to SVG Remove xpm |
||
mod - src/Gui/BitmapFactory.cpp | Diff File | ||
mod - src/Gui/BitmapFactory.h | Diff File | ||
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/DrawSketchHandler.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/DrawSketchHandler.h | Diff File | ||
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc | Diff File | ||
mod - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_ConstrainBlock.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Crosshair.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_CarbonCopy.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_3PointArc.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_3PointCircle.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_Arc.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_ArcOfEllipse.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_ArcOfHyperbola.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_ArcOfParabola.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_BSpline.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_Box.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_Circle.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_Ellipse.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_Fillet.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_Line.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_Lineset.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Create_Point.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Extension.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_External.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Regular_Polygon.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Slot.svg | Diff File | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_Pointer_Trimming.svg | Diff File | ||
master d562c52f 2020-07-18 08:43:19 Details Diff |
PVS: V571 Recurring check. A condition was already verified in previous line | ||
mod - src/App/PropertyLinks.cpp | Diff File | ||
master 42a4b11d 2020-07-18 01:42:14 Mark Ganson TheMarkster Committer: yorik Details Diff |
convert tab to spaces | ||
mod - src/Gui/ApplicationPy.cpp | Diff File | ||
master c437ab00 2020-07-18 00:34:38 Mark Ganson TheMarkster Committer: yorik Details Diff |
move preprocessor directives back to column 1 | ||
mod - src/Gui/ApplicationPy.cpp | Diff File | ||
master 9ea45bc8 2020-07-17 23:33:07 Committer: wwmayer Details Diff |
[crash fix] Edit Parameters right click was causing crash unless right clicking on item |
Affected Issues 0004396 |
|
mod - src/Gui/DlgParameterImp.cpp | Diff File | ||
master dff82ea0 2020-07-17 23:25:46 Details Diff |
PVS: V506 Pointer to local variable '_value' is stored outside the scope of this variable. Such a pointer will become invalid. | ||
mod - src/Mod/Spreadsheet/App/Cell.cpp | Diff File | ||
master 7fdf514f 2020-07-17 22:31:53 Details Diff |
PVS: V1016 Value is out of range of enum values. This causes unspecified or undefined behavior. | ||
mod - src/Mod/Web/Gui/BrowserView.cpp | Diff File | ||
master 5c42e35f 2020-07-17 21:46:03 Mark Ganson TheMarkster Committer: yorik Details Diff |
remove some commented lines | ||
mod - src/Gui/ApplicationPy.cpp | Diff File | ||
master 5f347447 2020-07-17 21:41:10 Committer: yorik Details Diff |
[Python Gui] add new command Gui.setCommandShortcut(), fix bug in Gui.getCommandShortcut() and Gui.getCommandInfo() where user has changed shortcut via customize dialog, but these 2 commands returned previous default information | ||
mod - src/Gui/Application.h | Diff File | ||
mod - src/Gui/ApplicationPy.cpp | Diff File | ||
master 864483d5 2020-07-17 21:07:06 Details Diff |
PVS: V560 A part of conditional expression is always true | ||
mod - src/Gui/propertyeditor/PropertyItem.cpp | Diff File | ||
master 6e00846c 2020-07-17 20:59:21 Details Diff |
PVS: V646 Consider inspecting the application's logic. It's possible that 'else' keyword is missing. | ||
mod - src/App/Expression.cpp | Diff File | ||
master fa8f3c24 2020-07-17 18:59:00 Eric Trombly Details Diff |
fix two never ending while loops in PathSurfaceSupport | ||
mod - src/Mod/Path/PathScripts/PathSurfaceSupport.py | Diff File | ||
master f77bfe3e 2020-07-17 17:30:13 Details Diff |
PVS: V768 The expression is of enum type. It is odd that it is used as an expression of a Boolean-type. | ||
mod - src/Gui/ViewProviderPythonFeature.h | Diff File | ||
master ac8259e5 2020-07-17 17:06:43 Committer: yorik Details Diff |
[Standard Views] change preference label to default camera orientation | ||
mod - src/Gui/DlgSettingsNavigation.ui | Diff File | ||
master 2b97a103 2020-07-17 17:01:33 Details Diff |
PVS: V1046 Unsafe usage of the 'bool' and 'int' types together in the operation '&='. | ||
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | Diff File | ||
master 0bee47d5 2020-07-17 16:12:21 Details Diff |
PVS: V612 The '(4) / 3' expression was implicitly cast from 'int' type to 'float' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part | ||
mod - src/Mod/Fem/Gui/ViewProviderFemConstraintFluidBoundary.cpp | Diff File | ||
mod - src/Mod/Fem/Gui/ViewProviderFemConstraintForce.cpp | Diff File | ||
mod - src/Mod/Fem/Gui/ViewProviderFemConstraintPressure.cpp | Diff File | ||
master 6f06fbf3 2020-07-17 16:02:05 Details Diff |
PVS: V601 The bool type is implicitly cast to the double type | ||
mod - src/Mod/Part/App/GeometryBoolExtensionPyImp.cpp | Diff File | ||
master af9c5274 2020-07-17 15:56:13 Details Diff |
PVS: V688 The local variable possesses the same name as one of the class members, which can result in a confusion | ||
mod - src/App/PropertyLinks.cpp | Diff File | ||
mod - src/Gui/Tree.cpp | Diff File | ||
master 811efa61 2020-07-17 15:19:08 Details Diff |
PVS: V690 The copy constructor is declared as private in the 'PropertySheet' class, but the default copy assignment operator will still be generated by compiler. It is dangerous to use such a class. | ||
mod - src/Mod/Spreadsheet/App/PropertySheet.h | Diff File | ||
master 473553a2 2020-07-17 15:03:50 Details Diff |
PVS: V595 A pointer was utilized before it was verified against nullptr | ||
mod - src/Gui/PropertyView.cpp | Diff File | ||
mod - src/Gui/ViewProviderDocumentObject.cpp | Diff File | ||
mod - src/Gui/ViewProviderLink.cpp | Diff File | ||
mod - src/Mod/TechDraw/App/DrawViewArch.cpp | Diff File | ||
mod - src/Mod/TechDraw/App/DrawViewSpreadsheet.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/Command.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/QGEPath.cpp | Diff File |