Files
assimp/code
Haik Lorenz 7353d25c13 Prevent failing stringstream to crash the export process
Text exporters are using string streams to hold the file content first and then write them to the file in a single pass. If for whatever reason the stream has the fail bit set, tellp() will return pos_type(-1), which in turn makes the subsequent write crash - at least on Windows systems. One reason for the stream being in fail state is when its size exceeds 2^31 bytes, even on 64-bit systems (i.e., when very large scenes get exported).

The fix is checking the fail() before even opening the file.
2017-10-09 15:47:17 +02:00
..
2017-03-05 15:05:40 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-10-30 08:55:11 +01:00
2017-03-05 15:05:40 +01:00
2017-02-28 16:37:07 +01:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2016-06-06 22:04:29 +02:00
2016-07-01 17:08:28 +02:00
2016-07-01 17:02:54 +02:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2017-03-28 00:35:56 +02:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-28 16:37:07 +01:00
2017-03-05 15:05:40 +01:00
2017-02-28 16:37:07 +01:00
2017-02-28 16:37:07 +01:00
2017-03-05 15:05:40 +01:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2017-02-28 16:37:07 +01:00
2017-02-28 16:37:07 +01:00
2017-03-05 15:05:40 +01:00
2017-03-05 15:05:40 +01:00
2016-01-01 21:07:24 +01:00
2017-03-05 15:05:40 +01:00
2017-03-05 15:05:40 +01:00
2017-02-28 16:37:07 +01:00
2016-04-03 01:38:00 +01:00
2016-01-01 21:07:24 +01:00
2016-06-06 22:04:29 +02:00
2016-01-01 21:07:24 +01:00
2016-01-01 21:07:24 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2017-02-28 16:37:07 +01:00
2016-01-01 21:07:24 +01:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2017-02-28 16:37:07 +01:00
2016-06-06 22:04:29 +02:00
2017-03-08 09:55:44 +01:00
2017-02-28 16:37:07 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-04-03 01:38:00 +01:00
2016-01-01 21:07:24 +01:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2016-04-03 01:38:00 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2016-09-24 12:33:53 +02:00
2016-01-01 21:07:24 +01:00
2016-01-01 21:07:24 +01:00
2017-02-28 16:37:07 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-01-01 21:07:24 +01:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-12-09 19:27:01 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-01-01 21:07:24 +01:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2016-12-11 13:01:26 +01:00
2016-06-06 22:04:29 +02:00
2016-01-01 21:07:24 +01:00
2016-06-06 22:04:29 +02:00
2016-10-20 17:04:37 +02:00
2017-02-22 17:20:26 +01:00
2016-10-20 17:04:37 +02:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-01-01 21:07:24 +01:00
2017-02-28 16:37:07 +01:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2017-01-19 13:38:06 +01:00
2017-02-28 16:37:07 +01:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2016-01-01 21:07:24 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2017-02-28 16:37:07 +01:00
2016-06-06 22:04:29 +02:00
2016-10-21 19:44:31 +02:00
2016-01-01 21:07:24 +01:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2016-06-06 22:04:29 +02:00
2016-06-06 22:04:29 +02:00
2017-02-28 16:37:07 +01:00
2016-01-01 21:07:24 +01:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2016-04-03 01:38:00 +01:00
2016-06-06 22:04:29 +02:00
2016-10-03 19:24:14 +02:00
2016-01-01 21:07:24 +01:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00
2017-02-28 16:37:07 +01:00
2016-11-24 14:53:33 +01:00
2016-10-06 19:02:37 +03:00
2017-04-11 16:33:13 -04:00
2017-03-29 21:08:40 +02:00
2017-03-29 21:08:40 +02:00
2016-06-06 22:04:29 +02:00
2017-02-22 17:20:26 +01:00
2017-02-22 17:20:26 +01:00
2016-01-01 21:07:24 +01:00