Blender Git Commits

Blender Git "master" branch commits.

Page: 2601 / 5574

May 12, 2015, 11:06 (GMT)
Depsgraph: Add utility function to check whether modifier depends on time

Currently unused, based on the code from old depsgraph.c. The purpose is to
re-sue the code over old and new depsgraph in an easy way.
May 12, 2015, 11:06 (GMT)
Depsgraph: Add additional relations/id update tags

This calls are not strictly speaking needed for the old dependency graph, but
due to more granular nature of upcoming depsgraph more actions requires update
of relations of IDs.

On the one hand this extra tags could be wrapped with if() statements, but on
the other hand it makes sense to keep tag in sync so it's clear if some issue
is caused by missing/extra tag or by depsgraph itself.
May 12, 2015, 11:06 (GMT)
Depsgraph: Add utility function to tag pose for recalc

Currently this function only tags pose itself, totally matching previous
behavior. But this will be needed in the future once new dependency graph
is landed, because of it's granular nature which relies on the fact that
pose channels are all up to date when building the graph.

Should be no functional changes so far.
May 12, 2015, 11:06 (GMT)
Depsgraph: Move update-related functions into own files

Currently it is just moving existing functions into a new file,
but in the future those new files will be grown much more due
to upcoming more granular scene updates.

Should be no functional changes.
May 12, 2015, 08:57 (GMT)
Fix T44677: Normal Edit Modifier Radial Mode broken with target object.

Very stupid mistake, odd nobody hit this earlier... :/
May 12, 2015, 08:43 (GMT)
PyAPI: Remove release method, just use delitem
May 12, 2015, 08:29 (GMT)
Minor tweaks to preview templates
May 12, 2015, 08:24 (GMT)
Doc: add bpy.utils.previews

Updated sphinx_doc_gen.py to better handle pure py-classes.
May 12, 2015, 08:23 (GMT)
Doc: correct rst syntax

also remove some API docs from example
May 12, 2015, 08:23 (GMT)
Doc: replace addons -> scripts in docstring

Theres nothing add-on specific here.
May 12, 2015, 08:23 (GMT)
Doc: minor fixes

- check for class/static methods assumed nonzero args.
- subclass references and set-flag items are now sorted.
- use 'order' for Py operator mix-ins,
so operator settings don't show in random order.
May 12, 2015, 06:05 (GMT)
BGE: Adding material IPO support to GLSL materials

Most of this patch was created by Daniel Stokes, I'm mostly just cleaning
it up and testing it. Still todo: hardness. I need to figure out how to
handle the integer -> float conversion on a dynamic uniform.

Reviewers: psy-fi, brecht

Reviewed By: psy-fi

Subscribers: psy-fi

Differential Revision: https://developer.blender.org/D511
May 11, 2015, 17:18 (GMT)
Freestyle: Fix for assertion failure in viewport preview.

An assertion to check if `re->clipsta` < 0 (added as part of addressing
T36009 in rBrB795034c17d76bef2a15e576ac9c70ae2268a823b) was failing when
Freestyle viewport preview rendering takes place in the camera view with
an orthographic camera (in this case, the user-defined clipping range is
used without changes, so that `re->clipsta` is positive). The
`re->clipsta` property has a negative value only when the 3D viewport is
in an orthographic view but not in the camera view. It seems that this
viewport setting cannot be identified from rendering settings accessible
from Freestyle. Now a negative `re->clipsta` value is directly checked
instead, without relying on other render flags.
Revision c7bccb3 by Sv. Lockal
May 11, 2015, 15:49 (GMT)
Cycles: check for F16C support with __cpuid, as we do for BMI and BMI2
May 11, 2015, 15:22 (GMT)
Collada Exporter: sanitize a bit lnor export.

In case `BKE_mesh_calc_normals_split()` would fail, exporter would read
uninitialized random mem... Should not happen, but better be safe than sorry.
May 11, 2015, 15:12 (GMT)
Clearing preview image shall also unset 'user edited' flag!
May 11, 2015, 14:41 (GMT)
Cycles: Get rid of one more OpenGL matrix manipulation/push/pop.
May 11, 2015, 14:37 (GMT)
Expose PreviewImage & custom icons to py API.

This commit mainly:

* Exposes PreviewImage struct in RNA, including ways for user to set images data.
* Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image.
* Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system.
* Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons.

Note that loading image from files' thumbnails is done when needed (deferred loading), not
when defining the custom preview/icon.

WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level.
We do not want our UI to explode under hundreds of different flashy icons!

For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons)
and the example/templates featured with Blender.

Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29).

Differential Revision: https://developer.blender.org/D1255
May 11, 2015, 14:28 (GMT)
Cycles: use vertex buffers when possible to draw tiles on the screen.

Not terribly necessary in this case, since we are just drawing a quad,
but makes blender overall more GL 3.x core ready.
May 11, 2015, 12:14 (GMT)
Keep valgrind happy by using tight vec3 packing instead of lax vec4 with
an unused coordinate missing.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021