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
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB
3 changed files with 7 additions and 4 deletions

View File

@ -8,5 +8,8 @@ build:
name: multi_user
paths:
- 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
DEPENDENCIES = {
("replication", '0.0.20'),
("replication", '0.1.0'),
("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 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