Assets: Add License and Copyright meta-data #105318
No reviewers
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#105318
Loading…
Reference in New Issue
No description provided.
Delete Branch "Harley/blender:AssetMeta"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As per #105300, this adds optional "license" and "copyright" meta-data
to assets.
They look like this in the interface:
Assets: Add License and Copyright metadatato Assets: Add License and Copyright meta-dataHi Harley, License should go before Copyright. Some licenses don't require copyright, so this field may end up empty every now and then.
b0630d4e2b
toe3200e2696
Assets: Add License and Copyright meta-datato WIP: Assets: Add License and Copyright meta-datae3200e2696
tofc11ff92ad
WIP: Assets: Add License and Copyright meta-datato WIP: Assets: Add License and Copyright metadatafc11ff92ad
to00ca7c5221
WIP: Assets: Add License and Copyright metadatato WIP: Assets: Add License and Copyright meta-dataWIP: Assets: Add License and Copyright meta-datato Assets: Add License and Copyright meta-dataYes, I swapped those around. And updated the captures in the first comment.
Let's not deprecate the author field, this may still be useful in some cases (e.g. to know who to contact in case of unclear copyright). We can just show a bunch of metadata fields, if people don't need it, they just don't set it.
Separately, we could make it so unset fields from an external asset are not shown, a bunch of empty buttons are not really useful. For assets from the current file we show all available fields. Again, this is a separate change, for the release we can just add the copyright and license field.
Checked with @dfelinto and he's fine with that. Code wise looks good (suggested tooltip changes).
@ -400,0 +471,4 @@
"rna_AssetMetaData_copyright_get",
"rna_AssetMetaData_copyright_length",
"rna_AssetMetaData_copyright_set");
RNA_def_property_ui_text(prop, "Copyright", "Copyright of the asset");
The description isn't adding much information, but I'm also not sure what to put in there. Maybe: "Copyright notice of the asset. An empty copyright notice does not mean there are no copyrights assigned. Contact the author if any clarification is needed."
@ -400,0 +479,4 @@
"rna_AssetMetaData_license_get",
"rna_AssetMetaData_license_length",
"rna_AssetMetaData_license_set");
RNA_def_property_ui_text(prop, "License", "License of the asset");
Similar thing here, suggest something like: "Name of the license the asset is distributed under. An empty license name does not mean there are no licensing terms. Contact the author if any clarification is needed."
Assets: Add License and Copyright meta-datato WIP: Assets: Add License and Copyright meta-data016d8e05dd
to94cb92e7b3
94cb92e7b3
to09f5c37f5e
WIP: Assets: Add License and Copyright meta-datato Assets: Add License and Copyright meta-dataLGTM! Thanks for working on this.
@ -400,0 +486,4 @@
RNA_def_property_ui_text(prop,
"License",
"The type of license this asset is distributed under. An empty license "
"name does not necessarily indicate that this is without licensing "
Maybe "... that this is free of licensing terms" sounds a bit better? You decide :)