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
path: root/source
AgeCommit message (Collapse)Author
2013-03-22code cleanup: use booleans and const's for operator vars.Campbell Barton
2013-03-22fix error with merge operator not handing error cases properly (errors ↵Campbell Barton
wouldn't cancel the operator as they should). was mixing up OPERATOR_CANCELLED with 0.
2013-03-22Tweak to previous commit - make range check less strict so that indicators don'tJoshua Leung
flicker off so easily when target moves off screen
2013-03-22Graph Editor: Draw indicators on the active Driver F-Curve which show theJoshua Leung
relationship between the result of driver evaluation (NKEY region stuff) and the end result applied to the driven properties. Example: http://www.pasteall.org/pic/47687
2013-03-22BGE bugfix for [#34505] Vertex Colors not working in the BGE (for custom ↵Dalai Felinto
GLSL shaders) when multitexture and no material Bug introduced on rev.36723
2013-03-22code cleanup: conversion from blender to BGE was unnecessarily confusing in ↵Campbell Barton
checking weather to use vertex colors, move check to function.
2013-03-22BGE bugfix: [#34550] getVertexArrayLength changed in 2.66Dalai Felinto
This bug was producing way more geometry than we need. Potentially memory saver (or performance even) bugfix. Bottomline is: We need to initialize the UVs otherwise vertex comparison fails ... Ideally MoTo should take care of initializing MT_Point2 (note in Windows that seems to be fine, but it's safer to not rely on that)
2013-03-22python api: add functionality to remove uv-texture layers.Campbell Barton
2013-03-22Fix for Render Layers node, reported by Jason van Gumster (Fweeb) on IRC. ↵Lukas Toenne
The render layer operations need their RenderData pointer set. This was done for all connected output operations, but not for the preview operation which uses the image color layer. In case the image output is unconnected this leads to NULL pointer access.
2013-03-22python api: add functionality to remove vertex color layers.Campbell Barton
note: that this intentionally removes check to exit vpaint mode when a vertex color layer is removed, since being in vertex-paint mode without a vertex color layer is supported. also minor change to drawing camera limits while picking from previous commit.
2013-03-21mist line can now be used for camera selection.Campbell Barton
2013-03-21Fix for a node compatibility code bug (reported by kopias in IRC). ↵Lukas Toenne
Compatibility data (links with NULL fromnode/tonode pointers) was created for all node trees in library data, including local scene/material/... trees, but on loading was only actually removed for node groups. Now cleans up all trees in the library to be sure, and only generate new compat data for actual group trees.
2013-03-21patch [#34687] Patch for AutoMerge button in 3d editorCampbell Barton
from Dan McGrath (dmcgrath)
2013-03-21fix for own recent commit - added function into wrong side of ifdefCampbell Barton
2013-03-21use clip alpha setting for empty-image drawing.Campbell Barton
2013-03-21Render border + crop will be handled correct in compositor nowSergey Sharybin
This commit simply implements mapping from centered cropped canvas to a full-frame coordinates, so operations like alpha-overing render result on top of image will be properly aligned.
2013-03-21revert edit from r55461, causing build error on some systems.Campbell Barton
2013-03-21code cleanup: rename editmode functions so we have ↵Campbell Barton
ED_object_editmode_load/enter/exit
2013-03-21code cleanup: remove double call to BKE_node_instance_key(), rename ruler ↵Campbell Barton
(lots of tools are 3d :)), and redundant assignment.
2013-03-21py api: add Object.update_from_editmode(),Campbell Barton
Useful for python exporters to avoid toggling editmode on export, moved into own function ED_object_editmode_load(obedit).
2013-03-21Add a little bit of space between socket layouts on nodes.Lukas Toenne
2013-03-21Fix for extra string width padding in ui_text_icon_width, causing labels in ↵Lukas Toenne
right-aligned layouts show an annoying gap. If the layout is right-aligned, make the text button align right as well, so text is drawn at the right side of the alloted rect.
2013-03-21Bug fix #34713Ton Roosendaal
Using MultiSample, the code that inspects Z buffer values fail, like for grease pencil drawing on "Surface". It appears to me that all this depth draw/read code is ignoring gpu offscreen entirely. This should be confirmed by Campbell though :) I'm also quite unsure why this code exists, related to other tools that use depth too (particles, sculpt). Good to mark down for our viewport recode.
2013-03-21Bugfix: Transform autokey warning indicator text was getting clipped prematurelyJoshua Leung
After quite some time debugging going back through previous commits for this feature and digging around the internals of the blenfont,I finally found the culprit. It turns out that there was just a single line missing between BLF_width_default() and BLF_width_and_height_default(), which caused the widths returned to understimate the space required or so, causing text clipping. The offending line probably correcting for different DPI scaling values.
2013-03-21Tweaks to movie clip prefetching after discussion with SebastianSergey Sharybin
Don't use sequencer's Frames Prefetch option and rather fill the whole cache with frames. Since movie clip is not "classical" prefetcher (it doesn't do anything while playing back) and main purpose is to speed up reading for further tracking and so, such a change seems logical.
2013-03-21Driver error warnings are now only printed to the console when Blender is runJoshua Leung
using the -d flag This prevents a stream of error messages flooding the console when working with particular rigs which may have a few broken controls. In general, riggers now have a better alternative by using the filtering tools in the Graph Editor.
2013-03-21Bugfix [#34688] Auto-Keying doesn't include custom properties when pasting posesJoshua Leung
Previously, Paste Poses only used the LocRotScale Keying Set for autokeyframing purposes. This was fine for most purposes, but with many rigs these days also using custom properties for important posing functions, it's important that we include those here too.
2013-03-21code cleanup: misc warnings/styleCampbell Barton
2013-03-21fix for incorrect use of 'bool', also fix 2 older bugs in fly mode.Campbell Barton
- panning didnt keyframe translation animation. - when checking to key translation: speed `float` was converted to an `int` then treated as a bool, now check (speed != 0).
2013-03-21code cleanup: use bool where values are true/false, for view3d and related ↵Campbell Barton
functions.
2013-03-20I18n users request: add the ability to use a translated name for newly ↵Bastien Montagne
added/created objects or other datablocks. This simply adds a third "translation type" (in addition to iface and tip), "new data", with relevant user settings flag and helper funcs/macros (and py api). Currently implemented name translation when adding new objects, as well as modifiers and constraints, will add the others (cd layers, scenes, perhaps nodes [though I think they do not need this], etc.) later.
2013-03-20Changes to compositor output nodeSergey Sharybin
Make it so compositor output node wouldn't be calculated when Render Result image is not visible on the screen. This makes compositor tree editing more friendly and faster. Also, if there's no viewer image visible on the screen viewer nodes wouldn't be handled. Final rendering keeps unchanged for now. This solves issues when for performance artists are disconnecting compo output node before tweaking values in compositor and forgets to attach compo output node before sending file to the farm.
2013-03-20When using border rendering, use the same border for compositorSergey Sharybin
This makes compositing as fast as it's possible in this case. The only thing is border render+crop will still give funcy results. This is the next thing to be solved in compositor.
2013-03-20Bugfix [#34710] Crash on duplicating object with cloth modifier.Daniel Genrich
Caused by last commit by me.
2013-03-20Prefetching for movie clipsSergey Sharybin
This commit basically implements frames prefetching for movie clip datablock. Number of frames to be prefetched is controlled in User Preferences, System tab, Prefetch Frames option. Currently prefetching is destructive-less for movie cache, meaning mo frames will be removed from the cache when while prefetching. This is because it's half of simplier to implement, but it also makes sense from tracking point of view -- we could want to playback in both directions and removing frames from behind time cursor is not always a good idea. Anyway, smarter prefetching strategy could be developed later. Some implementation notes: - Added MEM_CacheLimiter_get_memory_in_use function to get memory usage of specified memory limiter. - Fixed prototype of MEM_CacheLimiter_get_maximum which was simply wrong (used wrong data type for output). - Added some utility functions to movie clip and movie cache for direct cache interaction and obtaining cache statistics. - Prefetching is implemented using general jobs system. which is invoking from clip draw function. - Prefetcing will stop as soon other job or playback starts. This is done from performance point of view. Jobs will likely require lots of CPU power and better to provide whole CPU to it. Playback is a bit more complicated case. For jpeg sequence playback prefetching while paying back is nice. But trying to prefetch heavy exr images and doing color space conversion slows down both playback and prefetching. TODO: - Think of better policy of dealing with already cached frames (like when cached frames from other clips prevents frames from current clip to be prefetched) - Currently a bit funky redraw notification happens from prefetch job. Perhaps own ND_ is better to have here. - Hiding clip while prefetch is active in theory shall stop prefetching job. - Having multiple clips opened on file load will prefetch frames for only one of them.
2013-03-20Small fix: make node backdrop draw with nearest-pixel filter, so it zooms in Ton Roosendaal
showing pixels. Issue was it also blurred image at zoom level 1... maybe subpixel issue. Anyway - for inspecting exact composite results, zooming in showing pixels is nicer anyway.
2013-03-20- add knife project to toolbar.Campbell Barton
- when running knife project, disable vertex selection since it may select areas between the newly cut regions. add EDBM_selectmode_disable() function since loopcut does this too. - (optimization) avoid looping over all geometry when flushing and no selection exists.
2013-03-20Fix #34694. This was actually a bug in the compositor's Bokeh Blur ↵Lukas Toenne
operation. It was writing outside of allocated memory in case of (0, 0) size buffers, with the usual unpredictable results.
2013-03-20add option to convert grease pencil into poly line directly.Campbell Barton
Without this, bezier curves at 12 resolution are very high detail for many tasks when converted from freehand strokes. so add the option to convert 1:1 grease pencil points to curve polygons. also add use_handles option to curve conversion which is used when converting beziers to poly lines.
2013-03-20When making a node group always add one input and one output node, ↵Lukas Toenne
regardless of whether there are any exposed sockets. The standard common case is that some sockets will eventually have to be exposed anyway, and it's easier to just delete the unused node instead of having to look it up in the menu.
2013-03-20add back -Wredundant-decls, just not for older gcc'sCampbell Barton
2013-03-20Fix for #34708 and #34709, cycles group nodes were not working well with 0 ↵Lukas Toenne
or 2+ group input/output nodes. The issue here was that the proxy nodes created for connecting extern group node sockets to the internal nodes were generated by the input/output nodes themselves. 0 input/output nodes: there would be no proxy that external group node sockets can map to 2+ input/output nodes: additional nodes would overwrite entries from previous nodes, so that only one of the input/output nodes would be used. Solution is to always generate exactly 1 proxy node for every group socket in advance, regardless of whether it is used internally. Internal node sockets can then all map to this proxy node. In the case out output nodes there should only ever be one active node, otherwise the connection to the proxy would be ambiguous. For this purpose the NODE_DO_OUTPUT flag has been exposed to RNA, so that cycles can check it and only use the active output.
2013-03-20Fix for compositor bug introduced in pynodes branch by removing the default ↵Lukas Toenne
MuteNode for unspecified nodes in the COM_Converter. Not sure why i removed this in the first place, but it means that reroute nodes are not properly replaced in composites. It worked for preview and viewer composite because the reroute nodes are replaced there already by the node tree localization ... this needs to be cleaned up.
2013-03-20Fix for bug reported on bf-committers: RNA function nodetree.links.new does ↵Lukas Toenne
not remove existing links when connecting to a linked input. The check for socket connection limits was 1 off, needs to add 1 to the link counter to anticipate the newly added link.
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-20fix for knife tool crash when knife_make_chain_cut() couldn't create a new face.Campbell Barton
2013-03-20Fix #34697, Undoing a node group crashes Blender.Lukas Toenne
The problem here was that the extra forward compatibility data for node groups (links to the node interface sockets) was written for files as well as undo memfiles. But only in the case of true .blend files is this data subsequently removed again after loading, which in the case of undo leaves invalid links hanging around in the node tree. Forward compat data is now skipped for undo.
2013-03-19Various cleanup around default i18n context.Bastien Montagne
Issue is that the real default context is NULL, however, in python and RNA, this value can't be used easily. So we use a specific string instead ("*"), defined as BLF_I18NCONTEXT_DEFAULT_BPYRNA. From now on, all bpy/rna code should only use the BLF_I18NCONTEXT_DEFAULT_BPYRNA value, while all "usual" C code should use the BLF_I18NCONTEXT_DEFAULT value (BLF_pgettext is still able to "understand" both, anyway). Also added BLF_is_default_context helper func, so that we can keep that check in a single place! Finally, we should no need anymore to understand the void string "" as default context too - two values for a same thing are more than enough!
2013-03-19change to variable size bokeh blue, dont blur larger areas then the current ↵Campbell Barton
pixel defines. caused nasty looking errors with DOF.
2013-03-19Removed the is_local_tree property from compo/shader/texture node trees. ↵Lukas Toenne
This was using an ID property, which causes trouble with 2.62 builds (possibly later) due to an old bug that causes ID properties in local node trees not loaded correctly. The bug has been fixed since then, but creating id properties will break with these builds. The property was not really necessary, so removing it will make it work as long as users don't add id properties themselves.