Please review these and then I'll squash all in to one commit

This commit is contained in:
luz.paz
2018-10-21 18:06:10 -04:00
committed by Yorik van Havre
parent f976a4f734
commit 2a53eb0432
2 changed files with 11 additions and 10 deletions

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
<PythonExport
Father="PyObjectBase"
Name="BaseClassPy"
Twin="BaseClass"
TwinPointer="BaseClass"
Include="Base/BaseClass.h"
FatherInclude="Base/PyObjectBase.h"
Namespace="Base"
<PythonExport
Father="PyObjectBase"
Name="BaseClassPy"
Twin="BaseClass"
TwinPointer="BaseClass"
Include="Base/BaseClass.h"
FatherInclude="Base/PyObjectBase.h"
Namespace="Base"
FatherNamespace="Base">
<Documentation>
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
@@ -21,7 +21,7 @@
</Methode>
<Methode Name="getAllDerivedFrom" Const="true">
<Documentation>
<UserDocu>Returns all descentences</UserDocu>
<UserDocu>Returns all descendence</UserDocu>
</Documentation>
</Methode>
<Attribute Name="TypeId" ReadOnly="true">

View File

@@ -58,6 +58,7 @@
using namespace PartDesignGui;
using namespace Attacher;
// ***WMAYER, this comment needs revising***
// TODO Do ve should snap here to App:Part or GeoFeatureGroup/DocumentObjectGroup ? (2015-09-04, Fat-Zer)
const QString TaskFeaturePick::getFeatureStatusString(const featureStatus st)
{
@@ -295,7 +296,7 @@ std::vector<App::DocumentObject*> TaskFeaturePick::buildFeatures()
}
App::DocumentObject* TaskFeaturePick::makeCopy(App::DocumentObject* obj, std::string sub, bool independent) {
App::DocumentObject* copy = nullptr;
// Check for null to avoid segfault
if (!obj)