fix: avoid build ci from running on other branch than develop and master

This commit is contained in:
Swann
2020-08-07 15:08:08 +02:00
parent f1e09c1507
commit 5d52fb2460
3 changed files with 7 additions and 4 deletions

View File

@ -8,5 +8,8 @@ build:
name: multi_user name: multi_user
paths: paths:
- multi_user - multi_user
only:
refs:
- master
- develop

View File

@ -45,7 +45,7 @@ from . import environment, utils
# TODO: remove dependency as soon as replication will be installed as a module # TODO: remove dependency as soon as replication will be installed as a module
DEPENDENCIES = { DEPENDENCIES = {
("replication", '0.0.20'), ("replication", '0.1.0'),
("deepdiff", '5.0.1'), ("deepdiff", '5.0.1'),
} }

View File

@ -35,7 +35,7 @@ from bpy.app.handlers import persistent
from . import bl_types, delayable, environment, presence, ui, utils from . import bl_types, delayable, environment, presence, ui, utils
from replication.constants import (FETCHED, STATE_ACTIVE, from replication.constants import (FETCHED, STATE_ACTIVE,
STATE_INITIAL, STATE_INITIAL,
STATE_SYNCING) STATE_SYNCING, RP_COMMON, UP)
from replication.data import ReplicatedDataFactory from replication.data import ReplicatedDataFactory
from replication.exception import NonAuthorizedOperationError from replication.exception import NonAuthorizedOperationError
from replication.interface import Session from replication.interface import Session
@ -623,7 +623,7 @@ def depsgraph_evaluation(scene):
# - if its ours or ( under common and diff), launch the # - if its ours or ( under common and diff), launch the
# update process # update process
# - if its to someone else, ignore the update (go deeper ?) # - 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 # Avoid slow geometry update
if 'EDIT' in context.mode: if 'EDIT' in context.mode:
break break