Blender Git Commits

Blender Git "master" branch commits.

Page: 2238 / 5574

December 12, 2016, 14:56 (GMT)
Cleanup: bad (harmless) usage of PARM_PYFUNC_OPTIONAL in new ID.make_local RNA definition.

PARM_PYFUNC_OPTIONAL is only useful in definition of callbacks for
registrable types...
December 12, 2016, 14:54 (GMT)
Fix (unreported) some RNA func definitions setting flags of other func parameters!

Both found cases where luckily harmless, though...
December 12, 2016, 14:46 (GMT)
Refactor RNA property: split flags in property flags, parameter flags, and internal flags.

This gives us 9 flags available again for properties (we had none anymore),
and also makes things slightly cleaner.

To simplify (and make more clear the differences between mere properties
and function parameters), also added RNA_def_parameter_flags function (and
its clear counterpart), to be used instead of RNA_def_property_flag for
function parameters.

This patch is also a big cleanup (some RNA function definitions were
still using 'prop' PropertyRNA pointer, etc.).

And yes, am aware this will be annoying for all branches, but we really need
to get new flags available for properties (will need at least one for override, etc.).

Reviewers: sergey, Severin

Subscribers: dfelinto, brecht

Differential Revision: https://developer.blender.org/D2400
December 12, 2016, 14:05 (GMT)
Cleanup: Get rid of unused BKE_rigidbody_relink_constraint().

Also use proper ID_NEW_REMAP macro in BKE_rigidbody_world_groups_relink()!
December 12, 2016, 13:58 (GMT)
Cleanup: Rename BKE_libblock_relink, and move it to BKE_library_remap.h

Was a waaaaayyyyy to much generic name for such a specific func, renamed
to much more descriptive BKE_libblock_relink_to_newid().

In near future (few weeks, to limit as much as possible silent mismatch
in branches), will rename BKE_libblock_relink_ex to BKE_libblock_relink,
this is the real generic data-block relinking func!
December 12, 2016, 13:31 (GMT)
Cleanup: Get rid of ntreeSwitchID(_ex) functions, use generic BKE_libblock_relink_ex instead.
December 12, 2016, 11:10 (GMT)
Cycles: Cleanup, variable names

Use underscore again and also solve confusing part then in BVH smae
thing is called prim_addr but in intersection funcitons it was called
triAddr.
December 12, 2016, 09:19 (GMT)
Cycles: Cleanup, variables names

Use underscore instead of camel case.
Revision 2bb7a13 by Gaia Clary
December 9, 2016, 16:21 (GMT)
Added --debug-io flag to command line
December 9, 2016, 15:28 (GMT)
Land D2339 by bliblu bli
December 9, 2016, 12:40 (GMT)
Depsgraph: Add missing relation for cast modifier

When control object is used we need to known our own transformation as well.
December 9, 2016, 12:05 (GMT)
Depsgraph: Bone parent should also include armature transform relation

It is required to have world-space bone position, which consists of armature
object transform and local bone transform.
Revision 5452807 by Julian Eisel
December 8, 2016, 22:27 (GMT)
Correction to previous commit

Accidentally included some changes from workspaces branch.
Revision 35c18e4 by Julian Eisel
December 8, 2016, 22:17 (GMT)
Move screen drawing functions into new screen_draw.c
December 8, 2016, 16:35 (GMT)
Fix emissive volumes generates unexpected fireflies around intersections

Discard the whole volume stack on the last bounce (but keep
world volume if present).

Volumes are expected to be closed manifol meshes, meaning if
ray entered the volume there should be an intersection event
of ray exisintg the volume. Case when ray hit nothing and
there are still non-world volumes in the stack can happen in
either of cases.

1. Mesh is not closed manifold.

Such configurations are not really supported anyway and should
not be used.

Previous code would have consider the infinite length of the
ray to sample across, so render result wasn't really correct
anyway.

2. Exit intersection is more far away than the camera far
clip distance.

This case also will behave differently now, but previously it
wasn't really correct either, so it's not like we're breaking
something which was working as expected.

3. We missed exit event due to intersection precision issues.

This is exact the case which this patch fixes and avoid
fireflies.

4. Volume has Camera only visibility (all the rest visibility
is set to off)

This is what could be considered a regression but could be
solved quite easily by checking volume stack's objects flags
and keep entries which doesn't have Volume Scatter visibility
(or even better: ensure Volume Scatter visibility for objects
with volume closure),

Fixes T46108: Cycles - Overlapping emissive volumes generates unexpected bright hotspots around the intersection
Also fixes fireflies appearing on the edges of cube with
emissive volue.

Reviewers: juicyfruit, brecht

Reviewed By: brecht

Maniphest Tasks: T46108

Differential Revision: https://developer.blender.org/D2212
Revision 0a26904 by Julian Eisel
December 8, 2016, 11:41 (GMT)
Fix T49872: 3D cursor places with camera shift in ortographic mode
Revision d5708fd by Julian Eisel
December 8, 2016, 11:21 (GMT)
Fix expanding enum property in sub-layout of pie menus

//ui_item_enum_expand// function replaces all pie menu's sub-layouts with radial layout. It should replace only root layout.

To reproduce the issue paste the code in Blender's text editor and press Run Script button.
```
import bpy

class VIEW3D_PIE_template(bpy.types.Menu):
bl_label = "Select Mode"

def draw(self, context):
layout = self.layout.menu_pie()
layout.column().prop(
context.scene.render.image_settings, "color_mode", expand=True)

def register():
bpy.utils.register_class(VIEW3D_PIE_template)

def unregister():
bpy.utils.unregister_class(VIEW3D_PIE_template)

if __name__ == "__main__":
register()
bpy.ops.wm.call_menu_pie(name="VIEW3D_PIE_template")
```

Differential Revision: https://developer.blender.org/D2394 by @raa
December 7, 2016, 22:04 (GMT)
Fix crash when opening a Blender file containing Alembic data.

Was also affecting object linking.
December 7, 2016, 16:17 (GMT)
Fix install_deps.sh failing to build ffmpeg 3.

--disable-libfaac is no more ffmpeg build option.
December 7, 2016, 13:53 (GMT)
Fix (unreported) Sequencer Drop effect: wrong initial offset in second input buffer.

Reading rest of the code, it's obvious we want to start � YOFF lines
from start of rect2i, so we have to also multiply by number of
components.

Also did some minor cleanup.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021