From d86a19774ee6dd604c0b3054b4c0ce1d6eea1808 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 6 Dec 2012 19:34:36 +0000
Subject: [PATCH] set/get _globalNum

---
 Post/PView.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Post/PView.h b/Post/PView.h
index 6addbbebc2..2294a262fc 100644
--- a/Post/PView.h
+++ b/Post/PView.h
@@ -61,6 +61,10 @@ class PView{
   // default destructor
   ~PView();
 
+  // get/set global number
+  static int getGlobalNum(){ return _globalNum; }
+  static void setGlobalNum(int num){ _globalNum = num; }
+
   // delete the vertex arrays, used to draw the view efficiently
   void deleteVertexArrays();
 
-- 
GitLab