Codespell fix
This commit is contained in:
parent
3e5f9834d7
commit
486e43a450
@ -241,7 +241,7 @@ void GraphicsWindow::SelectByMarquee() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Sort the selection according to various critieria: the entities and
|
// Sort the selection according to various criteria: the entities and
|
||||||
// constraints separately, counts of certain types of entities (circles,
|
// constraints separately, counts of certain types of entities (circles,
|
||||||
// lines, etc.), and so on.
|
// lines, etc.), and so on.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@ -16,7 +16,7 @@ void SMesh::AddTriangle(STriMeta meta, Vector n, Vector a, Vector b, Vector c) {
|
|||||||
Vector ab = b.Minus(a), bc = c.Minus(b);
|
Vector ab = b.Minus(a), bc = c.Minus(b);
|
||||||
Vector np = ab.Cross(bc);
|
Vector np = ab.Cross(bc);
|
||||||
if(np.Magnitude() < 1e-10) {
|
if(np.Magnitude() < 1e-10) {
|
||||||
// ugh; gl sometimes tesselates to collinear triangles
|
// ugh; gl sometimes tessellates to collinear triangles
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(np.Dot(n) > 0) {
|
if(np.Dot(n) > 0) {
|
||||||
|
@ -1270,7 +1270,7 @@ MessageDialogRef CreateMessageDialog(WindowRef parentWindow) {
|
|||||||
// File dialogs
|
// File dialogs
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
// In emscripten psuedo filesystem, all userdata will be stored in this directory.
|
// In emscripten pseudo filesystem, all userdata will be stored in this directory.
|
||||||
static std::string basePathInFilesystem = "/data/";
|
static std::string basePathInFilesystem = "/data/";
|
||||||
|
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ class FileManagerUI {
|
|||||||
dialog.appendChild(filelist);
|
dialog.appendChild(filelist);
|
||||||
|
|
||||||
const dummyfilelistitem = document.createElement('li');
|
const dummyfilelistitem = document.createElement('li');
|
||||||
dummyfilelistitem.textContent = "(No file in psuedo filesystem)";
|
dummyfilelistitem.textContent = "(No file in pseudo filesystem)";
|
||||||
filelist.appendChild(dummyfilelistitem);
|
filelist.appendChild(dummyfilelistitem);
|
||||||
|
|
||||||
if (this.__isOpenDialog) {
|
if (this.__isOpenDialog) {
|
||||||
@ -341,7 +341,7 @@ class FileManagerUI {
|
|||||||
const files = this.__getFileEntries_recurse(this.__basePathInFilesystem);
|
const files = this.__getFileEntries_recurse(this.__basePathInFilesystem);
|
||||||
if (files.length < 1) {
|
if (files.length < 1) {
|
||||||
const dummyfilelistitem = document.createElement('li');
|
const dummyfilelistitem = document.createElement('li');
|
||||||
dummyfilelistitem.textContent = "(No file in psuedo filesystem)";
|
dummyfilelistitem.textContent = "(No file in pseudo filesystem)";
|
||||||
this.__filelistElement.appendChild(dummyfilelistitem);
|
this.__filelistElement.appendChild(dummyfilelistitem);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -423,7 +423,7 @@ window.addEventListener('keyup', function(event) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// FIXME(emscripten): Should be implemnted in guihtmlcpp ?
|
// FIXME(emscripten): Should be implemented in guihtmlcpp ?
|
||||||
class FileUploadHelper {
|
class FileUploadHelper {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.modalRoot = document.createElement("div");
|
this.modalRoot = document.createElement("div");
|
||||||
@ -583,7 +583,7 @@ function createFileUploadHelperInstance() {
|
|||||||
return new FileUploadHelper();
|
return new FileUploadHelper();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME(emscripten): Should be implemnted in guihtmlcpp ?
|
// FIXME(emscripten): Should be implemented in guihtmlcpp ?
|
||||||
class FileDownloadHelper {
|
class FileDownloadHelper {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.modalRoot = document.createElement("div");
|
this.modalRoot = document.createElement("div");
|
||||||
|
@ -530,7 +530,7 @@ bool SShell::ClassifyEdge(Class *indir, Class *outdir,
|
|||||||
SBspUv::Class c = (srf.bsp) ? srf.bsp->ClassifyPoint(puv, dummy, &srf) : SBspUv::Class::OUTSIDE;
|
SBspUv::Class c = (srf.bsp) ? srf.bsp->ClassifyPoint(puv, dummy, &srf) : SBspUv::Class::OUTSIDE;
|
||||||
if(c == SBspUv::Class::OUTSIDE) continue;
|
if(c == SBspUv::Class::OUTSIDE) continue;
|
||||||
|
|
||||||
// Edge-on-face (unless edge-on-edge above superceded)
|
// Edge-on-face (unless edge-on-edge above superseded)
|
||||||
Point2d pin, pout;
|
Point2d pin, pout;
|
||||||
srf.ClosestPointTo(p.Plus(edge_n_in), &pin, /*mustConverge=*/false);
|
srf.ClosestPointTo(p.Plus(edge_n_in), &pin, /*mustConverge=*/false);
|
||||||
srf.ClosestPointTo(p.Plus(edge_n_out), &pout, /*mustConverge=*/false);
|
srf.ClosestPointTo(p.Plus(edge_n_out), &pout, /*mustConverge=*/false);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// The View menu, stuff to snap to certain special vews of the model, and to
|
// The View menu, stuff to snap to certain special views of the model, and to
|
||||||
// display our current view of the model to the user.
|
// display our current view of the model to the user.
|
||||||
//
|
//
|
||||||
// Copyright 2008-2013 Jonathan Westhues.
|
// Copyright 2008-2013 Jonathan Westhues.
|
||||||
|
Loading…
Reference in New Issue
Block a user