[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15718] branches/soc-2008-quorn/source/ blender/makesdna/DNA_text_types.h: time_t isn't supported in SDNA so we' ll use double instead.
Ian Thompson
quornian at googlemail.com
Wed Jul 23 20:19:57 CEST 2008
Revision: 15718
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15718
Author: quorn
Date: 2008-07-23 20:19:56 +0200 (Wed, 23 Jul 2008)
Log Message:
-----------
time_t isn't supported in SDNA so we'll use double instead. 56bit precision is plenty for storing seconds (for a billion years at least)
Modified Paths:
--------------
branches/soc-2008-quorn/source/blender/makesdna/DNA_text_types.h
Modified: branches/soc-2008-quorn/source/blender/makesdna/DNA_text_types.h
===================================================================
--- branches/soc-2008-quorn/source/blender/makesdna/DNA_text_types.h 2008-07-23 17:31:00 UTC (rev 15717)
+++ branches/soc-2008-quorn/source/blender/makesdna/DNA_text_types.h 2008-07-23 18:19:56 UTC (rev 15718)
@@ -31,8 +31,6 @@
#ifndef DNA_TEXT_TYPES_H
#define DNA_TEXT_TYPES_H
-#include "time.h"
-
#include "DNA_listBase.h"
#include "DNA_ID.h"
@@ -59,8 +57,8 @@
int undo_pos, undo_len;
void *compiled;
-
- time_t mtime;
+
+ double mtime;
} Text;
More information about the Bf-blender-cvs
mailing list