18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-01 19:57:06 +01:00

Merge feat/eu07m-clip-event into feat/eu07m-channels

This commit is contained in:
maj00r
2026-11-30 00:33:51 +01:00
366 changed files with 74634 additions and 59192 deletions
+10
View File
@@ -27,6 +27,7 @@ http://mozilla.org/MPL/2.0/.
#include "utilities/Timer.h"
#include "utilities/Logs.h"
#include "rendering/renderer.h"
#include "vehicle/DynObj.h"
std::list<std::weak_ptr<TAnimContainer>> TAnimModel::acAnimList;
@@ -581,6 +582,15 @@ void TAnimModel::update_instanceable_flag() {
++s_instanceable_total;
}
void TAnimModel::draw_alone() {
if( m_instanceable ) {
++s_instanceable_revoked;
m_instanceable = false;
++scene::node_state_version;
}
}
std::shared_ptr<TAnimContainer> TAnimModel::AddContainer(std::string const &Name)
{ // dodanie sterowania submodelem dla egzemplarza
if (!pModel)