Browse Source

Fixed Not existing Camera in the Nodes when connecting to a Server

pull/7/head
Evgeny Gagua 8 months ago
parent
commit
d6bd7058f1
  1. 15
      Distro/tmp/after.php
  2. 3
      lib/App/mojo/mojoKernel.cpp

15
Distro/tmp/after.php

@ -42,7 +42,11 @@
switch( $B ){
case 'target_filter_train':{
switch( $Key ){
//Update DB to 08.01.2026
//Ignore that field
case 'OLD_MINIMAL_RANGE':{
break;
};
//Update DB to 08.01.2026
case 'MINIMAL_RANGE':{
$P="`MINIMAL_RIGHT_RANGE`='".$Value."'";
$QS = "UPDATE `{$B}` SET ".$P." WHERE `id`=" . $C['id'];
@ -59,9 +63,12 @@
default:
$P="`".$Key."`='".$Value."'";
};
$QS = "UPDATE `{$B}` SET ".$P." WHERE `id`=" . $C['id'];
out_log( $QS );
$A->Query( $QS );
//If Not Ignored Then issue Query
if( $P!='' ){
$QS = "UPDATE `{$B}` SET ".$P." WHERE `id`=" . $C['id'];
out_log( $QS );
$A->Query( $QS );
};
};
};
};

3
lib/App/mojo/mojoKernel.cpp

@ -288,11 +288,12 @@ bool mojoKernel::create(){
return false;
};
m_pNodeFactory->loadNodes();
if ( m_bWorkWithRemoteServer ) {
#ifdef DEBUG
LOG("Working With Remote Server");
#endif
#endif
if ( m_pRPC = new mojoRemoteClient( this ) ) {
if( m_bWorkWithRemoteServer = m_pRPC->create() ){

Loading…
Cancel
Save