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-10-04make ED_view3d_project_int equivalent to ED_view3d_project_short functions.Campbell Barton
2012-09-26fix [#32661] Grease Pencil in Camera ViewCampbell Barton
Regression since 2.63a release. own fault in r49996, though code was confusing - using rcti struct for offset+width.
2012-09-25Bugfix [#32647] PolyLine tool for Grease Pencil was brokenJoshua Leung
This was broken in r.46589, although it doesn't seem that these changes have any relevance to the main fix being performed there. The problem was that the offending changes made the Grease Pencil modal handler exit when an RMB event occurs meant that the operator was exiting after the initial click, meaning that it was only possible to draw single dots at a time when using the hotkey version of PolyLine. The toolbox version however was unaffected. I've noted this specific problem in the code as a warning.
2012-09-20code cleanup:Campbell Barton
- make view3d project names more consistent. - remove apply_project_float() its not needed. - update comments referencing an old function name. - move doxygen docs into the C file, prefer they are kept here to avoid getting out of sync with code.
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-09-10code cleanup: use single define for undo string size, was 64 mostly, but 512 ↵Campbell Barton
in the UI.
2012-09-09style cleanup:Campbell Barton
also remove some redundant conversions int -> short -> int
2012-08-25style cleanup: also spellingCampbell Barton
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-22code cleanup: use rect size macrosCampbell Barton
2012-08-20macros for rectangle center and sizeCampbell Barton
2012-08-18utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in ↵Campbell Barton
a linked list by a pointer.
2012-07-15minor refactor for rect functions. more consistent naming.Campbell Barton
2012-07-08style cleanupCampbell Barton
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-07-04More spell checking.Bastien Montagne
2012-06-26Bugfix [#31930] DopeSheet - Grease Pencil mode collapses visible channels whenJoshua Leung
switch channel This was caused by a typo, which would end up toggling the expanded status of the Grease Pencil datablock (gpd->flag & 4) instead of the layer active status (gpl->flag & 4).
2012-06-20Grease pencil and manual calibration weren't aware of clip start frameSergey Sharybin
2012-06-20style cleanup: use TRUE/FALSE for ui align args.Campbell Barton
2012-06-19Changes in clip editor's public api to make it's more clearSergey Sharybin
whether getting of some property happens or this property is being changed. Also made it more clear whether affecting property belongs to clip or mask datablock.
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-11Fixed issue with disappearing Clip/Track menu from GP panel in Clip EditorSergey Sharybin
caused by switching to Track GP without having active track.
2012-06-11quiet 'unused' warning.Campbell Barton
2012-06-11Grease Pencil Eraser - Numpad +/- and Scrollwheel Up/Down to change radius ofJoshua Leung
brush while erasing This makes it easier to change the size of the brush without having to jump out to the User Preferences and back
2012-06-11Grease Pencil - Eraser is drawn with the circle/brush indicator againJoshua Leung
2012-06-11Code cleanup - Removing/commenting out various bits of legacy cruft related toJoshua Leung
old Grease Pencil stuff
2012-06-11Grease Pencil - Support for Grease Pencil in the Sequence Editor preview/imageJoshua Leung
space works again This commit restores the support for using Grease Pencil in the Sequence Editor image preview region, making it possible to scribble on footage for review purposes again. Due to internal changes in how the Sequencer handles the image drawing for this stuff (i.e. it is now fully based on View2D instead of trying to implement its own little crazy offset+zoom stuff), a lot of the old code for handling those offsets is no longer needed. Instead, one of the "standard" cases is now used, and works quite well. Bugfixes: * View-space Grease Pencil drawing was done in wrong place (before view2d restore) * Grease Pencil entry in RNA had wrong/missing type Credits: * DingTo - initial patch/attempt at restoring support * Aligorith - solved the "offset problems"
2012-06-10style cleanupCampbell Barton
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-09add a utility function to get an exact match for a grease pencil frame.Campbell Barton
2012-06-09code cleanup: name mask and grease pencil dope sheet editor functions more ↵Campbell Barton
consistantly
2012-06-07Remove unused ibuf argument from draw_gpencil_2dimageSergey Sharybin
It was used by sequencer only and it wasn't ported for a while already. This change allows to save cahce lookup for image and clip editors.
2012-05-28style cleanup: defines with bracesCampbell Barton
2012-05-19style cleanup: whitespace/indentationCampbell Barton
2012-05-13previous commit didnt work right, the flag is still needed, wrap access with ↵Campbell Barton
functions so the NULL check is always done.
2012-05-13replace GP_PAINTFLAG_STROKEADDED with a NULL check, saves worrying about ↵Campbell Barton
keeping the flag correct after undo.
2012-05-13fix [#31427] Crash when undoing until no point in grease pencil poly modeCampbell Barton
2012-05-08style cleanup: gpencil & metaballCampbell Barton
2012-05-05code cleanup: function naming, use BKE_*type* prefix.Campbell Barton
2012-04-30style cleanup: re - ↵Campbell Barton
http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-28Code and style cleanup in own modules in BKE and also mball moduleSergey Sharybin
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks) - Make functions which are used by mball.c only static and remove their prototypes from public header file. Further cleanup is coming.
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-11code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)Campbell Barton
2012-03-31move debug flag into its own global var (G.debug), split up debug options.Campbell Barton
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-26rename lattice influence to strength from r45144 (other deform modifiers ↵Campbell Barton
call it strength too)
2012-03-26style cleanup: add braces around checks - 'if ELEM() {...}', confuses some ↵Campbell Barton
parsers that done expand macros.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton