Migrate domain name from freecadweb to freecad (#9352)

* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
This commit is contained in:
luzpaz
2023-04-24 20:19:20 +00:00
committed by GitHub
parent 0d3ec18044
commit 129d5882a7
1771 changed files with 2124 additions and 2071 deletions

View File

@@ -56,7 +56,7 @@ std::string CommandPy::representation() const
// Py::Dict parameters_copy_dict is now a class member to avoid delete/create/copy on every read access from python code
// Now the pre-filled Py::Dict is returned which is more consistent with normal python behaviour.
// It should be cleared whenever the c++ Parameters object is changed eg setParameters() or other objects invalidate its content, eg setPlacement()
// https://forum.freecadweb.org/viewtopic.php?f=15&t=50583
// https://forum.freecad.org/viewtopic.php?f=15&t=50583
PyObject *CommandPy::PyMake(struct _typeobject *, PyObject *, PyObject *) // Python wrapper
{
@@ -149,7 +149,7 @@ void CommandPy::setName(Py::String arg)
Py::Dict CommandPy::getParameters() const
{
// dict now a class member , https://forum.freecadweb.org/viewtopic.php?f=15&t=50583
// dict now a class member , https://forum.freecad.org/viewtopic.php?f=15&t=50583
if (parameters_copy_dict.length()==0) {
for(std::map<std::string,double>::iterator i = getCommandPtr()->Parameters.begin(); i != getCommandPtr()->Parameters.end(); ++i) {
parameters_copy_dict.setItem(i->first, Py::Float(i->second));