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-12-13Image cache rewrite to using generic movie cacheSergey Sharybin
Summary: Behaves very much the same as cache for Movie Clip datablock: - Image now have `MovieCache *cache` field which replaced legacy `ListBase ibufs`. This allows image datablock to easily keep of image buffers which are owned by itself. This field isn't saved to the file and getting restored on undo steps. However, cache limit is global for movies, sequences and image datablocks now. So overall cached image buffers size will not go above cache limit size in user preferences. - Image buffers which are marked as BITMAPDIRTY will never be freed from the cache. - Added utility function to iterate over image buffers saved in movie cache. - Movie cache cleanup check callback now have ImBuf argument which can be used in a condition of cleanup. - Added some utility functions which replaces legacy ibufs iterations with image cache iteration which happens from inside a lock. - Fixed `image_mem_size()` which was only counting one of the buffers if both float and byte buffer present. Additional notes: - `BKE_image_get_first_ibuf()` is rather stupid, but direct access to ibufs->first was also the same stupid idea. Would consider avoid this function is another project. - There are some places which doesn't look threadsafe, but they already were not so much threadsafe anyway before. So think not a big deal with solving this later. Finally solves infinite memory usage by image sequences! :) Reviewers: brecht, campbellbarton Reviewed By: brecht CC: sebastian_k Differential Revision: http://developer.blender.org/D95
2013-12-13Implement GPU-side ditherSergey Sharybin
Summary: Uses some magic pseudo-random which is actually a texture coordinate hashing function. TODOs: - Dither noise is the same for all the frames. - It's different from Floyd's dither we've been using before. - Currently CPU and GPU dithering used different implementation. Ideally we need to use the same dither in CPU. Reviewers: brecht Reviewed By: brecht Differential Revision: http://developer.blender.org/D58
2013-12-13minor style and comment fix.Antony Riakiotakis
2013-12-13Hide the 3D cursor in a few cases where it is unneeded (active object isAntony Riakiotakis
in sculpt mode or image paint mode and no clone tool is active)
2013-12-13Fix T37572: text editor scrolling not working well with Mac trackpad panning.Brecht Van Lommel
The trackpad would give isolated mouse pan events with a distance smaller than one line or character. For other 2D views this is all accumulated in floats, but in the text editor it only keeps track of integers, and the small mouse pan events got lost due to rounding. Now it keeps track of sub-line or sub-character scroll offsets to avoid this.
2013-12-12UI: remove text margin when a slider is aligned to another buttonCampbell Barton
Paint sliders had too much space on right (aligned with pressure icons)
2013-12-12Radial control operator support for pixel propertiesAntony Riakiotakis
2013-12-12RNA: Add pixels property typeScott Petrovic
2013-12-12improvements and simplification to gravity code:Antony Riakiotakis
* world to object matrix is calculated for view vector as well, reuse that. * if no orientation exists use world negative axis instead of object negative axis for gravity. there's also the issue of mirroring, it may be wise to invert the gravity effect there but it may be better to have artist feedback on that.
2013-12-12Sculpt mode Gravity feature from GSOC 2010 by Jason Wilkins.Antony Riakiotakis
Reviewers: sergey, brecht, campbellbarton, jwilkins Differential Revision: http://developer.blender.org/D89
2013-12-12Fix for error exposed by right-align number buttonsCampbell Barton
When the entire label was clipped, the right aligned number component could be clipped on its left hand side too. So "Foo: 1.00" could be clipped to ".00"
2013-12-12Fix T37595: Switching modal transform broke with trackball rotation.Campbell Barton
Id properties may have different sized "values" array depending on the transform operator
2013-12-12Code Cleanup: use const's and bools for idpropsCampbell Barton
2013-12-12RNA: Add assert to ensure the idprop is correct size on array get/setCampbell Barton
2013-12-12Fix T37757: MCE - Mask Pivot Point individual origins doesnt workSergey Sharybin
Simple wasn't implemented.
2013-12-12Fix for off by one error noted by Anthony EdlinCampbell Barton
2013-12-12Use factor subtype for plane track opacitySergey Sharybin
2013-12-12Code cleanup: indent preprocessor directives inside #ifdefSergey Sharybin
2013-12-12Mesh API: Add BKE_mesh_origindex_map_createCampbell Barton
This API function lets original data loop over its derived data, Use for vertex paint, replacing custom function.
2013-12-12Code Cleanup: move mesh mapping functions into their own file/headerCampbell Barton
2013-12-12Fix T37769: inconsistent behavior of Remove Selected From Active Group.Brecht Van Lommel
Add Selected to Active Group presented a menu with groups to choose from, while this seemingly inverse operation did not and used all groups of the active object. Now both operators present a menu, with as first option "All Groups".
2013-12-12Code Cleanup: replace global debug checks in raycast with DEBUG ifdefCampbell Barton
2013-12-12Add meaningful default for SimpleDeform modifier's angle prop.Bastien Montagne
2013-12-11Fix T37777: layout.column_flow() not working correct with retina / DPI.Brecht Van Lommel
2013-12-11UI: change how number button strings are concatenated (to easy add new suffix)Campbell Barton
2013-12-11Fix intersect_line_plane bug causing crash on Motion trail and otherBenoit Bolsee
similar potential bugs in mathutils_geometry marking no_flip as TODO
2013-12-11Move curve's boundbox and texspace calculation out of modifier stackSergey Sharybin
There were several issues with how bounding box and texture space are calculated: - This was done at the same time as applying modifiers, meaning if several objects are sharing the same curve datablock, bounding box and texture space will be calculated multiple times. Further, allocating bounding box wasn't safe for threading. - Bounding box and texture space were evaluated after pre-tessellation modifiers are applied. This means Curve-level data is actually depends on object data, and it's really bad because different objects could have different modifiers and this leads to conflicts (curve's data depends on object evaluation order) and doesn't behave in a predictable way. This commit moves bounding box and texture space evaluation from modifier stack to own utility functions, just like it's was done for meshes. This makes curve objects update thread-safe, but gives some limitations as well. Namely, with such approach it's not so clear how to preserve the same behavior of texture space: before this change texture space and bounding box would match beveled curve as accurate as possible. Old behavior was nice for quick texturing -- in most cases you didn't need to modify texture space at all. But texture space was depending on render/preview settings which could easily lead to situations, when final result would be far different from preview one. Now we're using CV points coordinates and their radius to approximate the bounding box. This doesn't give the same exact texture space, but it helps a lot keeping texture space in a nice predictable way. We could make approximation smarter in the future, but fir now added operator to match texture space to fully tessellated curve called "Match Texture Space". Review link: https://codereview.appspot.com/15410043/ Brief description: http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2013/Results#Curve_Texture_Space
2013-12-11User Interface: Align number buttons labels to the left, number rightCampbell Barton
2013-12-11User Interface: add colon separator for number buttonsCampbell Barton
2013-12-11Interface: avoid setting \0 to drawstr in widget_draw_textCampbell Barton
2013-12-11Sanity check in node links API: Make sure a valid node exists for bothLukas Tönne
sockets passed to the nodetree.links.new function, otherwise this could lead to invalid connections between different node trees! The ntreeAddLink function has asserts for this, but this condition needs to be checked in the RNA method calling it.
2013-12-11Fix T37755: Autokey doesn't work for local Z-Axis in Camera view with ↵Joshua Leung
MotionPaths enabled The problem here was that the hack used to fix T24551 in r32863 would cause the camera to jump back to its pre-transform position after motionpaths were recalculated. This made it seem like a keyframe wasn't inserted by AutoKeying (even though it was).
2013-12-11Fix incorrect comment - copy and paste errorJoshua Leung
2013-12-11Code cleanup: assign win size to const vars and some renamingCampbell Barton
2013-12-10Fix T37713: proxy not updated for first frame in background render.Brecht Van Lommel
The problem is that the animation curves are first before object updates, where BKE_pose_rebuild and proxy synchronize will undo the animation when the proxy is evaluted for the first time after loading. This is somewhat of a workaround but it's also useful to have the scene updated once when opening in background mode, and it makes rendering from the UI and background more similar and so more predictable to give the same result.
2013-12-10Nodes UI: add the position field to the color ramp node.Geoffroy Krantz
Reviewed By: dingto, brecht Differential Revision: http://developer.blender.org/D91
2013-12-10uiList: Small tweak to drag-resize (switch to auto-size mode).Bastien Montagne
When you drag past the smallest size of the list, it switches back to auto-size mode. This commit makes wider the gap between smallest size and auto-size activation, previously it could switch to auto-size a bit too easily...
2013-12-10Fix T37739: uiList drag-resize was not working as expected outside of panels.Bastien Montagne
Patch by Brecht, with minor edits by myself, thanks a lot! Tech details: previous drag-resize handling code was based on the assumption that coords returned by ui_window_to_block() was relative to the bottom on the uiBlock. This is in fact completly eroneous, usually this func does not translate at all the coords, it merely rescale them - except for blocks inside panels, where returned values are relative to the left/bottom corner of the panel... Pretty confusing, solution for now is to store ref mouse position in window space, and convert them to block each time, just like current mouse pos.
2013-12-10fix: Fly Navigation centered in viewport, not in camera viewDalai Felinto
Summary: The safe zone, mouse and everything else was relative to the viewport. It should be relative to the camera 'view' instead. This problem (noticed while developing the Walk Navigation) happens when the camera is not centered in the viewport. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: http://developer.blender.org/D78
2013-12-10Fix T37463: Increasing window size would add space around menu headerCampbell Barton
2013-12-10Screen Resize: minor code cleanupCampbell Barton
2013-12-10Fix for off-by-one regression in D41Campbell Barton
making the window larger was using incorrect factor leaving a black bar on the window edge.
2013-12-10Mempool/Memarena: hint for unlikely conditionsCampbell Barton
2013-12-10Fix for fix: Paths and copying objectCampbell Barton
Fix for T37471 made path copying modify local paths, now apply the same logic used for save-as.
2013-12-10Style CleanupCampbell Barton
2013-12-10Style changes to refactor commit.Antony Riakiotakis
2013-12-10DNA Deprecation: add DNA_DEPRECATED_GCC_POISON for enum/structs.Campbell Barton
also fully remove freestyle raycasting_algorithm
2013-12-10Python API: when OIIO is disabled use the same version format.Campbell Barton
2013-12-10Fix T37753: encapsulated the creation of the source ID into one function to ↵gaiaclary
ensure the id is always created correctly
2013-12-10Node Previews:Jeroen Bakker
Removed USE_HIDDEN_PREVIEW from source code as it is now deprecated. The feature was introduced during project mango to quickly hide previews, now that the previews are hidden by default this feature has no need. Inside the DNA the flag is still visible in comment, this way no one will reuse that value as it could have some side effects Jeroen & Monique - At Mind -