Blender Git Commits

Blender Git "master" branch commits.

Page: 2294 / 5574

Revision 7bc9353 by Joshua Leung
August 27, 2016, 10:58 (GMT)
Code Cleanup (Non-functional tweaks)

General reshuffling of defines and spacing/brace usage for consistency.
In particular:
* When defining types, don't mix pointers and non-pointer types on same line
to avoid confusion
* As much as possible, have all defines at the top of each block instead of
scattered haphazardly throughout the code
August 27, 2016, 10:52 (GMT)
GPencil: Cleanup change color operator

It is faster to assign the color to the pointer instead to force the new
lookup in drawing function.
August 26, 2016, 18:29 (GMT)
Fix T49151: ParticleSettings' usercount not decremented when removing a psys from an object.
Revision 5849651 by Mai Lavelle
August 26, 2016, 16:14 (GMT)
Cycles: Make UI for subdivision more clear

Users have been getting a bit confused by the way things are worded/arranged in
the UI. This patch makes a few changes to the UI to make it more clear how to
use subdivision:

- make Subdivide UVs option inactive when adaptive subdivision is enabled as UV
subdivision is currently unsupported
- add "px" to dicing rates in the Geometry Panel
- display the final dicing rate in the modifier
- reworded "Dicing Rate" in the modifier to "Dicing Scale" to make more clear
that this is a multiplier for the scene dicing rate and added a note the the
tooltip pointing the user to that setting in the Geometry Panel

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2174
August 26, 2016, 14:14 (GMT)
Usual i18n/UI messages fixes...
August 26, 2016, 13:46 (GMT)
Fix T49158: Untranslatable elements in UI.

We cannot skip 'collections clesse' when generating i18n messages from RNA, some of them
are visible and UI...
August 26, 2016, 12:28 (GMT)
Fix linking issue with OpenEXR and Zlib.

Link Zlib after OpenEXR.

Differential Revision: https://developer.blender.org/D2176
August 26, 2016, 12:28 (GMT)
Fix over creation of cache files handles (leading to memory leaks).

Multiple threads could create multiple handles for the same cache file,
so protect handle creation with a mutex, to make sure only one is
created.
August 26, 2016, 12:28 (GMT)
Fix cache constraint not reference counting cache files.
August 26, 2016, 12:28 (GMT)
Fix T49168: crash when evaluating a cache constraint with a NULL cache
file.
August 26, 2016, 12:05 (GMT)
Depsgraph: Report number of objects to which update as flished

This is an easiest way in the new depsgraph to get an idea how much objects
were handled on update.
August 26, 2016, 12:01 (GMT)
Cleanup: Remove unused variable
August 26, 2016, 12:00 (GMT)
Depsgraph: Report overall number of updates objects
August 26, 2016, 11:58 (GMT)
Cleanup: Use more meaningful names and move calculation into am if statement
August 26, 2016, 10:54 (GMT)
Fix T49139: Memory leak in UV image editor related to Undo (and possibly Waveform and Vectorscope).

Assigning NULL to scopes' data pointer in 'non-UI readfile' context was terribly wrong for sure,
if we'd really want to reset them here we should freed them first.

But we can rather just ignore them here, those are purely runtime data managed by image editor,
no need to touch them here.
Revision 42bbfe7 by Mike Erwin
August 26, 2016, 05:12 (GMT)
OpenGL: draw grid floor & axes with new immediate mode

Significant rewrite with some improvements.

Maintain visual hierarchy of the grid:
- emphasized lines draw atop normal lines
- axes draw atop all lines (same as before)

Draw axes only once, not twice.

Return early if nothing to draw.

Single draw call for the default case (grid floor with X and Y axes).

Z axis needs a second draw call because it uses 3D coordinates.

Part of T49043
Revision f73c4b4 by Joshua Leung
August 26, 2016, 04:38 (GMT)
Fix: Use submenu for GPencil -> Select Grouped
Revision 274e1c4 by Joshua Leung
August 26, 2016, 04:25 (GMT)
Code Cleanup

* Stroke editing functions should be in gpencil_edit.c not gpencil_data.c
(the latter is only for handling "CRUD" operations on things like
layers, brushes, and palettes)
* Deduplicate the GP_STROKE_BUFFER_MAX define
Revision 2ac75fe by Joshua Leung
August 26, 2016, 04:15 (GMT)
Fix: Color of frame/selected object indicator in 3D View didn't indicate GPencil keyframes
when there was no active object
Revision 84cd137 by Joshua Leung
August 26, 2016, 04:15 (GMT)
GPencil: Select Grouped -> By Color

Added a way to select all the currently visible strokes that use the same
color as the selected stroke. This can be accessed via the Select Grouped (Shift-G)
operator as an alternative to selecting by layer.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021