Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2435 / 5574

Revision 384a16b by Mike Erwin
January 16, 2016, 07:17 (GMT)
cleanup: C99

- tighter scoping
- declare closer to use
- struct initializers
- bool vs int
Revision a29e2c3 by Mike Erwin
January 16, 2016, 06:17 (GMT)
OpenGL: simplify some UI draw calls

- vectorscope grid
- color ramp handles
- box shadows (image file preview)
Revision f4cd7ca by Mike Erwin
January 16, 2016, 05:11 (GMT)
OpenGL: pull glBegin/End out of loop

so that all points here are drawn between one Begin/End pair.
Revision 2d71d13 by Mike Erwin
January 16, 2016, 04:51 (GMT)
OpenGL: fixes related to GL_POINTS

I put all usage of GL_POINTS under the microscope. Fixed problems &
optimized a couple of spots.

- reduce calls to glPointSize by about 50%
- draw selected & unselected vertices together for UV editor & EditMesh
- draw initial gpencil stroke point the proper size
- a few other smaller fixes

New policy: each GL_POINTS draw call needs to set its desired point
size. This eliminates half our calls to glPointSize (setting it back to
its 1.0 default after every draw).
January 16, 2016, 04:38 (GMT)
Cleanup: stdbool no longer optional, remove checks
January 16, 2016, 04:00 (GMT)
Cleanup: use enum constant for DNA comparison
January 16, 2016, 02:10 (GMT)
Blender Internal: subframe render support

Note this doesn't expose the option to the interface,
it just means scripts that set the subframe can render (as with Cycles).
January 16, 2016, 02:01 (GMT)
Cleanup: style
January 16, 2016, 00:32 (GMT)
Fix T47181: Blender OSL script node crash (OSL 1.6.9)

Compiling OSL scripts with errors in them would cause Blender to crash since the OSL version
bump to 1.6.9 instead of printing the error to the console as it did before.

With version 1.6.2, OSL added a pointer to an OpenImageIO ErrorHandler as an argument to the
OSLCompiler constructor. However, since it defaults to the NULL pointer, Blender still compiled
fine after the OSL version bump.
It turns out, though, that this pointer is used without further checks inside the OSL code, which
makes it crash when it tries to report an error unless a valid ErrorHandler pointer is specified.
Therefore, this commit simply passes a pointer to the static default handler that OIIO offers,
which prints the error to the console just like OSL did before.

Using this feature for a more advanced error handling and displaying from the Blender side would
be possible and seems reasonable, but for now it's not really relevant for fixing this bug.
January 15, 2016, 15:00 (GMT)
Cycles-Bake: Custom Baking passes

The combined pass is built with the contributions the user finds fit.

It is useful for lightmap baking, as well as non-view dependent effects
baking.

The manual will be updated once we get closer to the 2.77 release.
Meanwhile the new page can be found here:

http://dalaifelinto.com/blender-manual/render/cycles/baking.html

Reviewers: sergey, brecht

Differential Revision: https://developer.blender.org/D1674
January 15, 2016, 14:19 (GMT)
Fix T47185: Wrong items order with template_icon_view.
January 15, 2016, 11:29 (GMT)
Changes around update normals from PBVH to CDDM

- Only do this if PBVH is not used for display, this should correspond
to whats' happening in sculpt.c now.

- No need to do such synchronization for solid drawing, it supports
optimal display from PBVH.

In fact, such synchronization is only needed in the following case:

Drawing callback does not support PBVH draw and sculpt session is
configured to use PBVH for display and related operations.
January 15, 2016, 10:37 (GMT)
Tracking: Make plane track sliding aware of closest mouse

Also made threshold aware of zoom, so now it's always 12px threshold
regardless of how much you're zoomed in.
January 15, 2016, 10:15 (GMT)
Tracking: Split tracking_ops into smaller files

The file started to be rather really huge and difficult to follow.
Should be no functional changes.
January 15, 2016, 10:15 (GMT)
Tracking: Cleanup, use more strict code style

Should be no functional changes.
January 15, 2016, 07:40 (GMT)
Cleanup: used pre-defined atoms in ghost
January 15, 2016, 07:23 (GMT)
Tracking: Use sliding zone which is closer to the mouse

Previously it was simplier logic which only checked whether the mouse
is inside of some area around sliding zone, which was resulting in
wrong sliding zone used when zoomed out.
January 15, 2016, 05:47 (GMT)
Fix T31063: X11 window resize fails on PPC

X11 property access was using wrong sized types that only worked for little endian systems.
January 14, 2016, 23:23 (GMT)
Fix crash w/ scripts run from the command line that load files

Also refactor context backup/restore into functions.
January 14, 2016, 22:18 (GMT)
DNA: partial revert of long removal

924c626 broke loading on systems with different endian.
We could support reading values from SDNA, it isn't really worth the extra hassle.

Long support is still removed, just keep enum values the same.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021