fix create datablock for physicsshapes. #1690

Merged
merged 2 commits into from Aug 7, 2016

Conversation

Projects
None yet
3 participants
@John3
Contributor

John3 commented Jul 14, 2016

fix #1689

This fix a bug when you try to create a new physics shape datablock.

@@ -271,6 +271,8 @@ bool PhysicsShapeData::preload( bool server, String &errorBuffer )
{
if ( !Parent::preload( server, errorBuffer ) )
return false;
+
+ if( server ) return true;

This comment has been minimized.

@rextimmy

rextimmy Jul 15, 2016

Contributor

This needs to be removed, it stops the TSShape and PhysicsCollisionRef from been created server side.

@rextimmy

rextimmy Jul 15, 2016

Contributor

This needs to be removed, it stops the TSShape and PhysicsCollisionRef from been created server side.

@John3

This comment has been minimized.

Show comment
Hide comment
@John3

John3 Jul 16, 2016

Contributor

thanks!

Contributor

John3 commented Jul 16, 2016

thanks!

@Lopuska

This comment has been minimized.

Show comment
Hide comment
@Lopuska

Lopuska Aug 7, 2016

Member

It's ok. :)

Member

Lopuska commented Aug 7, 2016

It's ok. :)

@Lopuska Lopuska added the Bugfix label Aug 7, 2016

@Lopuska Lopuska added this to the 4.0 milestone Aug 7, 2016

@Lopuska Lopuska self-assigned this Aug 7, 2016

@Lopuska Lopuska merged commit 88ac03c into GarageGames:development Aug 7, 2016

@John3 John3 deleted the John3:fixDatablockPhysicsShape branch Aug 7, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment