Blender Git Commits

Blender Git "master" branch commits.

Page: 2086 / 5574

June 7, 2017, 21:42 (GMT)
WM: move manipulator library into editors

As with operators, the window-manager has the API for defining,
the editor can implement and register its own manipulators.

This exposes wmManipulator, keeping it opaque isn't
practical if editors and Python are to implement their own.
Revision bfa5efe by Mike Erwin
June 7, 2017, 20:28 (GMT)
Fix MSVC compile (T51740)

Gawain doesn't include Blender's cross-platform "inline" definition. This change slipped in as part of D2697.
Revision 179bb97 by Mike Erwin
June 7, 2017, 20:20 (GMT)
Gawain: stricter lookup of builtin uniforms

UNIFORM_NONE should never match a valid uniform (builtin or custom).

The logic for UNIFORM_CUSTOM was just wrong, since it returned the first custom uniform. This function should only accept builtin (non-custom) uniforms.
Revision bb3e669 by Mike Erwin
June 7, 2017, 20:20 (GMT)
Gawain: faster lookup shader attribs by name

Quick hash rejection instead of string comparison. Uniform lookups already work this way. I don't expect a major overall speedup since attributes are looked up less frequently than uniforms.
Revision a5242d0 by Mike Erwin
June 7, 2017, 20:20 (GMT)
cleanup floating point literals

June 7, 2017, 19:30 (GMT)
WM: add wmManipulatorType, from wmManipulator

Having the type in mixed in with each instance
made it hard to expose types to RNA/Python.
Revision d25ab3f by Joshua Leung
June 7, 2017, 15:23 (GMT)
Fix: GP Clone brush was not correcting color references for pasted strokes either
Revision 2bd4978 by Joshua Leung
June 7, 2017, 15:23 (GMT)
Fix: Pasting GP strokes files between files (or when the original colors were deleted) would crash

The problem was that the strokes in the copy-paste buffer could be keeping
dangling pointers to colors that were already freed. Therefore, this commit
makes it so that when copying the strokes, we now make copies of the colors
and put them in a hashtable beside the stroke buffer. This is convenient,
as it saves us having to look up what colours need to be copied over each
time when pasting.
Revision 7667040 by Joshua Leung
June 7, 2017, 15:23 (GMT)
GP Copy/Paste Fix: Paste button doesn't update after copying strokes using Ctrl-C
Revision 89d4164 by Joshua Leung
June 7, 2017, 15:23 (GMT)
GPencil Copy/Paste Fix: Copying/Pasting strokes between datablocks would crash

The problem was that newly pasted strokes were still using colours from
the original datablock. As a result, you'd either get an immediate crash,
or if you managed to save the file before it crashed, each stroke would get
reloaded with a dummy colour.

This commit fixes makes it possible to copy/paste strokes between datablocks
again. However, there are still problems when trying to paste across file
boundaries (i.e. copy strokes in one file, paste in another), which the next
commit will address.
June 7, 2017, 13:56 (GMT)
Manipulators: lamp, camera & force-field

From custom-manipulators branch.
These may be improved they work on a basic level.
June 7, 2017, 12:53 (GMT)
Bevel Op (internal and API) now returns new edges and verts as well as
faces.

This was requested by script writers. Especially needed if beveling
wire edges with vertex_only.
Should be backward compatible as just adds two new keys to returned
dict in python ('edges' and 'verts').
June 7, 2017, 12:13 (GMT)
Minor manipulator API changes

Sync up with custom-manipulator branch
June 7, 2017, 12:09 (GMT)
Merge branch 'master' into blender2.8
June 7, 2017, 12:08 (GMT)
Depsgraph: Remove modifiers operation code

Was internally a no-op operation, which only caused extra work
to be done during depsgrpah traversal and evaluation, without
making any measurable improvement.
June 7, 2017, 10:53 (GMT)
Depsgraph: Remove unused operation codes
June 7, 2017, 10:47 (GMT)
Depsgraph: Remove dead/unused operation codes
June 7, 2017, 10:18 (GMT)
Merge branch 'master' into blender2.8
June 7, 2017, 10:16 (GMT)
Report OpenSubdiv version Blender is compiled against
June 7, 2017, 09:38 (GMT)
Collada: Add search path which is used default by it's SCons build system
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021