Blender Git Commit Log

All Blender Git commits.

Page: 3841 / 8462

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 (master)
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 (master)
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 (master)
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 (master)
June 7, 2017, 20:20 (GMT)
cleanup floating point literals

June 7, 2017, 19:36 (GMT)
Merge branch '28' into custom-manipulators
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.
June 7, 2017, 19:02 (GMT)
Add wmManipulatorType, extract from wmManipulator

Having the type in mixed in with instance
made it hard to expose types to RNA/Python.

This disables face-map select,
we could enable it but it looks like face maps will be made to work
differently.
June 7, 2017, 16:08 (GMT)
fix for packing materials, material index start value could overflow due to being a short instead of int
June 7, 2017, 15:23 (GMT)
Fix: GP Clone brush was not correcting color references for pasted strokes either
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.
June 7, 2017, 15:23 (GMT)
GP Copy/Paste Fix: Paste button doesn't update after copying strokes using Ctrl-C
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, 14:40 (GMT)
WIP: More UI changes and continuous drawing

More changes in the panels and enable continuous drawing mode by
default.
June 7, 2017, 14:35 (GMT)
Set sculpt cursor when enter in sculpt mode

Include some cursor reset for other modes
June 7, 2017, 14:20 (GMT)
Rename py API files

Will use for manipulator and manipulatorgroup.
June 7, 2017, 14:15 (GMT)
also store material index in shards, so it can be loaded from blend later
June 7, 2017, 14:08 (GMT)
fix for material assignment when converting back to objects
June 7, 2017, 14:07 (GMT)
Merge branch '28' into custom-manipulators
June 7, 2017, 14:07 (GMT)
Set the default cursor

Sometimes when restore previous cursor, the value is not the default, so it's better to set manually.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021