Blender Git Loki

Kaikki Blender Git kommitit.

Page: 3584 / 8462

November 29, 2017, 02:48 (GMT)
RNA: Allow structs to define tags for their properties

Adds support for defining a number of tags as part of the rna-struct
definition, which its properties can set similar to property-flags.
BPY supports setting these tags when defining custom properties too.

* To define tags for a struct (which its properties can use then), define the tags in an `EnumPropertyItem` array, and assign them to the struct using `RNA_def_struct_property_tags(...)`.
* To set tags for an RNA-property in C, use the new `RNA_def_property_tags(...)`.
* To set tags for an RNA-property in Python, use the newly added tags parameter. E.g. `bpy.props.FloatProperty(name="Some Float", tags={'SOME_TAG', 'ANOTHER_TAG'})`.
November 29, 2017, 02:34 (GMT)
PyAPI: PyC_Err_PrintWithFunc utility function

Move function error printing utility into py_capi_utils.
November 29, 2017, 02:34 (GMT)
Merge branch 'master' into blender2.8
November 28, 2017, 21:58 (GMT)
Merge branch 'master' into split-kernel-faster-building
November 28, 2017, 19:47 (GMT)
Depsgraph: Fix Camera object showing when not in view layer

If the Scene->camera was not in the active view layer we would still see it in the viewport.
November 28, 2017, 16:28 (GMT)
Address review points (mainly some missing usages of RNA_STACK_ARRAY).
November 28, 2017, 16:22 (GMT)
Eevee: Fix T53413: Crash when using displacement bump relink.

ntree_shader_relink_displacement is creating a transient node that does not have a correct original to point to.
In this case we revert to constant uniform.
November 28, 2017, 15:47 (GMT)
Draw manager: Pass explicit context to DEG scene update callback

This way it is more clear what is needed to be passed and what is available
in the callback itself.

Thanks Dalai for review and tips about engine type!
November 28, 2017, 15:42 (GMT)
Merge branch 'blender2.8' into id_override_static
November 28, 2017, 15:34 (GMT)
Merge branch 'master' into blender2.8
November 28, 2017, 15:31 (GMT)
Cleanup (remove commented OMP directive).
November 28, 2017, 15:27 (GMT)
Fix rename fields after merge
November 28, 2017, 15:16 (GMT)
Merge branch 'blender2.8' into greasepencil-object
November 28, 2017, 14:08 (GMT)
Cleanup: naming
November 28, 2017, 14:06 (GMT)
Cleanup, naming of engine type variable
November 28, 2017, 13:24 (GMT)
Audaspace: Fix -Wreorder warning

Makes building less noisy, helps catching real introduced warnings/errors.

@xeXyon, mind having a look here and possibly apply to upstream? :)
November 28, 2017, 13:24 (GMT)
Depsgraph: Wrap context used for editors update callback into a structure

This way we can extend it much easier.
November 28, 2017, 13:24 (GMT)
Depsgraph: Remove workaround for Blender Internal in viewport

This commit effectively reverts fix T45702 done in 067fe2719a99.

Reasoning:

- Blender Internal is being replaced with Eevee, and will be removed entirely
rather soon.

- All render engines are planned to have own depsgraph, so such threading
conflicts should no longer be an issue.

- We don't want to spend time on porting workarounds for EOL things to a new
design. Less code -- faster the work :)

- If such notifications will end up needed for some other cases, we would
need to re-implement this a more proper depsgraph tagging/flushing and make
it to work with all copy-on-write datablocks and everything.
November 28, 2017, 13:24 (GMT)
Depsgraph: Don't call DEG ID update functions directly

There might be much more logic involved there, also we might not know proper
evaluated CoW pointer there yet. So we leave this to dependency graph to
decide what exactly to do here.
November 28, 2017, 13:11 (GMT)
Reuse show_keys_from_selected_only for jump frames

It's better to reuse this option that is already defined by scene.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021