fix: avoid build ci from running on other branch than develop and master
This commit is contained in:
parent
f1e09c1507
commit
5d52fb2460
@ -8,5 +8,8 @@ build:
|
||||
name: multi_user
|
||||
paths:
|
||||
- multi_user
|
||||
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
- develop
|
||||
|
||||
|
@ -45,7 +45,7 @@ from . import environment, utils
|
||||
|
||||
# TODO: remove dependency as soon as replication will be installed as a module
|
||||
DEPENDENCIES = {
|
||||
("replication", '0.0.20'),
|
||||
("replication", '0.1.0'),
|
||||
("deepdiff", '5.0.1'),
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ from bpy.app.handlers import persistent
|
||||
from . import bl_types, delayable, environment, presence, ui, utils
|
||||
from replication.constants import (FETCHED, STATE_ACTIVE,
|
||||
STATE_INITIAL,
|
||||
STATE_SYNCING)
|
||||
STATE_SYNCING, RP_COMMON, UP)
|
||||
from replication.data import ReplicatedDataFactory
|
||||
from replication.exception import NonAuthorizedOperationError
|
||||
from replication.interface import Session
|
||||
@ -623,7 +623,7 @@ def depsgraph_evaluation(scene):
|
||||
# - if its ours or ( under common and diff), launch the
|
||||
# update process
|
||||
# - if its to someone else, ignore the update (go deeper ?)
|
||||
if node.owner in [client.id, 'COMMON'] and node.state == UP:
|
||||
if node.owner in [client.id, RP_COMMON] and node.state == UP:
|
||||
# Avoid slow geometry update
|
||||
if 'EDIT' in context.mode:
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user