[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60947] branches/asset-browser/source/ blender: == asset browser ==

Andrea Weikert elubie at gmx.net
Sat Oct 26 13:56:41 CEST 2013


Revision: 60947
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60947
Author:   elubie
Date:     2013-10-26 11:56:40 +0000 (Sat, 26 Oct 2013)
Log Message:
-----------
== asset browser ==
FIX: Compile errors on Linux
Thanks to Thomas Beck

Modified Paths:
--------------
    branches/asset-browser/source/blender/blenlib/intern/directory.c
    branches/asset-browser/source/blender/editors/listview/contentlist_intern.h
    branches/asset-browser/source/blender/editors/listview/listview_draw.c

Modified: branches/asset-browser/source/blender/blenlib/intern/directory.c
===================================================================
--- branches/asset-browser/source/blender/blenlib/intern/directory.c	2013-10-26 08:01:33 UTC (rev 60946)
+++ branches/asset-browser/source/blender/blenlib/intern/directory.c	2013-10-26 11:56:40 UTC (rev 60947)
@@ -137,12 +137,12 @@
 #else
 	{
 		struct passwd *pwuser;
-		pwuser = getpwuid(file->s.st_uid);
+		pwuser = getpwuid(s.st_uid);
 		if (pwuser) {
 			BLI_strncpy(file->str_owner, pwuser->pw_name, sizeof(file->owner));
 		}
 		else {
-			BLI_snprintf(file->str_owner, sizeof(file->owner), "%d", file->s.st_uid);
+			BLI_snprintf(file->str_owner, sizeof(file->owner), "%d", s.st_uid);
 		}
 	}
 #endif

Modified: branches/asset-browser/source/blender/editors/listview/contentlist_intern.h
===================================================================
--- branches/asset-browser/source/blender/editors/listview/contentlist_intern.h	2013-10-26 08:01:33 UTC (rev 60946)
+++ branches/asset-browser/source/blender/editors/listview/contentlist_intern.h	2013-10-26 11:56:40 UTC (rev 60947)
@@ -32,7 +32,7 @@
 #ifndef __CONTENTLIST_INTERN_H__
 #define __CONTENTLIST_INTERN_H__
 
-#include "DNA_listbase.h"
+#include "DNA_listBase.h"
 
 struct ImBuf;
 struct ListViewLayout;

Modified: branches/asset-browser/source/blender/editors/listview/listview_draw.c
===================================================================
--- branches/asset-browser/source/blender/editors/listview/listview_draw.c	2013-10-26 08:01:33 UTC (rev 60946)
+++ branches/asset-browser/source/blender/editors/listview/listview_draw.c	2013-10-26 11:56:40 UTC (rev 60947)
@@ -41,7 +41,7 @@
 #include "BLF_api.h"
 
 #include "DNA_screen_types.h"
-#include "DNA_space_Types.h" // XXXXX possibly remove, only for constants
+#include "DNA_space_types.h" // XXXXX possibly remove, only for constants
 #include "DNA_vec_types.h"
 
 #include "IMB_imbuf_types.h"




More information about the Bf-blender-cvs mailing list