Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5175 / 8462

December 22, 2014, 08:57 (GMT)
Quick fix for UI themes, by meta-androcto (Brendon Murphy), thanks.
December 22, 2014, 08:43 (GMT)
Fix T42966: Py_Initialize: Unable to get the locale encoding

This only happened for SCons builds and caused by pure human stupidnes.
December 21, 2014, 15:02 (GMT)
WIP: merge work on local branch about using UILists for bookmarks, be able to rename them, etc.

Doing it mostly because I need some update work done here so far to get py uilists/bookmarks working.

This exposes/moves part of bookmark code to ED_ area, so that it becomes available from e.g. RNA.
And adds RNA struct and such to represent a bookmark entry.

Also, Bookmark format is ammended to store optional custom names.

All this is still *very* crappy, should probably take some time soon to cleanup the whole branch!

See also T42777.
December 21, 2014, 14:48 (GMT)
GPencil: Correction to rB071ec918f4cd

* correct API convention: in rB071ec918f4cd gp_draw_data drew mulitple data blocks, I added gp_draw_data_all which now calles gp_draw_data multiple times (if needed). This follows our normal convention, e.g. see UI_panel_category_draw_all
* Draw scene data first, users may expect it like this

Points raised by @aligorith, thanks for this!
December 21, 2014, 14:20 (GMT)
Merge branch 'master' into asset-experiments
December 21, 2014, 11:40 (GMT)
Fix T42973: Render viewport not updating when switching materials in Outliner

For now, do as RNA material update functions - tag object for update too.
December 20, 2014, 15:47 (GMT)
Add group preview generation too.
December 20, 2014, 15:18 (GMT)
Fix T42961: GPencil - Refactor object/scene data behaviour

D937 with minor edits (whitespace only)

@aligorith, I double checked everything runs smoothly, blame me if I missed something ;). Sorry for just taking the initiative and committing without talking to you, but I wasn't able to catch you the last days. This should be fixed before the release IMHO, but I don't think it's important enough to be committed during BCon5, so sorry again, but hopefully everything is okay :)
December 20, 2014, 13:16 (GMT)
RNA Object.matrix_local: Add a big warning this matrix is only relative to parent object.

So 'advanced' parenting like e.g. bones or vertices need further processing
to get a real parent-relative matrix...
December 20, 2014, 12:48 (GMT)
Fix T42972: fcurve lasso select crash
December 20, 2014, 12:44 (GMT)
Merge branch 'master' into asset-experiments
December 20, 2014, 01:15 (GMT)
Force phony targets to build (even if file exists)

This is a convenience makefile only,
files if they exist by accident shouldn't ever be used.
December 19, 2014, 19:23 (GMT)
Ensure no integer overflow happens in SuperLU solver on memory allocation
x
December 19, 2014, 15:11 (GMT)
Modify facemaps mapping to bones.

Now simply add a flag to the armature modifier to use facemaps. Facemaps
on the mesh object with the same name as the armature bones will get
displayed as widgets.
December 19, 2014, 14:07 (GMT)
Depsgraph: Initial support for skipping invisible IDs update

General idea is quite simple here:

- Store layers in the IDDepsNode (same as we did in the old dependency graph).

This layer would correspond to ID layers themselves plus layers of nodes which
depends on it.

Here's where first tricky part begins: i'm not sure how we could flush layers
between nodes. Basically because it's totally unclear how do we perform full
DFS nowadays. Previously it was simple because of having root node and knowing
for sure nodes which doesn't have dependencies. Would need to think a bit how
to do it now.

- We keep track of currently visible layers.

Here's where tricky parts continues. basically the question is: where do we
store currently visible layers? Evaluation context comes in mind, but that'd
be wrong idea. basically because evaluation context is shared between scenes
and since it's possible to have two different scenes visible we can not store
single value.

So for now we store visible layers in the depsgraph itself. This way we're
decoupling visible layers between scenes. This is temporary solution for
until we'll have some more centralized storage. Should be easy to move stuff
around anyway, so wouldn't be so much fussed about this.

Another tricky part here is the render engines. Currently there's no visibility
check performed for render engine update.

So after all it seems we'll need to store visible layers somewhere and pass
what layers we're currently interested in to the depsgraph evaluation, making
it so we can easily use the same graph for viewport and render engine and
perform all the visibility checks we want.

- We don't schedule invisible IDs during evaluation.

We instead put them to the "to be updated when becoming visible list". Now,
this list is a bit of an overkill, would be better to have some sort of legacy
(ID->flag & ID_NEEDS_UPDATE) flag, but since we're currently not really sure
what the storage for such a flags would look like we'll keep a temp list for
now. Again, it'll be easy to change in the future, so wouldn't be fussed here
as well.

- When visibility changes depsgraph updates visible layers and re-schedules
updates of previously invisible objects.

TODOs:

- Implement layers visibility flush.
- Make sure set scenes works all nice.
- Move temp storage to somewhat final storage (well, implement that final
storage first :)
December 19, 2014, 13:56 (GMT)
Presets for hair dynamics.

This is necessary because the hair dynamics settings are not part of the
ParticleSettings datablock, but part of the convoluted cloth modifier
inside the particle system struct. In the future this will be recoded
properly, but in the meantime presets provide a simple an unobtrusive
way to have reusable dynamics settings for hair.
December 19, 2014, 13:54 (GMT)
Fix stupid error (CMake install does not clean removed files it seems :/ )
December 19, 2014, 13:44 (GMT)
Merge branch 'master' into wiggly-widgets
December 19, 2014, 13:43 (GMT)
Minor cleanup to previous commit
December 19, 2014, 13:29 (GMT)
Various improvements to obj preview generation:

* Do not render cameras, lamps etc. for now.
* Generate bbox in camera local space, gives much better results.
* Add an op to clear previews from files.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021