Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5814 / 8462

September 1, 2013, 14:10 (GMT)
Fix OS X compile error after enabling strict build flags for this module.
September 1, 2013, 14:10 (GMT)
Fix #36620: sss + indirect light rendering artifacts, due to wrong correlation in
the random numbers.
September 1, 2013, 13:19 (GMT)
Fix #36613: view select/all shortcuts not working in graph editor with the
maya key configuration preset.
September 1, 2013, 09:50 (GMT)
Patch #36622, by Henrik Aarnio: Fit backdrop image to the area dimensions.
A new operator to alter the backdrop zoom level so that it fits fully within the node editor area, and centers the image.
Shortcut alt-home, as home is used for fitting stuff into the view everywhere.
September 1, 2013, 08:58 (GMT)
kd-tree,
- replace numbers with defines for allocation increments and default array size.
- move array reallocation into a static function (deduplicate 2x).

also fix own mistake with uninitialized slop-space var in memory printing statistics.
September 1, 2013, 05:55 (GMT)
Mingw/Windows Compiling Fix:

In file included from sourceblendercompositoroperationsCOM_PlaneTrackMaskOperation.cpp:31:0:
sourceblenderblenlib/BLI_jitter.h:36:65: error: expected ',' or '...' before numeric constant
sourceblenderblenlib/BLI_jitter.h:37:65: error: expected ',' or '...' before numeric constant


It appears that an include used in COM_PlaneTrackMaskOperation.cpp brings in some Windows header file, which in turn defines rad/rad1/rad2 as some numeric constants.
September 1, 2013, 05:36 (GMT)
Mingw Compiling Fix - Conversion from int to unsigned char...

Apparently mingw/gcc is too stupid to recognise that the values
in alphatest will only be used if they're within the range of
unsigned char (i.e. 0 <= x < 255) when this is done using a ternary
operator. Then again, it's quite hard for humans to immediately
parse what is going on here either! Converting this clever code
back to a more obvious form that mere mortals (and compilers it
seems) can handle with ease ;)
September 1, 2013, 05:12 (GMT)
Mingw/Windows Compiling Fix

This commit attempts to fix the following error:

internguardedallocinternmallocn.c: In function 'rem_memblock':
internguardedallocinternmallocn.c:977:48: error: conversion to 'intptr_t' from 'size_t' may change the sign of the result [-Werror=sign-conversion]

From the references I've managed to find, it appears that
the second arg to munmap() should be size_t not intptr_t.
Fortunately though, we don't use this arg anyways atm, so
this should be quite harmless...
September 1, 2013, 03:43 (GMT)
use strict flags for lasso, boxpack, gsqueue and quadric's.
for lasso also use unsigned ints rather then shorts for the path length.
September 1, 2013, 03:37 (GMT)
use strict flags for scanfill, also replace shorts with unsigned shorts and ints/bools in some cases.
September 1, 2013, 02:46 (GMT)
use strict flags for guarded alloc
September 1, 2013, 00:46 (GMT)
move strict compiler checks into a header so its easier to manage in one place (pragmas were copied around).

also enable more strict warnings for BLF (which had some incorrect casts).
August 31, 2013, 16:36 (GMT)
Cycles:
* World background samples (Branched Path) were missing after integrator rename.
August 31, 2013, 14:07 (GMT)
Brushes are presented in a more space efficient manner. Color picker is now not a full blown widget, but a simple one.

* Fixed a bug whereby a variable wasn't declared at the start of a block.
August 31, 2013, 11:01 (GMT)
Quick followup for the previous commit to prevent crashes when having dependency cycles.
August 31, 2013, 11:01 (GMT)
Pass EvaluationContext to object update routines

Main purpose of this change is to get rid of legacy
G.is_rendering check to distinguish whether update
happens for viewport or for render purposes.

Currently EvaluationContext structure only contains
single field, which indicates whether update happens
for viewport or render, but in the future it might
be extended by all the stuff needed for duplis and
friends.

This commit also gets rid of derived mesh creation
fro modifier stack for operand objects (like second
operand for boolean). This was only confusing and
violated threaded update actually. Now modifier stack
assumes all the dependencies are met and derived
meshes for operand objects might be just used.

This requires some changes to renderer as well,
so now there's also a derivedRender stored in object
structure. It also solves old TODO when boolean
will use preview setting for it's operand subsurf
level.

There's still the whole bunch of TODOs:
- Duplis might have some regressions when rendering.

- External render engines are to be take care about
(there might be some regressions for them as well,
because they're for sure not aware of derivedRender).

- Viewport required DAG_on_visible_update when changing
current screen to keep all DMs up-to-date. The same
happens when changing the scene, so perhaps this is
correct thing to have anyway.

- Render database is doing some tricks to make sure
derivedRender for invisible objects but which are
needed for other objects are properly calculated.

It uses some recursion and might end up with some
crashes if having dependency cycles.

This is to be changed to non-recursive algorithm
which would be aware of cycles as well. API might
have some cleanup as well.

- Ideally, derivedRender shall be calculated in threads
(same as what's happening in scene evaluation).

- Currently only meshes are being changed. Other types
of objects are not expected to change any behavior.
August 31, 2013, 08:18 (GMT)
patch [#35928] View roll operator
from Kevin Mackay (yakca), with my own additions to make it modal (though there are no keys bound to modal roll by default).
August 31, 2013, 05:09 (GMT)
text spacing was using DPI rather then the size of the text.
characters could draw outside the selection when the text was scaled up.
August 31, 2013, 05:00 (GMT)
text drawing glitche - highlight line was offset slightly from selection.
August 31, 2013, 04:22 (GMT)
remove calls to CTX_wm_region(C) when the region is already known.
also remove unused toggle vars in uiHandleButtonData
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021