Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-07-19code cleanup: case & brace placementCampbell Barton
2013-07-17style cleanupCampbell Barton
2013-07-17Possible fix for [#36086] Activating the opencl option in the compositor ↵Thomas Dinges
causes blender crash * Now OCL_init() returns error messages if the OpenCL library cannot be loaded.
2013-07-15Fix #36058: Displace Modifier errors using a baked Image and displace baking ↵Sergey Sharybin
inconsistency between 2.67/2.68RC and previous versions This was in fact really nasty bug, caused by multitex_nodes function using global variable R (which is a copy of current renderer). this variable is not initialized to anything meaningful for until first rendering (preview or final) happened. Since multitex_nodes might be used outside of render pipeline, made it so whether CM is on or off as an argument to functions multitex_ext_safe and multitex_ext. Now multitex_nodes() is only shall be used for stuff happening from render pipeline! Also needed to make some changes to other places, so all the usages of texture sampling knows for the fact whether CM is on or off. And one more change is related on behavior of dispalcement, wave, warp, weightvg modifiers and smoke. They'll be always using CM off since texture is used for influence, not for color. It's rather bigger patch, but it's mostly straightforward changes, which we really need to be done. Reviewed by Brecht, thanks!
2013-07-15replace strncpy with BLI_strncpy for cases we expect the string to be NULL ↵Campbell Barton
terminated.
2013-07-13fix for missing break with compositor levels (blue passed through to luminance)Campbell Barton
2013-07-13Fix #35586: add an option to the Z Combine compositing node to disable the ZBrecht Van Lommel
buffer antialiasing that was restored in 2.67 after it was missing in the new compositor implementation. This option tends to make results worse rather then better for Cycles renders, but is useful for Blender internal. Their Z-buffers look quite different for antialiasing, and I'd rather not change either.
2013-07-10Fix #36041, Chroma key broken. Compositor node was using wrong socket index ↵Lukas Toenne
to link the output of the RGBToYCC operation to the chroma matte input. This mistake happens over and over, it's just not clear what the index arguments in these relink functions mean ... We really need to clean up that interface.
2013-07-04Fix non-conditional out-of-bounds memory access in DoubleEdgeMask nodeSv. Lockal
2013-07-03Fix deadlock in coordinate wrapping operation with zero dimensionSergey Sharybin
2013-06-30Fix forJeroen Bakker
* [#35922] RGB Input Node doesn't work properly
2013-06-25Buildbot: disable command length workaround for now, seems to give link errors.Brecht Van Lommel
2013-06-25Buildbot: another workaround for the Windows command length limit, this timeBrecht Van Lommel
with the freestyle module which has 242 cpp files.
2013-06-25Attempt to workaround mingw64 buildbot issue with Windows command length limits,Brecht Van Lommel
by splitting the compositor module into 3 parts. The operating system limit is 32767, which gives less than 120 characters per file with 272 cpp files.
2013-06-13Fix #35634: weight paint did not do z-buffer culling anymore on Windows ↵Brecht Van Lommel
after recent change to size of bool.
2013-06-13Fix crash in movie clip node when ibuf fails to load.Sergey Sharybin
Was a stupid mistake in another fix here :(
2013-06-12Track Position node now could output absolute position of track at a given frameSergey Sharybin
2013-06-12Remove magic constants from Track Position node RNA code.Sergey Sharybin
2013-06-08Fix for bug [#35400] Dilate Erode Feather Bug - feathering wraps around imageMonique Dewanchand
2013-06-02Fix #35599: MovieClip node crashes when using multilayer exrSergey Sharybin
Multilayer EXR is not supported as a source for movie clip yet, but there's no excuse to crash!
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-28bmo_subdivide_edgering.c now builds with release+debuginfo, also remove ↵Campbell Barton
unused defines and correct include guards.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-20Math Node:Thomas Dinges
* Added a Modulo operation to the math node, available in Compositor, Shader and Texture Nodes.
2013-05-18Comment out coordinates mapping made in rev55469Sergey Sharybin
Such mapping only worked foe compositor output node (with some issues btw) and failed dramatically for nodes like previews and viewers. For now let's behave the same way as border+crop worked in 2.66 for until proper feature support is ready (which could take some time). Fixes #35313: object and ID anti-aliased masks get messed up when using border render + crop
2013-05-17Fix #35369: Crop node or FileOutput node bug.Sergey Sharybin
Issue was caused by file output node actually, The thing here is, compositor output does have fixed resolution and we could predict how to map coordinates for border and cropping in that case. But viewers and file output nodes are currently totally depending on an input resolution. Could not see how border could be applied reliably in this cases. Disabling border option for file output node, so now it shall behave the same way as it was before. Discovered issues when using cropping to render border, namely there's an offset in viewer nodes and previews, but this is separate issue i guess (file output seems to work fine). Will revisit this issue in next days.
2013-05-14Fix for #35349, multiple viewers nodes crashing during render. The condition ↵Lukas Toenne
for activating viewer nodes was completely overridden during renders. Changed this so viewer nodes are active only if both of these are true: 1) the node is tagged for recalc OR compo is in render mode 2) it is the currently active viewer (so only one viewer ever writes to the buffer)
2013-05-14style cleanupCampbell Barton
2013-05-13Fix #35330: Blur node crash due to size overflowSergey Sharybin
Issue was caused by too hight value used for size, which came from infinite Z-buffer point. Solved the crash by clamoing maximal gaussian table radius to 30K, which seems to be reasonable.
2013-05-13Fix #35327: compositing Z combine node was not giving the same result as ↵Brecht Van Lommel
previous versions when the Z values were the same, Also was inconsistent between full sample on/off.
2013-05-10Fix for #35291, Deleting 'Group Output' node in compositor causes Segfault. ↵Lukas Toenne
A group without an output node in compositor would leave the original Node instance in the graph with outgoing connections. This causes trouble because the Node is expected to be a NodeOperation. Now group nodes always get disconnected and if no output node is present will use the default group output values (which is slightly less confusing than using input values from connected nodes).
2013-05-05correction for uv template, also some doxygen comment corrections. Campbell Barton
2013-04-28minor changes, BLI_uvproject_from_view was doing matrix multiply for no ↵Campbell Barton
reason, quiet float/double warning.
2013-04-24Fix for #34739 and #35060, avoid ambiguity in compositor viewer nodes.Lukas Toenne
The design changes coming with pynodes for the node editor allow editing multiple node groups or pinning. This is great for working on different node groups without switching between them all the time, but it causes a problem for viewer nodes: these nodes all write to the same Image data by design, causing access conflicts and in some cases memory corruption. This was not a problem before pynodes because the editor would only allow 1 edited node group at any time. With the new flexibility of node editors this restriction is gone. In order to avoid concurrent write access to the viewer image buffer and resolve the ambiguity this patch adds an "active viewer key" to the scene->nodetree (added in bNodeTree instead of Scene due to otherwise circular DNA includes). This key identifies a specific node tree/group instance, which enables the compositor to selectively enable only 1 viewer node. The active viewer key is switched when opening/closing node groups (push/pop on the snode->treepath stack) or when selecting a viewer node. This way only the "last edited" viewer will be active. Eventually it would be nicer if each viewer had its own buffer per node space so one could actually compare viewers without switching. But that is a major redesign of viewer nodes and images, not a quick fix for bcon4 ...
2013-04-08style cleanupCampbell Barton
2013-04-07freestyle lineset `tag` attribute was defined but not used, also some code ↵Campbell Barton
cleanup.
2013-04-05code cleanup: include orderCampbell Barton
2013-04-05code cleanup: quiet some warnings and styleCampbell Barton
2013-04-05Fix for compositor bug found by Ton Roosendaal. Color Balance node was using ↵Lukas Toenne
wrong socket index to map the operation socket to the UI node socket.
2013-04-04Fix for 34703 Mix node (Hue, Saturation) update and rendering errorJeroen Bakker
Fix for 34494 Blender 2.65 regression test error - compo_map_uv_cubes.blend - stripe/artifact between cubes Hue and saturation node has an early break when saturarion is 0. When this happened the input 1 color needed to be used. This behaviour was not merged. When no FSAA is used in the ZCombine. a mask will be created, this mask will be antialiased and based on this mask the colors between the two images are blended. This was also behaviour that was not merged correctly. Now it is back making much better z-combines. Hope nobody uses these gabs as a work around. - At Mind - Jeroen & Monique
2013-04-02Box and Ellipse mask nodes will now output shapeSergey Sharybin
even if nothing is attached to input. They'll use black image with render resolution as a background if nothing is attached to mask input. Was a request from 4K ToS project.
2013-03-29misc minor edits.Campbell Barton
- pass string size to BLI_timestr() to avoid possible buffer overrun. - quiet warning for mingw. - include guards for windows utf conversion funcs. - fix for mistage in edge-angle-selection check. - some style cleanup.
2013-03-25Fix #34758, another Crash with NodeGroup. Took a while to get to the bottom, ↵Lukas Toenne
but the root of the issue was that nested node groups (groups inside other groups) were ungrouped ("inlined") repeatedly. This lead to preview operations being added to the same group more than once, and the redundant preview operations (beside working on the same preview buffer) did not get their correct resolution set. This in turn would then lead to previews writing beyond allocated size and causing corrupted memory + crash. Simple fix: don't expand node groups more than once.
2013-03-25code cleanup:Campbell Barton
- remove unused defines. - quiet some shadow warnings. - bevel, ifdef out some asserts that are too common. - style
2013-03-24fix for struct definition building with msvc2008 and some style cleanup.Campbell Barton
2013-03-22Add missing comment for m_isResolutionSetSergey Sharybin
2013-03-22Enable previews for inactive compo output and viewer nodes.Sergey Sharybin
This keeps old behavior and could be nice. However, it'll make compositing slower (doing final compo after editing tree). This is easy to hide preview in this case, and also i hope to implement percentage rendering soon.
2013-03-22Fix for compositor node preview sizes: Use the render output aspect ratio ↵Lukas Toenne
for estimating the required preview rect size instead of assuming a square, to avoid wasted space. Note that this does not work for newly added nodes until they have first been evaluated and a preview image has been generated (same behavior as before pynodes merge and associated preview changes).
2013-03-22code cleanup: use booleans and const's for operator vars.Campbell Barton