Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / DBP clone object crash with blender 2.5 x-file - solved

Author
Message
GrumpyOne
18
Years of Service
User Offline
Joined: 27th Nov 2007
Location: London, UK
Posted: 1st Dec 2010 17:05
Dear All,

Thought I would share a solution to a strange clone object command crash.

The crash was one of those nasty ones that doesn't generate a run-time error message. After some experimentation I found it was being caused by the clone object command and only occurred with certain models, and only some of the time. The weird thing was the model would load, but would crash 75% of the time when I tried to clone the object.

The crash was caused by a problem with the model's x-file. The model was created in blender and exported with Kira's excellent exporter (http://forum.thegamecreators.com/?m=forum_view&t=166987&b=3).

The problem was with an empty object mesh (with no vertices) in the x-file definition. Once this is removed the object clones every time. In blender you'll sometimes find you've accidently created an empty mesh. You can locate it in the outliner and remove it. The problem mesh definition in the x-file is shown below:



Best,

Mr Grumpy

GrumpyOne - the natural state of the programmer
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 3rd Dec 2010 21:46
Another reason for using text based X files - you can see what's going on.

Login to post a reply

Server time is: 2026-07-21 13:38:31
Your offset time is: 2026-07-21 13:38:31