Skip to content

Commit

Permalink
Globals - added $DAY and $TIME to the defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
p2or authored Nov 26, 2023
1 parent 1521d64 commit 0d658ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loom.py
Original file line number Diff line number Diff line change
Expand Up @@ -5418,6 +5418,8 @@ def draw_loom_render_presets(self, context):
"$MARKER": 'next((i.name for i in bpy.context.scene.timeline_markers if i.frame == bpy.context.scene.frame_current), "NO_NAME")',
"$COLL": 'bpy.context.collection.name',
"$OB": 'bpy.context.active_object.name',
"$DAY": 'exec("import time") or time.strftime("%Y-%m-%d")',
"$TIME": 'exec("import time") or time.strftime("%H-%M-%S")',
"$SUM": 'str(sum([8, 16, 32]))'
}

Expand Down

0 comments on commit 0d658ee

Please sign in to comment.