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-03-07math: Use len_v3() instead of normalize_v3() for area calculationSergej Reich
We only need the length, avoids unnecessary calculations.
2013-03-07GPencil feature request:Ton Roosendaal
Allow layers to be moved up and down, so you can control drawing order nicer.
2013-03-07Border for compositor viewer node featureSergey Sharybin
This adds border option to compositor, which affects on a backdrop and viewer nodes, which is useful for faster previews and tweaks. Final compositing still happens for the whole frame, but if it'll be needed it's not so difficult to support it as well. To use border there's Ctrl-B shortcut in the compositor editor, which i used to define region you want to restrict compositing to. There's also "Viewer Border" option in the N-panel in case you'll want to disable border compositing. Some areas could be cleaned a bit, like ideally it shall not be viewer image clearing in viewer_border_update RNA callback, but currently it's not so much clear how to make it the same fast as simple memset and glue it somehow to compositor. Will think of nicer solution a bit later.
2013-03-07Speedup for Grease Pencil animators.Ton Roosendaal
Saving and loading gpencil was using different order for the individual list items. On a 120 Mb gpencil project (yes, animators!) loading time went down from 1 minute to a second or two. Note that this to have effect, you need to save once. Developer note: check this commit, it uses a new writelist function. You can speedup stuff tremendously with keeping saved and read data in sync.
2013-03-07ruler arc draw clamps to line length and simplify projection.Campbell Barton
2013-03-07Texture paint refactoring commitAntony Riakiotakis
This is as close as I can get to keeping the old code intact. After this commit, I will have to change existing code paths, making testing of functionality harder. Changes: * Keep only projective texturing code in paint_image_proj.c * Move 2D code to paint_image_2d.c. This needed the introduction of allocation/cleanup functions for the relevant structures. * Common code interface for both modes stays in paint_image.c (which still includes all old code, system should work as it did with the exception of non-projective 3D paint mode) and is made public. This is not a lot of code, only rectangle invalidation and undo system. * Changed the naming in the new code slightly: imapaint_ prefixed functions refer to common functions used by both systems, paint_2d_ prefixed to 2d painting. There will be an interface for the projection painting as well. Probably there is some leftover naming conversions to do. TODO: * Move operator init/exec/modal to common interface file * Get rid of old BKE_brush_painter_paint, now brush_painter_2d_paint. All code uses stroke system for the stroke management * Write space pressure management for the paint stroke system (for other systems to access as well :) ) * Move texture paint tablet presssure exception code for old bugs to stroke system (makes me wonder...aren't other systems also influenced by these pressure issues?) or up in the function hierarchy inside texture paint. This code is still not there so users with tablets may notice some issues. * possibly change other systems to pre-multiply pressure with the relevant influenced attributes in the stroke function. This could get tricky though and it's possible that it could backfire.
2013-03-07ruler/protractor for 3d viewport (apart of 3d printing features). ↵Campbell Barton
work-in-progress. - activate from spacebar search (3D Ruler) - ctrl-click adds new rulers - clicking in the middle of a ruler, turns into protractor, dragging out of view snaps back to ruler.
2013-03-07Collada fixed Collada ID name for exported animation curvesGaia Clary
2013-03-07avoid calling glGetFloatv() twice when UI_RB_ALPHA is enabled with uiRoundBox()Campbell Barton
2013-03-07use bool for rna funcs.Campbell Barton
2013-03-07Collada: Added option for how rot,loc,trans data is exported (improves ↵Gaia Clary
flexibility for support of other 3D tools)
2013-03-07Support position jittering on new texpaint code using the stroke system.Antony Riakiotakis
2013-03-07Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It isAntony Riakiotakis
always used in that context so we can at least avoid reverting it twice :p.
2013-03-07Typo fix to fix global delete with Shift-X as it was before r43416Sv. Lockal
2013-03-06Texture paint refactoring commitAntony Riakiotakis
Adding new file paint_image_proj.c which includes the projective texture painting part of texture painting, using the stroke system. To access the new code path use Shift-LClick. The new code path still is problematic with tablet pressure and I will be looking into ways to unify this across paint systems next. The old code is still present and can be accessed by regular Lclick as usual. Also removed 3D (non-projective) painting from 3D viewport. TODO: * Add pressure influence code to stroke, remove from every other paint system code, including texpaint. * Put UnifiedPaintSettings update in PaintStroke code.
2013-03-06Tracking dopesheet fixes:Sergey Sharybin
- Dopesheet need to be updated when adding or switching between objects. - After removing object it shall also be tagged for update, otherwise crash will likely happen.
2013-03-06fix for error building on big-endian.Campbell Barton
2013-03-06fix for bug where array buttons would use -1 index, causing an out-of-bounds ↵Campbell Barton
check on an array. added assert so this wont happen again.
2013-03-06add asserts for passing negative index values to RNA functions which don't ↵Campbell Barton
support them.
2013-03-06Alternate fix for bug [#34369], where invalid polygon normals could be saved ↵Campbell Barton
in the mesh data and in the file. This was from initial BMesh merge, but should not have been added in since face normals are calculated and stored in the DerivedMesh. Toggling editmode would remove poly-normals so its unlikely anything relies on this custom-data.
2013-03-06Woops! Fix for previous F-Curve path fix commitJoshua Leung
Trying to rename a valid F-Curve would crash as no RNA property was set, but *prop still had an uninitialised value.
2013-03-06code cleanup: quiet warnings for recent weight paint theme addition.Campbell Barton
2013-03-06code cleanup: quiet float/double conversion warnings.Campbell Barton
2013-03-06Bugfix [#32492] - Part 3: Error filter now includes drivers where there areJoshua Leung
errors with the variables/targets, even if those errors are for variables which aren't used (and are hence "harmless" errors) This means that the filter can be truly useful for helping locate things that need "cleaning up". For example, previously, there could still have been drivers where there were some of these "harmless" errors would emit warnings, but would otherwise appear perfectly functional. The implementation here uses a slightly slower method of checking any errors in these driver vars. However, it's no slower than what's done when these are evaluated, and should be less error prone than introducing yet another type of error tagging for this one case. The problem here is that the "driver invalid" flag, which is usually set when a target has errors, gets cleared by the pydrivers code if nothing went wrong when evaluating the expression. Removing this clearing step will probably open a can of worms, so unless this method proves to be far too slow, this simpler fix will do.
2013-03-06Experimental Feature: Ctrl-Click on the "name" of a broken F-Curve now allowsJoshua Leung
you to fix the RNA Path in-place For F-Curves that are disabled or marked as having errors because their paths are invalid (indicated with a red line underneath their names), it is now possible to use the Ctrl-Click renaming functionality to bring up a textbox for fixing the offending RNA Path "in place" (i.e. in the channels list) without having to bring up the properties region first. This makes it easier to fix the paths if you know what you're doing. However, caution is still advised for most people. In particular, be aware that this uses a separate "RNA Array Index" for indexing into array properties (i.e. location, rotation, color) which will not be shown here, and can only be edited from the panel (or datablocks editor/scripts).
2013-03-06Bugfix [#34519] deleted cache after duplicating an object with baked simulationDaniel Genrich
2013-03-06Weight Painting: Added userpref for zero_weight color.Gaia Clary
2013-03-06Fix cursor display for anchored brushes due to own recent change ofAntony Riakiotakis
paint coordinate system.
2013-03-05UI messages fix: no end point in tips! (from r55055).Bastien Montagne
2013-03-05code cleanup: also change BKE_blender.h BLENDER_VERSION_CHAR to 'a' so as ↵Campbell Barton
not to confuse things.
2013-03-05Simple deform modifier: replace factor property by angle for twist and bendBrecht Van Lommel
modes, so we can show degrees rather than radians. Still refers to the same DNA variable to keep backwards compatibility. Patch #33807 by Gottfried Hofmann.
2013-03-05View All operator for motion tracking dopesheet.Sergey Sharybin
2013-03-05Bug fix #34534Ton Roosendaal
Fix for 2.66a The new Copy/Paste objects feature could hang in eternal loop. Only happens for objects that refer to another scene via linkage. This fix then crashed Blender, needed to add a NULL check for screens.
2013-03-05Sanity check in the cut-links operator, make sure preview jobs are not ↵Lukas Toenne
running before modifying the node tree.
2013-03-05Fix #34507, adding reroute node into invalid links would crash the compositor.Lukas Toenne
Compositor relies on correctly tagged invalid links, but the nodeInternalRelink function used to replace reroute nodes in localization did not correctly take this flag into account. If a node replaces a link with an invalid upstream link the resulting link must also be flagged invalid.
2013-03-05fix for building with msvcCampbell Barton
2013-03-05code cleanup: remove unused argument from bli_builddirCampbell Barton
2013-03-05fix for building with mingw in since recent changes.Campbell Barton
2013-03-05code cleanup: remove unused member of direntry struct, also add include for ↵Campbell Barton
building on osx.
2013-03-05patch [#34103] path_util_split_dirstring.patch, ↵Campbell Barton
path_util_split_dirstring_2.patch, path_util_split_dirstring_3.patch from Lawrence D'Oliveiro (ldo) Get rid of BLI_splitdirstring, replace with calls to BLI_split_dirfile, BLI_split_dir_part and BLI_split_file_part as appropriate.
2013-03-05patch [#34103] path_util_cleanups.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) - Better argument name for BLI_cleanup_path and BLI_cleanup_file - remove redundant BLI_add_slash already done by BLI_cleanup_dir
2013-03-05patch [#34103] storage_bli_dir_contents.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) BLI_dir_contents no longer changes current working directory.
2013-03-05patch [#34103] storage_bli_file_size.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) more efficient implementation of BLI_file_size that doesn't open the file.
2013-03-05patch [#34103] fileops_file_is_writable.patch, fileops_file_is_writable_2.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) More efficient implementation of BLI_file_is_writable using access(2) instead of actually opening file.
2013-03-05patch [#34103] fileops_1.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) Add comments and use of bool type in fileops.c
2013-03-05patch [#34103] dir_contents.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) - storage.c: Simplify BLI_dir_contents and make it and its internal subsidiary routines reentrant - Moved common code for disposal of a struct direntry to new routine BLI_free_filelist in storage.c, and put calls to it in interface_icons.c and filelist.c - Took out inclusion of BLI_fileops_types.h from BLI_fileops.h and put it explicitly into .c files that need it (which turned out to be only 7 of the 35 files that were including the former)
2013-03-05patch [#34103]Campbell Barton
from Lawrence D'Oliveiro (ldo) More use of bool type, necessitating adding inclusion of BLI_utildefines.h, or moving it up in the inclusion order if it was already included, in various places - storage.c: make some variables only used in bli_builddir local to that - storage.c: BLI_file_descriptor_size should allow 0 as a valid file descriptor - path_util.c: make pointers to non-reentrant storage returned from folder routines const, necessitating making variables holding these returned pointers const elsewhere as well - path_util.c: BLI_string_to_utf8 closes iconv context in case of conversion error - blf_lang.c: fill_locales routine now has its own "languages" local variable to construct paths (was stealing internal storage belonging to BLI_get_folder before)
2013-03-05Image buffer rectangle operation optimization: Remove a switch statementAntony Riakiotakis
outside of loop and remove a function call. Should give a little speedup when painting inside the image editor.
2013-03-05Convert paint stroke code to write region instead of screen coordinatesAntony Riakiotakis
on mouse event coordinates. Every paint mode operated on and converted back to region coordinates, texture paint does so too so this will help in unifying the systems. ALERT! POSSIBLE BREAKING COMMIT: I have tested all paint systems that use the stroke code and they look like they work well but I would appreciate it if more eyes could test this.
2013-03-04patch [#34103] use boolean in path functions and add comments.Campbell Barton
path_util_1.patch from Lawrence D'Oliveiro (ldo)