Skip to content

Commit 811df00

Browse files
More spring cleaning
1 parent 0c22afc commit 811df00

File tree

8 files changed

+5
-18
lines changed

8 files changed

+5
-18
lines changed

source/inochi2d/core/nodes/composite/package.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ private:
6767
}
6868

6969
void scanPartsRecurse(Node node) {
70-
import std.stdio : writeln;
7170

7271
// Don't need to scan null nodes
7372
if (node is null) return;

source/inochi2d/core/nodes/deformer/package.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ abstract
2727
class Deformer : Node, IDeformable {
2828
private:
2929
void scanPartsRecurse(Node node) {
30-
import std.stdio : writeln;
3130

3231
// Don't need to scan null nodes
3332
if (node is null) return;

source/inochi2d/core/nodes/drawable/part.d

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import std.exception;
1616
import std.algorithm.mutation : copy;
1717
import std.math : isNaN;
1818

19-
public import inochi2d.core.nodes.common;
2019
public import inochi2d.core.render.state;
2120
public import inochi2d.core.mesh;
2221

@@ -74,7 +73,6 @@ protected:
7473
super.onDeserialize(object);
7574

7675
if (object.isJsonArray("textures")) {
77-
import std.stdio : writeln;
7876
foreach(i, ref JSONValue element; object["textures"].array) {
7977

8078
uint textureId = element.tryGet!uint(NO_TEXTURE);

source/inochi2d/core/nodes/drivers/package.d

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
Authors: Asahi Lina
88
*/
99
module inochi2d.core.nodes.drivers;
10-
import inochi2d.core.nodes.common;
11-
//import inochi2d.core.nodes;
1210
import inochi2d.core;
11+
1312
public import inochi2d.core.nodes.drivers.simplephysics;
1413

1514
/**

source/inochi2d/core/nodes/drivers/simplephysics.d

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,14 @@
77
Authors: Asahi Lina
88
*/
99
module inochi2d.core.nodes.drivers.simplephysics;
10-
private {
1110
import inochi2d.core.nodes.drivers;
12-
import inochi2d.core.nodes.common;
13-
import inochi2d.core.guid;
14-
//import inochi2d.core.nodes;
15-
//import inochi2d.core;
1611
import inochi2d.core.format;
12+
import inochi2d.core.guid;
1713
import inochi2d.core.math;
1814
import inochi2d.core.phys;
1915
import inochi2d;
20-
import std.exception;
2116
import std.algorithm.sorting;
22-
import std.stdio;
23-
}
17+
import std.exception;
2418

2519
/**
2620
Physics model to use for simple physics

source/inochi2d/core/param/binding.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ module inochi2d.core.param.binding;
1010
import inochi2d.core.format;
1111
import inochi2d.core.math;
1212
import inochi2d.core;
13+
import std.algorithm.mutation;
1314
import std.exception;
1415
import std.array;
15-
import std.algorithm.mutation;
16-
import std.stdio;
1716

1817
/**
1918
A target to bind to
@@ -1096,6 +1095,7 @@ class DeformationParameterBinding : ParameterBindingImpl!Deformation {
10961095

10971096
@("TestInterpolation")
10981097
unittest {
1098+
import std.stdio;
10991099
void printArray(float[][] arr) {
11001100
foreach (row; arr) {
11011101
writefln(" %s", row);

source/inochi2d/core/param/package.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ public:
450450
auto swap = axisPoints[oldidx];
451451
axisPoints[axis] = axisPoints[axis].remove(oldidx);
452452
axisPoints[axis].insertInPlace(index, swap);
453-
debug writeln("after move ", this.axisPointCount(0));
454453
}
455454

456455
// Tell all bindings to reinterpolate

source/inochi2d/core/render/drawlist.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import inmath;
1212
import nulib;
1313
import numem;
1414
import inochi2d.core.render.texture;
15-
import inochi2d.core.nodes.common;
1615
import inochi2d.core.mesh;
1716

1817
/**

0 commit comments

Comments
 (0)