diego1996 / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Blendloader crashes when loading Blendfile from Blender 2.61svn43283 > #214

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download latest SVN blender above revision 43283 (or from the blendersvn 
ppa) (ppa:cheleb/blender-svn)
2. Create a new blendfile (or load one of your own) and save it with the svn 
blender
3. Load in Gamekit, and it will segfault

What is the expected output? What do you see instead?
Loading the level results in segfault

What version of the product are you using? On what operating system?
Latest svn from gamekit, and the binary on the download page both results in 
crash.
Tested on 64bit Ubuntu 11.04, 32bit Ubuntu 10.10 and Windows XP 64bit, all same 
result.

Please provide any additional information below.
There has been some changes in the DNA and Longer names support for all ID's in 
Blender, as well as Bmesh support, so i think the problem should be in the 
blendloader not being compatible with the new changes.

Original issue reported on code.google.com by thorwo...@gmail.com on 1 Feb 2012 at 2:16

GoogleCodeExporter commented 9 years ago
This also occurs with the latest version of Blender (2.62) and is definitely 
going to happen with Blender 2.63 when BMesh is merged in (dev mailing list 
indicates that standard .blend files will not contained the triangulated 
EditMesh we're used to).

I think erwin may comment soon on how we can update it without his assistance :)

Original comment by BenT.Sol...@gmail.com on 17 Feb 2012 at 1:12

GoogleCodeExporter commented 9 years ago
If bParse DNA is updated to 2.62, Gamekit can read a 2.62 blend file.
But, it has a issue with a previous 2.5x blend file.

Original comment by harkon...@gmail.com on 18 Feb 2012 at 6:42

GoogleCodeExporter commented 9 years ago
FBT can read a 2.62 blend file(32/64 bit).
Turn off CMake OGREKIT_USE_BPARSE option.

Original comment by harkon...@gmail.com on 18 Feb 2012 at 2:05

GoogleCodeExporter commented 9 years ago
bParse should be able to handle forwards (and backwards) compatibility, unless 
big changes happen (such as the refactoring of animation system and BMESH).

Not sure why FBT works and bParse doesn't.

Harkon, good to see you back! Do you have time to look into this, and BMESH 
support?

Original comment by erwin.coumans on 21 Feb 2012 at 5:40

GoogleCodeExporter commented 9 years ago
Is this a duplicate of Issue 211 ?
http://code.google.com/p/gamekit/issues/detail?id=211

Original comment by erwin.coumans on 21 Feb 2012 at 5:44

GoogleCodeExporter commented 9 years ago
@Erwin, I think it is a different issue, not sure since he did not specify his 
version of Blender he saved the blendfile with.

I am wondering what the main differences between FBT and bParse is, is there 
any reason to prefer the one over the other?
I will try compiling without BPARSE today

Original comment by joeyferweda@gmail.com on 21 Feb 2012 at 10:56

GoogleCodeExporter commented 9 years ago
@Erwin, Hi, I will check this issue.

Original comment by harkon...@gmail.com on 21 Feb 2012 at 4:03

GoogleCodeExporter commented 9 years ago
struct ID's name field is changed to 'char name[66]' from 'char name[24]'  in 
SDNA 2.6x.
Maybe, bParse could not handle a array field, correctly.

Original comment by harkon...@gmail.com on 26 Feb 2012 at 11:55

GoogleCodeExporter commented 9 years ago
Thanks for investigating it. What is comment 2 about, update to 2.62 breaks 
reading of 2.5files, why?

Original comment by erwin.coumans on 30 Mar 2012 at 5:40

GoogleCodeExporter commented 9 years ago
Is this still a problem after Thomas' update? Should I close this issue?

Original comment by kungfoobar@gmail.com on 13 Jun 2012 at 4:39