Skip to content

Commit

Permalink
Fix for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
dyama committed Jul 17, 2014
1 parent 304d8f9 commit 07d0a5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/siren_dotnet/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class Program
static void Main()
{
MainForm mf = new MainForm();
#if DEBUG
#if !DEBUG
SplashForm.ShowSplash(mf);
#endif
Application.Run(mf);
Expand Down
8 changes: 4 additions & 4 deletions src/sirenenv/OCCViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ bool OCCViewer::InitViewer(void* wnd, bool grad, bool is_raytracing, bool is_par
#endif


#if 0
#if 1
// grid
{
gp_Pnt p(0, 0, 0);
Expand All @@ -233,16 +233,16 @@ bool OCCViewer::InitViewer(void* wnd, bool grad, bool is_raytracing, bool is_par
Quantity_Length XStep = 10;
Quantity_Length YStep = 10;
Quantity_Length Rotation = 0;
Quantity_Length XSize = XStep * 10 + 1.0e-7;
Quantity_Length YSize = YStep * 10 + 1.0e-7;
Quantity_Length XSize = XStep * 20 + 1.0e-7;
Quantity_Length YSize = YStep * 20 + 1.0e-7;
Quantity_Length Offset = 0;
viewer->SetPrivilegedPlane(ax);
viewer->SetRectangularGridValues(XOrigin, YOrigin, XStep, YStep, Rotation);
viewer->SetRectangularGridGraphicValues(XSize, YSize, Offset);
viewer->ActivateGrid(Aspect_GT_Rectangular, Aspect_GDM_Lines);
}
#else
// grid
// grid for demo
{
gp_Pnt p(0, 0, 0);
gp_Vec v(0, 0, 1);
Expand Down

0 comments on commit 07d0a5d

Please sign in to comment.