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
2012-09-03code cleanup: split out defines in BKE_utildefines.h into BLO_blend_defs.h ↵Campbell Barton
and ui defines in interface_intern.h
2012-09-03array functions for endian switching.Campbell Barton
2012-09-03add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with ↵Campbell Barton
BLI_endian_switch_int32/int64/float/double...
2012-08-29code cleanup: add utility function BLI_path_is_rel()Campbell Barton
2012-08-26style cleanup: whitespaceCampbell Barton
2012-08-22Fix #32201: particle size compatibility broken for object/group duplication.Brecht Van Lommel
After 2.63 there was a bugfix to take object scale into account for the duplicated objects, but this breaks compatibility on earlier files. Now there is an option to control if the scale should be used or not. Scale is used by default on newer files, and not used on older ones.
2012-08-21code cleanup: vfont's used confusing and over complicated method of storing ↵Campbell Barton
memory for loaded fonts, not store as a temp var in the fonts.
2012-08-21code cleanup: don't use magic numbers for curve flag & use bool args for ↵Campbell Barton
curvemapping_changed()
2012-08-19Sequencer: per-sequence modifier stack for color gradingSergey Sharybin
This implements basic color grading modifiers in sequencer, supporting color balance, RGB curves and HUE corrections. Implementation is close to object modifiers, some details are there: http://wiki.blender.org/index.php/User:Nazg-gul/SequencerModifiers Modifiers supports multi-threaded calculation, masks and instant parameter changes. Also added cache for pre-processed image buffers for current frame, so changing sequence properties does not require rendering of original sequence (like rendering scene, loading file from disk and so)
2012-08-17fix own error in recent smoothview cleanup, also correct some cross ↵Campbell Barton
references in bmesh docs.
2012-08-13fix for missing NULL checks when sequence-strip pointers become NULL because ↵Campbell Barton
of problems with library linking.
2012-08-12smooth-view for 2d views, graph editor, sequencer, node view, works with ↵Campbell Barton
border zoom, view selected, view all.
2012-08-11Sequencer: support for masked color balanceSergey Sharybin
This implements option which could be used to color balance only specified area. Currently done by adding Mask input to Adjustment effect. Affects on color balance and multiply settings. Supporting masked saturation control is in the list, not supported in this commit. Also show value slider in the right of color wheel.
2012-08-08code cleanup: rename G.rt to G.debug_valueCampbell Barton
2012-08-08Code cleanup: BKE_ prefix for public sequencer functionsSergey Sharybin
2012-08-08Accidentally did a commit when I wanted to revert... (ignore my last revision)Mitchell Stokes
2012-08-08(no commit message)Mitchell Stokes
2012-08-06Bugfix: Crash when changing collider type after loading blend file.Daniel Genrich
Thanks to MiikaH for pointing out.
2012-08-04style cleanupCampbell Barton
2012-08-04style cleanupCampbell Barton
2012-08-01rename meaningless LIB flag name LIB_TEST --> LIB_NEED_EXPAND.Campbell Barton
2012-08-01replace 'GET_INT_FROM_POINTER( &((BHeadN*)0)->bhead) )' with ↵Campbell Barton
'offsetof(BHeadN, bhead))'
2012-08-01Expand function for masks, so no masks could be properly linkedSergey Sharybin
in cases when they've got parenting to motion tracking data.
2012-07-27add missing image/mask restore call when undo'ingCampbell Barton
2012-07-27mask motion blur shutter optionCampbell Barton
2012-07-25move mask and draw settings into its own struct to be shared between spaces.Campbell Barton
2012-07-23Bugfix [#32155] Driver error saves in file and isnt reset on loadJoshua Leung
Error flags set on Drivers and F-Curves when they can't be evaluated or flushed properly are now cleared when loading files, allowing drivers to be re-evaluated when a file is reloaded. This means that if a driver couldn't be used in the previous session due to the set of extension modules active at the time (and was thus disabled), reloading the file with the necessary extensions loaded means that the driver can work out of the box without manually re-enabling.
2012-07-17code cleanup: spellingCampbell Barton
2012-07-12Fix #32067: since BMesh, files < 2.59.3 no longer have their texface convertedSergey Sharybin
Issue was caused by performing conversion from FTFaces to materials from the end of lib_link_mesh, where tesselated faces were cleared already. This conversion can't be switched to BMesh structures because in future MTexPolys could be changed in a way, that versioning stuff wouldn't work any more. Another issue is that making such a conversion per-mesh would lead to quite a code spagetti, which is difficult to follow. Solved by splitting per-mesh cycle in lib_link_mesh, so now it consists of three steps: - Do linking stuff such as custom data layers, materials. Perform a Conversion stuff like tessface -> polys. - Convert all MTFaces to materials. This conversion handles all meshes and creates needed materials. - Free tessfaces, mark mesh as linked. Such a separation shouldn't noticeably affect on speed of linking.
2012-07-12Fix #32082: face textures lost when linking scene from another fileSergey Sharybin
Issue was caused by missing expand for MTexPoly-s tpages.
2012-07-10Bump Blender version, so despill balance would stay untouched inSergey Sharybin
rare cases when it was intentionally set to 0.
2012-07-10Keying screen: small fixes and improvements from tomatoSergey Sharybin
- Fixed issues with calculating matte with balance != 0.5 It used to be used concave combination of minimal and maximal channel values which could be inpredictable. Use concave combination of two non-major channels sorted by their index, so such combination would always use the same coefficients for particular non-major channels. - Added despill balance slider which defines balance between non-major channels used for calculating average of two colors. Difference between average value and pixel value of major screen channel defines amount of despill. Balance of 0.5 gives the same behavior as it was before this slider was added. --- svn merge -r48678:48679 -r48789:48790 ^/branches/soc-2011-tomato
2012-07-03Fix for the "black F-Curves" bug on undoJoshua Leung
(From personal stash of bugs - since early 2.5 versions) F-Curve colors get applied only on Graph Editor "refresh()". In some cases, undo was reverting back to a state where the colors had not yet been set. In these cases, there would be no refresh() after that undo (until expanding a channel or some other similar action), resulting in "black F-Curves" appearing. So, now we force such an update after undo to ensure that the curves never display black. (Noticed while investigating another bug for Mango related to CLIP_OT_constraint_to_fcurve not sending notifiers required when new F-Curves are added)
2012-07-02Fix #31961: Grease Pencil in VSE don't save the dataSergey Sharybin
Issue was caused by linking to grease pencil from direct_link* function which lead to NULL GP data because it's being read a way later. Link to GP data in lib_link* instead.
2012-07-01style cleanup: commentsCampbell Barton
2012-06-21falloff options for dilate/erode feather compo node.Campbell Barton
2012-06-21Fix for properly converting 2.4x IPO Actuators to 2.6x Action Actuators. ↵Mitchell Stokes
Previously the converted Action Actuators would not have an action assigned. This fix is based on code provided by Maxim Aleynikov in his report: [#30410] not full conversion IPO Actuator in Action Actuator.
2012-06-19Fix #31646, somehow a 2.62 file output node can have NULL storage pointer. ↵Lukas Toenne
Not sure how this can happen, but added checks in do_versions to make sure the file doesn't crash. Paths will probably have to be reset though.
2012-06-18Fix for recent bugfix, make old files with strand width fade 2.0 render same.Brecht Van Lommel
2012-06-15Internal refactoring of tracking module, should be no functional changesSergey Sharybin
- Re-arrange functions in headers and implementation file to make them more grouped by entity they're operating with. Also order of functions in implementation file should match order of functions in header for easier navigation. - Rename some functions to match conventions of naming public functions. - Some code de-duplication, still some room for improvements tho. - Split main 2D tracking functions into smaller steps to make it more clear. Accidentally OpenMP was disabled in some of previous commits, re-enable it.
2012-06-11Bugfix [#28962] Changing actions via undo/delete all keyframes lacks UI refreshJoshua Leung
Slightly hacky fix to get updates working for Action Editor header when there are changes of the active action (via undo and/or deleting all keyframes at once). Since the action referenced by the editor only gets updated when anim channel filtering (e.g. as a result of the channel syncing operation) is invoked. Added comments noting where these updates actually occur
2012-06-11Bugfix: Crash in Sequencer when trying to undo after using Grease PencilJoshua Leung
Grease Pencil data was not getting correctly relinked after file reload (for undo)
2012-06-11Commented out expand_bones(), as this wasn't actually doing anything other thanJoshua Leung
wasting time traversing the list of bones in the Armature
2012-06-10Bump subversion so iteration through all markers would happenSergey Sharybin
only for old files which actually needs to be ported to 4 corners representation.
2012-06-10Planar tracking support for motion trackingSergey Sharybin
=========================================== Major list of changes done in tomato branch: - Add a planar tracking implementation to libmv This adds a new planar tracking implementation to libmv. The tracker is based on Ceres[1], the new nonlinear minimizer that myself and Sameer released from Google as open source. Since the motion model is more involved, the interface is different than the RegionTracker interface used previously in Blender. The start of a C API in libmv-capi.{cpp,h} is also included. - Migrate from pat_{min,max} for markers to 4 corners representation Convert markers in the movie clip editor / 2D tracker from using pat_min and pat_max notation to using the a more general, 4-corner representation. There is still considerable porting work to do; in particular sliding from preview widget does not work correct for rotated markers. All other areas should be ported to new representation: * Added support of sliding individual corners. LMB slide + Ctrl would scale the whole pattern * S would scale the whole marker, S-S would scale pattern only * Added support of marker's rotation which is currently rotates only patterns around their centers or all markers around median, Rotation or other non-translation/scaling transformation of search area doesn't make sense. * Track Preview widget would display transformed pattern which libmv actually operates with. - "Efficient Second-order Minimization" for the planar tracker This implements the "Efficient Second-order Minimization" scheme, as supported by the existing translation tracker. This increases the amount of per-iteration work, but decreases the number of iterations required to converge and also increases the size of the basin of attraction for the optimization. - Remove the use of the legacy RegionTracker API from Blender, and replaces it with the new TrackRegion API. This also adds several features to the planar tracker in libmv: * Do a brute-force initialization of tracking similar to "Hybrid" mode in the stable release, but using all floats. This is slower but more accurate. It is still necessary to evaluate if the performance loss is worth it. In particular, this change is necessary to support high bit depth imagery. * Add support for masks over the search window. This is a step towards supporting user-defined tracker masks. The tracker masks will make it easy for users to make a mask for e.g. a ball. Not exposed into interface yet/ * Add Pearson product moment correlation coefficient checking (aka "Correlation" in the UI. This causes tracking failure if the tracked patch is not linearly related to the template. * Add support for warping a few points in addition to the supplied points. This is useful because the tracking code deliberately does not expose the underlying warp representation. Instead, warps are specified in an aparametric way via the correspondences. - Replace the old style tracker configuration panel with the new planar tracking panel. From a users perspective, this means: * The old "tracking algorithm" picker is gone. There is only 1 algorithm now. We may revisit this later, but I would much prefer to have only 1 algorithm. So far no optimization work has been done so the speed is not there yet. * There is now a dropdown to select the motion model. Choices: * Translation * Translation, rotation * Translation, scale * Translation, rotation, scale * Affine * Perspective * The old "Hybrid" mode is gone; instead there is a toggle to enable or disable translation-only tracker initialization. This is the equivalent of the hyrbid mode before, but rewritten to work with the new planar tracking modes. * The pyramid levels setting is gone. At a future date, the planar tracker will decide to use pyramids or not automatically. The pyramid setting was ultimately a mistake; with the brute force initialization it is unnecessary. - Add light-normalized tracking Added the ability to normalize patterns by their average value while tracking, to make them invariant to global illumination changes. Additional details could be found at wiki page [2] [1] http://code.google.com/p/ceres-solver [2] http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Motion_Tracker
2012-06-10Support for per-track Grease Pencil datablocks for motion trackingSergey Sharybin
Originally was needed to reach easy way of defining masks used for tracking (do eliminate textures which doesn't belong to feature when tracking. Implemented as alternative to GP datablock for clip and added switch between per-clip and per-track GP datablocks -- internal limitations of GP doesn't allow to display all GP datablocks easily. So either you see.edit GP associated with clip or with track. GP strokes associated with track are relative to track's position, following tracks during tracking and could be shared between several tracks. Masking code presents in libmv and there's rasterizer of GP datablocks for masks in blender's tracking module, but they still need to be glued together. Some documentation cound be found at this page: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Motion_Tracker#Grease_Pencil
2012-06-07new sequence strip type for masks.Campbell Barton
2012-06-07code cleanup: rename sequencer types to SEQ_TYPE_*** and use enums rather ↵Campbell Barton
then defines.
2012-06-07Fix #31725: UV map order is ignored when opening in 2.6+ versionsSergey Sharybin
Issue was caused by do_versions being used pdata as reference for active/render/ stencil/clone layer indices instead of fdata. Added some utility functions used only by do_versions to be sure this indices are set from fdata for pre-bmesh files.
2012-06-06Changed semantic of recently added start_frameSergey Sharybin
Now it's indicates at which scene frame number movie clip starts playing back. This this setting is still belongs to clip datavlock and used by all users of clip such as movie compositor nodes, constraints and so. After long discussion and thoughts about this it was decided that this would match image's current behavior (which initially seen a bit crappy), but that's actually allows: - Keep semantics of start frame in image and clip datablocks in sync - Allows to support features like support of loading image sequences with crappy numbers in suffix which doesn't fit long int. - Allows to eliminate extra boolean checkbox to control such kind of offset. Hopefully from pipeline POV it wouldn't hurt because idea of having this things implemented in original way was working only if sequence before processing started naming form 001.