Fix typos, grammar, and some whitespace issues
Found via `codespell -q 2 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
This commit is contained in:
@@ -301,7 +301,7 @@ def render(outputfile,scene=None,camera=None,zoom=False,width=400,height=300,bac
|
||||
|
||||
# On Linux, the X server must have indirect rendering enabled in order to be able to do offline
|
||||
# PNG rendering. Unfortunately, this is turned off by default on most recent distros. The easiest
|
||||
# way I found is to edit (or create if inexistant) /etc/X11/xorg.conf and add this:
|
||||
# way I found is to edit (or create if inexistent) /etc/X11/xorg.conf and add this:
|
||||
#
|
||||
# Section "ServerFlags"
|
||||
# Option "AllowIndirectGLX" "on"
|
||||
|
||||
@@ -670,7 +670,7 @@ bool Cloud::Module::cloudRestore (const char *BucketName)
|
||||
(const char*)this->TcpPort.getStrValue().c_str(),
|
||||
BucketName);
|
||||
|
||||
// we shall pass there the intial Document.xml file
|
||||
// we shall pass there the initial Document.xml file
|
||||
|
||||
Base::XMLReader reader("Document.xml", myreader.GetEntry("Document.xml")->FileStream);
|
||||
|
||||
@@ -707,4 +707,3 @@ bool Cloud::Module::cloudRestore (const char *BucketName)
|
||||
return(true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1986,7 +1986,7 @@ def addText(text, attrib=False):
|
||||
It defaults to `False`. If `True` it determines
|
||||
the layer name from the DXF code 8, the text value from code 1,
|
||||
the position from codes 10, 20, 30, the height from code 40,
|
||||
the roation from code 50, and assigns the name `'Attribute'`.
|
||||
the rotation from code 50, and assigns the name `'Attribute'`.
|
||||
Otherwise, it assumes these values from `text`
|
||||
and sets the name to `'Text'`.
|
||||
|
||||
@@ -2910,7 +2910,7 @@ def getArcData(edge):
|
||||
-------
|
||||
(tuple, float, float, float)
|
||||
It returns a tuple of four values; the first value is a tuple
|
||||
with the cordinates of the center `(x, y, z)`;
|
||||
with the coordinates of the center `(x, y, z)`;
|
||||
the other three represent the magnitude of the radius,
|
||||
and the start and end angles in degrees that define the arc.
|
||||
|
||||
@@ -3573,7 +3573,7 @@ def export(objectslist, filename, nospline=False, lwPoly=False):
|
||||
|
||||
Returns
|
||||
-------
|
||||
It returns `None` if the export is succesful.
|
||||
It returns `None` if the export is successful.
|
||||
|
||||
See also
|
||||
--------
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -194,7 +194,7 @@ class TempoVis(object):
|
||||
def restore(self, ultimate = True):
|
||||
'''restore(ultimate = True): undoes all changes done through this tempovis / restores saved scene details.
|
||||
ultimate: if true, the saved values are cleaned out, and the TV is withdrawn from
|
||||
the stack. If false, the TV will still remember stuff, and resore can be called again.
|
||||
the stack. If false, the TV will still remember stuff, and restore can be called again.
|
||||
'''
|
||||
if self.state == S_RESTORED:
|
||||
return
|
||||
@@ -525,4 +525,3 @@ class TempoVis(object):
|
||||
self._init_attrs()
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -91,8 +91,8 @@ protected:
|
||||
Qt::PenCapStyle m_capStyle;
|
||||
|
||||
QBrush m_brush;
|
||||
Qt::BrushStyle m_fill; //current fille style
|
||||
Qt::BrushStyle m_fillStyle; //current fill style*/
|
||||
Qt::BrushStyle m_fill; //current fill style
|
||||
Qt::BrushStyle m_fillStyle; //current fill style
|
||||
QColor m_fillColor; //current fill color
|
||||
|
||||
QColor m_colDefFill; //"no color" default normal fill color
|
||||
|
||||
Reference in New Issue
Block a user