My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# remove debug key files and add BOOL_NON support
(cd kbool/src && patch << EOF
--- booleng.cpp 2009-09-14 18:50:12.000000000 +0200
+++ booleng.cpp 2011-02-20 16:58:51.124226814 +0100
@@ -335,6 +335,8 @@ bool Bool_Engine::Do_Operation( BOOL_OP
case ( BOOL_SMOOTHEN ):
m_graphlist->Smoothen( GetInternalSmoothAber() );
break;
+ case (BOOL_NON ): // http://sourceforge.net/tracker/index.php?func=detail&aid=3174463&group_id=58919&atid=489289
+ break;
default:
{
error( "Wrong operation", "Command Error" );
--- graph.cpp 2009-09-14 18:50:12.000000000 +0200
+++ graph.cpp 2011-02-20 17:00:22.724804775 +0100
@@ -2476,6 +2476,7 @@ bool kbGraph::checksort()

void kbGraph::WriteKEY( Bool_Engine* GC, FILE* file )
{
+#if KBOOL_DEBUG // http://sourceforge.net/mailarchive/message.php?msg_id=27090327
double scale = 1.0 / GC->GetGrid() / GC->GetGrid();

bool ownfile = false;
@@ -2553,14 +2554,14 @@ void kbGraph::WriteKEY( Bool_Engine* GC,
fclose (file);

}
+#endif
}


void kbGraph::WriteGraphKEY(Bool_Engine* GC)
{
-
+#if KBOOL_DEBUG // http://sourceforge.net/mailarchive/message.php?msg_id=27090327
double scale = 1.0/GC->GetGrid()/GC->GetGrid();
-
FILE* file = fopen("keygraphfile.key", "w");

fprintf(file,"\
@@ -2618,6 +2619,7 @@ void kbGraph::WriteGraphKEY(Bool_Engine*
");

fclose (file);
+#endif
}


EOF
)

Change log

r12 by decitre on Feb 20, 2011   Diff
remove key files and add NON_BOOL support
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 1540 bytes, 50 lines
Powered by Google Project Hosting