/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/Material.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/Material.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 95 by william, Sat Jul 17 05:10:22 2010 UTC revision 102 by william, Sat Jul 17 13:54:18 2010 UTC
# Line 31  namespace gr2lib.core.coretypes.implemen Line 31  namespace gr2lib.core.coretypes.implemen
31                  managed.NativePointer = pointer;                  managed.NativePointer = pointer;
32                  return managed;                  return managed;
33              }              }
34              catch (Exception ex)              catch
35              {              {
36                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
37                  Console.WriteLine(st.ToString() + "\n\n" + "Stack Trace: \n" + ex.ToString());  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
38                    Console.WriteLine(st.ToString());
39    #endif
40                  return default(Material);                  return default(Material);
41              }              }
42          }          }
# Line 60  namespace gr2lib.core.coretypes.implemen Line 62  namespace gr2lib.core.coretypes.implemen
62                  managed.ExtendedData = native.ExtendedData;                  managed.ExtendedData = native.ExtendedData;
63                  return managed;                  return managed;
64              }              }
65              catch (Exception ex)              catch
66              {              {
67                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
68                  Console.WriteLine(st.ToString() + "\n\n" + "Stack Trace: \n" + ex.ToString());  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
69                    Console.WriteLine(st.ToString());
70    #endif
71                  return default(Material);                  return default(Material);
72              }              }
73          }          }

Legend:
Removed from v.95  
changed lines
  Added in v.102

  ViewVC Help
Powered by ViewVC 1.1.22