Commit: 8ebad11561e4b7b707fb3cd485ee659206969cf3
Author: Jeroen Bakker
Date:   Tue Jan 12 08:23:29 2021 +0100
Branches: shot-tools-development
https://developer.blender.org/rB8ebad11561e4b7b707fb3cd485ee659206969cf3

Added option for center of world to the example configuration.

===================================================================

M       shot-builder/docs/examples/shot-builder/config.py
M       shot-builder/docs/examples/shot-builder/shots.py

===================================================================

diff --git a/shot-builder/docs/examples/shot-builder/config.py 
b/shot-builder/docs/examples/shot-builder/config.py
index 491bda75aec..0c17bdaad4e 100644
--- a/shot-builder/docs/examples/shot-builder/config.py
+++ b/shot-builder/docs/examples/shot-builder/config.py
@@ -9,6 +9,9 @@ CONFIGURATION_FILES = {
     "shots.py"
 }
 
+"""
+    The set of task types.
+"""
 TASK_TYPES = {
     'anim',
     'lighting',
diff --git a/shot-builder/docs/examples/shot-builder/shots.py 
b/shot-builder/docs/examples/shot-builder/shots.py
index 89c103f7b0d..9d81e02f683 100644
--- a/shot-builder/docs/examples/shot-builder/shots.py
+++ b/shot-builder/docs/examples/shot-builder/shots.py
@@ -5,6 +5,8 @@ class Shot_01_020_A(shot_builder.some_module.Shot):
         characters.Rex,
         sets.LogOverChasm,
     }
+    # Offset of all assets to reduce floating point errors.
+    world_center = [1000, 0, 250]
 
 
 class AllHumansShot(shot_builder.some_module.Shot):

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to