[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38312] branches/soc-2011-salad/source/ blender/editors/uvedit/uvedit_island_manager.c: adding uv island manager, lost during the merge somehow

Antony Riakiotakis kalast at gmail.com
Mon Jul 11 19:23:58 CEST 2011


Revision: 38312
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38312
Author:   psy-fi
Date:     2011-07-11 17:23:57 +0000 (Mon, 11 Jul 2011)
Log Message:
-----------
adding uv island manager, lost during the merge somehow

Added Paths:
-----------
    branches/soc-2011-salad/source/blender/editors/uvedit/uvedit_island_manager.c

Added: branches/soc-2011-salad/source/blender/editors/uvedit/uvedit_island_manager.c
===================================================================
--- branches/soc-2011-salad/source/blender/editors/uvedit/uvedit_island_manager.c	                        (rev 0)
+++ branches/soc-2011-salad/source/blender/editors/uvedit/uvedit_island_manager.c	2011-07-11 17:23:57 UTC (rev 38312)
@@ -0,0 +1,63 @@
+/*
+ * $Id: uvedit_island_manager.cpp 38000 2011-07-01 12:06:32Z psy-fi $
+ *
+ * ***** BEGIN GPL LICENSE BLOCK *****
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+ * All rights reserved.
+ *
+ *
+ * Contributor(s): Antony Riakiotakis, Blender Foundation, 2002-2009
+ *
+ * ***** END GPL LICENSE BLOCK *****
+ */
+
+/** \file blender/editors/uvedit/uvedit_island_manager.cpp
+ *  \ingroup eduv
+ */
+
+#include "GL/glew.h"
+#include  "DNA_scene_types.h"
+
+#include "ED_image.h"
+#include "ED_uvedit.h"
+
+
+
+static UVIslandManager _island_manager;
+
+/* get enable state of island manager */
+int ED_uvedit_island_manager_get_enabled(void)
+{
+	/* in uvedit_island_manager */
+	return _island_manager.active;
+}
+
+UVIslandManager *ED_get_island_manager_handle(void)
+{
+	return (&_island_manager);
+}
+
+void ED_uvedit_island_manager_draw(void)
+{
+
+}
+
+static void draw_UV_island_cell(UVIslandComponent *cell)
+{
+
+}


Property changes on: branches/soc-2011-salad/source/blender/editors/uvedit/uvedit_island_manager.c
___________________________________________________________________
Added: svn:eol-style
   + native




More information about the Bf-blender-cvs mailing list