minetest/src/client
SmallJoker 4aa9a669cb
ContentCAO: Fix broken attachments on join (#8701)
What happened:
1) Object data is received. Client begins to read the data
2) Client initializes all its children (gob_cmd_update_infant)
3) Children try to attach to parent (yet not added)
4) Parent initializes, is added to the environment

And somewhere in between, Irrlicht wrecks up the attachments due to the missing matrix node.

The solution here is to:
1) Use the same structure as ServerActiveObject
2) Attach all children after the parent is really initialized
2019-07-29 19:14:07 +02:00
..
meshgen Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
render Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
CMakeLists.txt Add an activeobject manager to hold active objects (#7939) 2018-12-13 20:18:54 +01:00
activeobjectmgr.cpp Optimize getting active objects a bit. #8674 2019-07-16 15:55:17 -07:00
activeobjectmgr.h Add an activeobject manager to hold active objects (#7939) 2018-12-13 20:18:54 +01:00
camera.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
camera.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
client.cpp Remove unnecessary CSM warning (#8485) 2019-04-28 00:44:26 +01:00
client.h Fix particle spawners not visible since CSM spawner implementation (#8289) 2019-03-01 20:16:11 +01:00
clientenvironment.cpp ContentCAO: Fix broken attachments on join (#8701) 2019-07-29 19:14:07 +02:00
clientenvironment.h ContentCAO: Fix broken attachments on join (#8701) 2019-07-29 19:14:07 +02:00
clientevent.h Fix particle spawners not visible since CSM spawner implementation (#8289) 2019-03-01 20:16:11 +01:00
clientlauncher.cpp Fix cloud color in loading screen and main menu (#8174) 2019-02-04 19:11:02 +00:00
clientlauncher.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
clientmap.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
clientmap.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
clientmedia.cpp Fix clang tidy error due to incorrect use of quotes for character 2019-03-06 14:41:37 +00:00
clientmedia.h Remove remote media compatibility mode. (#8044) 2019-01-04 00:26:08 +01:00
clientobject.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
clientobject.h ContentCAO: Fix broken attachments on join (#8701) 2019-07-29 19:14:07 +02:00
clouds.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
clouds.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
content_cao.cpp ContentCAO: Fix broken attachments on join (#8701) 2019-07-29 19:14:07 +02:00
content_cao.h ContentCAO: Fix broken attachments on join (#8701) 2019-07-29 19:14:07 +02:00
content_cso.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
content_cso.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
content_mapblock.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
content_mapblock.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
event_manager.h Client eventmanager refactor (#7179) 2018-03-30 18:32:52 +02:00
filecache.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
filecache.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
fontengine.cpp Fix crash if display resolution is not set (#7950) 2018-12-08 16:26:04 +01:00
fontengine.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
game.cpp Do predict when sneak-place to node with on_rightclick 2019-07-08 14:21:27 +02:00
game.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
gameui.cpp Fix segfault on quitting with open node formspec (#8608) 2019-06-21 21:00:30 +02:00
gameui.h Formspecs: Close on metadata removal (#8348) 2019-06-10 13:01:07 +02:00
guiscalingfilter.cpp Add support for 9-sliced backgrounds (#8600) 2019-06-22 16:03:54 +02:00
guiscalingfilter.h Add support for 9-sliced backgrounds (#8600) 2019-06-22 16:03:54 +02:00
hud.cpp Fix missing item images clipping in formspecs (#8652) 2019-07-26 19:44:29 +02:00
hud.h Optimize string (mis)handling (#8128) 2019-05-18 17:19:13 +02:00
imagefilters.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
imagefilters.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
inputhandler.cpp Extend pitch fly mode to swimming (#7943) 2018-12-31 00:07:30 +00:00
inputhandler.h Game refactor [4/X]: keycache is now owned by InputHandler 2018-01-20 16:38:38 +01:00
joystick_controller.cpp Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
joystick_controller.h Fix some gcc 7.3 reported warnings 2018-03-23 22:12:48 +01:00
keycode.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
keycode.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
keys.h Extend pitch fly mode to swimming (#7943) 2018-12-31 00:07:30 +00:00
localplayer.cpp Add disable_jump to liquids and ladders (#7688) 2019-06-10 13:00:35 +02:00
localplayer.h Add disable_jump to liquids and ladders (#7688) 2019-06-10 13:00:35 +02:00
mapblock_mesh.cpp Fix texture rotation for wallmounted nodeboxes 2019-03-19 22:36:51 +01:00
mapblock_mesh.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
mesh.cpp Optimize and unify mesh processing (#7851) 2019-06-28 03:22:16 +01:00
mesh.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
mesh_generator_thread.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
mesh_generator_thread.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
minimap.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
minimap.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
particles.cpp Fix particle spawners not visible since CSM spawner implementation (#8289) 2019-03-01 20:16:11 +01:00
particles.h Fix particle spawners not visible since CSM spawner implementation (#8289) 2019-03-01 20:16:11 +01:00
renderingengine.cpp Fix crash if display resolution is not set (#7950) 2018-12-08 16:26:04 +01:00
renderingengine.h Provide Xorg/net wm process ID (#7445) 2018-06-17 10:41:07 +02:00
shader.cpp Require 'waving = 3' in a nodedef to apply the liquid waving shader (#8418) 2019-03-27 00:18:43 +00:00
shader.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
sky.cpp Draw all horizons and sky base, in front of stars (#7932) 2018-12-06 03:56:35 +00:00
sky.h Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
sound.cpp Cleanup sound manager class (#7158) 2018-03-24 15:45:25 +01:00
sound.h Cleanup sound manager class (#7158) 2018-03-24 15:45:25 +01:00
sound_openal.cpp Make sounds stop playing when entering game or mainmenu 2018-03-24 16:05:26 +01:00
sound_openal.h Cleanup sound manager class (#7158) 2018-03-24 15:45:25 +01:00
tile.cpp Optimize string (mis)handling (#8128) 2019-05-18 17:19:13 +02:00
tile.h Require 'waving = 3' in a nodedef to apply the liquid waving shader (#8418) 2019-03-27 00:18:43 +00:00
wieldmesh.cpp Fix more transparency issues with ogles2 driver (#8005) 2018-12-20 23:40:17 +01:00
wieldmesh.h Add object visual type 'item' (#7870) 2018-12-11 02:57:04 +00:00