tour du python blender
This commit is contained in:
Submodule multi_user/libs/replication updated: ff43a866bc...d49651edb4
@ -850,7 +850,7 @@ def update_external_dependencies():
|
|||||||
nodes_ids = [n.uuid for n in session.repository.graph.values() if n.data['type_id'] in ['WindowsPath', 'PosixPath']]
|
nodes_ids = [n.uuid for n in session.repository.graph.values() if n.data['type_id'] in ['WindowsPath', 'PosixPath']]
|
||||||
for node_id in nodes_ids:
|
for node_id in nodes_ids:
|
||||||
node = session.repository.graph.get(node_id)
|
node = session.repository.graph.get(node_id)
|
||||||
if node and node.owner in [session.id, RP_COMMON]:
|
if node and node.owner in [session.repository.username, RP_COMMON]:
|
||||||
porcelain.commit(session.repository, node_id)
|
porcelain.commit(session.repository, node_id)
|
||||||
porcelain.push(session.repository,'origin', node_id)
|
porcelain.push(session.repository,'origin', node_id)
|
||||||
|
|
||||||
@ -928,7 +928,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
|
# - if its to someone else, ignore the update
|
||||||
if node and (node.owner == session.id or check_common):
|
if node and (node.owner == session.repository.username or check_common):
|
||||||
if node.state == UP:
|
if node.state == UP:
|
||||||
try:
|
try:
|
||||||
porcelain.commit(session.repository, node.uuid)
|
porcelain.commit(session.repository, node.uuid)
|
||||||
|
Reference in New Issue
Block a user