Blender Git Loki

Kaikki Blender Git kommitit.

Page: 3597 / 8462

November 23, 2017, 13:14 (GMT)
Tag properties of some mesh editing operators as 'advanced'

Sets the 'advanced' tag for some properties of following mesh edit operators:
* Loop Cut
* Subdivide
* Mark Seam
* Smooth Vertex
* Laplacian Smooth Vertex
* Merge
November 23, 2017, 12:58 (GMT)
Support tagging operator properties as 'advanced'

This will later be used to show advanced operator properties separate from
basic (as in non-advanced) ones in the UI.

Tagging a single operator property in C should be done via
`WM_operatortype_prop_tag()`. It does additional checks for type safety
that `RNA_def_property_tags()` doesn't do.

To avoid having to tag each advanced property individually, multiple
ones can be tagged by wrapping them into
`WM_operatortype_props_advanced_bein()` and
`WM_operatortype_props_advanced_end()` calls. It's also possible to only
call `_begin()`, all properties added after this will get tagged then.
In most cases this last approach should be sufficient.

Example of Python usage:
`my_float = bpy.props.FloatProperty(name="Some Float", tags={'ADVANCED'})`
November 23, 2017, 12:54 (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'})`.

Actual usage of this will be added in a follow-up commit.
November 23, 2017, 12:50 (GMT)
Remaining warning in grease pencil
November 23, 2017, 12:49 (GMT)
Merge remote-tracking branch 'origin/blender2.8' into greasepencil-object
November 23, 2017, 12:44 (GMT)
Merge commit '3abe8b3292cf7a50a9200b95401993384df24d9a' into greasepencil-object

Note: Since grease pencil had its own subversion, and this merge brings 2.80
subversion 2 as well, the files should be saved BEFORE this commit, to be sure
that all the doversion happened.
November 23, 2017, 12:20 (GMT)
Merge commit '3abe8b3292cf7a50a9200b95401993384df24d9a^' into greasepencil-object
November 23, 2017, 12:17 (GMT)
Silence warnings

Please keep the code warnings-free as much as possible.
November 23, 2017, 11:59 (GMT)
Fix stupid mistake...
November 23, 2017, 11:51 (GMT)
Add some dummy failing static asserts for sake of testing.
November 23, 2017, 11:50 (GMT)
Add non-gcc static assert macro.

Adapted from http://www.pixelbeat.org/programming/gcc/static_assert.html
November 23, 2017, 11:35 (GMT)
Merge branch 'master' into experimental-build
November 23, 2017, 11:04 (GMT)
Merge branch 'master' into blender2.8
November 23, 2017, 11:01 (GMT)
Depsgraph: Cleanup, split build_object() a bit
November 23, 2017, 10:47 (GMT)
Merge branch 'master' into blender2.8
November 23, 2017, 10:39 (GMT)
Depsgraph: Cleanup, always call full `object`
November 23, 2017, 10:31 (GMT)
New view layers should be named "View Layer" (not Render Layer)
November 23, 2017, 09:48 (GMT)
Rename any instance of scene layer or render layer in code with view layer

The RenderResult struct still has a listbase of RenderLayer, but that's ok
since this is strictly for rendering.

* Subversion bump (to 2.80.2)
* DNA low level doversion (renames) - only for .blend created since 2.80 started

Note: We can't use DNA_struct_elem_find or get file version in init_structDNA,
so we are manually iterating over the array of the SDNA elements instead.

Note 2: This doversion change with renames can be reverted in a few months. But
so far it's required for 2.8 files created between October 2016 and now.

Reviewers: campbellbarton, sergey

Differential Revision: https://developer.blender.org/D2927
November 23, 2017, 08:55 (GMT)
More meaningful flag names for hair system changes.
November 23, 2017, 08:55 (GMT)
Remove unused code, this has been replaced since.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021