Blender Git Commits

Blender Git "master" branch commits.

Page: 2495 / 5574

October 12, 2015, 12:31 (GMT)
Cleanup: BLO: use proper typedef for expand_doit callback.
October 12, 2015, 12:30 (GMT)
Cleanup: BLO: move func doc comments to definitions of functions.

Follows our conventions and makes include file itself much cleaner.
October 12, 2015, 11:47 (GMT)
Cleanup in BLO API: rename 'append' funcs to 'link', since none do append, but only linking of datablocks!
October 12, 2015, 11:07 (GMT)
Workaround for glew initialization bug

It turns out libGL from Intel crashes when calling glxewInit (where mesa, nvidia work fine),
unfortunately the only option without making larger changes to glew,
is to inline the parts of glew we're using - before the glx context is created.
October 12, 2015, 10:15 (GMT)
Fix T34446: Make Local on linked mesh object: object gets removed if redo function is used.

Root of the issue is that we do not re-read lib data blocks and ID placholders (ID_ID bheads)
in undo context (in `blo_read_file_internal`), because `BLO_read_from_memfile` copies
lib datablocks and Main data directly from oldmain.
The idea being, linked data do not change from undo/redo.

This is valid as long as linked data was not changed by the undo step - but if some
was deleted or localized, it will be missing from oldmain, leading to data loss
(note that does not only concern objects, all linkable data types can be affected,
at least in theory).

This commit addresses that issue by carefully mixing reuse of needed data from oldmain,
and "normal" re-reading of missing one. Makes us swimming in some rather dark waters,
and gives a rather non-easy-to-follow code, but it seems to work quite well,
and only other solution would be to get rid of that optimization
(not re-reading all libs on undo/redo), which is not acceptable.

Also, thanks to @carlosdp for initial investigation of the issue.

Differential Revision: https://developer.blender.org/D1485
October 12, 2015, 04:08 (GMT)
Fix T46431: Init glew before glx-context crashes

Initialize glxew before glew,
so we can check whats supported before creating the context.

This also removes need for mxIgnoreNoVersion.
October 12, 2015, 02:13 (GMT)
Support applying scale for font objects
October 12, 2015, 01:31 (GMT)
Cleanup: RNA naming, use 'max' as a suffix
October 12, 2015, 01:31 (GMT)
RNA: correct tips
October 12, 2015, 01:22 (GMT)
Fix T46447: fix build on non-x86 platforms.
October 12, 2015, 01:22 (GMT)
Fix T46446: texture nodes image node not working with image sequences.
October 12, 2015, 01:02 (GMT)
Fix T46434: Shear w/ local-center & editmode fails
October 12, 2015, 00:35 (GMT)
Fix T46444: Crash importing DAE w/ empty armature
October 11, 2015, 18:36 (GMT)
Fix T46085: UV project modifier artifacts with vertices behind the camera.
Revision bd6febc by Thomas Szepe
October 11, 2015, 16:43 (GMT)
BGE: Change KX_WolrdInfo mathutils vector to color

Change the mathutils callback from vector to color for mistColor, backgroundColor and ambientColor.

Reviewers: lordloki, campbellbarton, panzergame, moguri, sybren

Reviewed By: panzergame, moguri, sybren

Projects: #game_engine, #game_logic

Differential Revision: https://developer.blender.org/D1432
Revision 3dd83b5 by Thomas Szepe
October 11, 2015, 16:28 (GMT)
BGE: Adding a Max Jumps value to the character physic window

Actually we only have a Python API that allows to change the max jumps value.
The patch also allows non programmers to change the maximum numbers of jumps.

Reviewers: panzergame, sybren, campbellbarton, lordloki, moguri, agoose77

Reviewed By: lordloki, moguri

Projects: #game_engine

Differential Revision: https://developer.blender.org/D1302
October 11, 2015, 15:16 (GMT)
Cycles: Make light behavior in local view matching BI

Title says it all, based on feedback of artists from gooseberry team.

This mainly affects cases when going to a local view from layers setup
when some lamps were on invisible layers. Those lights are no longer
becoming visible to the object in local view.

Reviewers: brecht, juicyfruit, dingto

Reviewed By: juicyfruit, dingto

Subscribers: maxon, eyecandy, venomgfx

Differential Revision: https://developer.blender.org/D1326
October 11, 2015, 14:43 (GMT)
Fix T45058: Cycles hair shader reflects incorrectly for meshes

The issue was caused by non-continuous tangent space calculated for triangles.

This commit adds a Tangent input to Hair BSDF node which can be used to hook up
Tangent calculated form UV as an input to the node in order to make sure the
tangent space is continuous.

Doing this as an input instead of using default tangent layer from UV because of
several reasons:

- This way it's really easy to preserve compatibility with existing setups.

- Default UV map is not necessarily giving continuous space, one might want to
use other tangent space sources or distort the space for some artistic
decision.

Reviewers: juicyfruit, dingto

Reviewed By: dingto

Differential Revision: https://developer.blender.org/D1428
October 11, 2015, 14:41 (GMT)
Cycles: Gracefully handle out-of-memory happening in device vector

Currently only image loading benefits of this and will give magenta color
when image manager detects it's running out of memory.

This isn't ideal solution and can't handle all cases. For example, OOM
killer might kill process before it realized it run out of memory, but
in other cases this could prevent some crashes.

Reviewers: juicyfruit, dingto

Differential Revision: https://developer.blender.org/D1502
October 11, 2015, 13:53 (GMT)
CMake: Enable WITH_PYTHON_INSTALL for lite builds

This is needed to run on OSX and Windows when system python isn't found.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021