App: Apply clang format (part 1)
This commit is contained in:
@@ -33,20 +33,22 @@ PROPERTY_SOURCE(App::MaterialObject, App::DocumentObject)
|
||||
|
||||
MaterialObject::MaterialObject()
|
||||
{
|
||||
ADD_PROPERTY_TYPE(Material,(),"Material",Prop_None,"Material key/value map");
|
||||
|
||||
ADD_PROPERTY_TYPE(Material, (), "Material", Prop_None, "Material key/value map");
|
||||
}
|
||||
|
||||
// Python feature ---------------------------------------------------------
|
||||
|
||||
namespace App {
|
||||
namespace App
|
||||
{
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(App::MaterialObjectPython, App::MaterialObject)
|
||||
template<> const char* App::MaterialObjectPython::getViewProviderName() const {
|
||||
template<>
|
||||
const char* App::MaterialObjectPython::getViewProviderName() const
|
||||
{
|
||||
return "Gui::ViewProviderMaterialObjectPython";
|
||||
}
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class AppExport FeaturePythonT<App::MaterialObject>;
|
||||
}
|
||||
} // namespace App
|
||||
|
||||
Reference in New Issue
Block a user