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
2014-02-03Use bool where appropriateJoshua Leung
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2013-10-31code cleanup: spellingCampbell Barton
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-26rename give_cursor to ED_view3d_cursor3d_getCampbell Barton
2013-09-07rename cursor setting functions to make modal set/restore more clearly ↵Campbell Barton
related functions.
2013-08-24style cleanup: space around for loop wrappersCampbell Barton
2013-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-05-28Fix #35473: Using Redo panel in View3D after Grease Pencil action moves GP ↵Sergey Sharybin
layer to that area Remove REGISTER flag from GP draw operator, so redo wouldn't screw up regions.
2013-03-26grease pencil eraser mouse-wheel resize was inverted compared to circle-select.Campbell Barton
2013-03-26style cleanup:Campbell Barton
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-26fix [#34658] GreasePencil eraser deletes strokes through geometry, surfacemodeCampbell Barton
add depth check to grease pencil eraser when xray option is disabled.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-09code cleanup: move runtime var zfac out of RegionView3D. rename initgrabz() ↵Campbell Barton
-> ED_view3d_calc_zfac() and have it return the zfac to use.
2013-03-01style cleanup: braces with multi-line statements, also add some comments.Campbell Barton
2013-02-19Another huge bunch of new UI translations (some reported by Leon Cheung, ↵Bastien Montagne
thanks!)...
2013-01-17fix airbrush + tablet pressure bug.Campbell Barton
Timer events used by the airbrush would always give a pressure of 1.0, ignoring the tablets real pressure in all paint modes. Move tablet data into its own struct-member so it can be used with timer events.
2012-12-17code cleanup: use 'const float *' when getting the 3d cursor and not editing it.Campbell Barton
2012-12-04fix [#33412] Jump to next frame broken in grease pencil modeCampbell Barton
allow arrow keys while in grease pencil session, otherwise you can't change frames. also correct out-of-date comments.
2012-11-18style cleanup: comments & spellingCampbell Barton
2012-11-12More spelling errors, whitespace, and simplifying code with many side effectsJoshua Leung
2012-11-12build fix: recent commit broke building on 64bit linuxCampbell Barton
2012-11-12Whitespace tweaks and BugfixesJoshua Leung
* Fixed memory leak, where temp buffers for tGpTimingData were not freed * Fixed crash when there was no active object when converting to paths
2012-11-11Four fixes (own collection)Ton Roosendaal
- Screencast: stops working on window resize - crashes movie file output - Screencast now draws simple brush overlay to indicate mouse cursor. - Greasepencil now works again to use MMB for view rotates (and missed proper redraw signal for toolbar, at end of paint)
2012-11-11"Dynamic Sketch" patch, which adds timing data to GP strokes, by storing an ↵Bastien Montagne
inittime in each stroke (value returned by PIL_check_seconds_timer() func), and then a delta time for each of its points, relative to that inittime. These timing data can then be used during conversion to Curve objects, to create a path animation (i.e. an Evaluation Time F-Curve) exactly reproducing the drawing movements. Aside from this "main feature", the patch brings several fixes/enhancements: * Stroke smoothing/simplifying will no more move the start/end points of a stroke (this was rather annoying sometimes!). * Also optimized smoothing code (even though not really noticeable on a modern computer, it now uses less memory and runs faster). * When converting to curve, you now have the following new possibilities: ** Normalize the weight values (currently, they will get "stroke width * 0.1", i.e. would range by default from 0.0 to 0.3...). ** Scale the radius values to your liking (again, currently they are set from stroke width times 0.1)! ** Link all strokes into a single curve, using zero-radius sections (this is mandatory to use the dynamic feature!). Here is a small demo video: http://youtu.be/VwWEXrnQAFI Will update user manual later today.
2012-11-01Bugfix #24030Ton Roosendaal
Greasepencil mode 'hold d' was also inserting drivers (hotkey D) on mouse over. The modal operator was default passing on all events, I made it swallowing it. Doesn't seem to be affecting use at all.
2012-10-30Bugfix #33019Ton Roosendaal
Grease Pencil draw - started with button from Toolbar - failed. Needed proper event check.
2012-10-27style cleanupCampbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-20Grease Pencil: Tweaks to make tooltips show up for the different drawing toolJoshua Leung
types available
2012-10-10refactor screen foreach functions to accept float[2] arguments rather then ↵Campbell Barton
int pairs. overall means less converting between float and int (and short in some cases).
2012-10-07style cleanup: line length,Campbell Barton
rename V3D_PROJ_RET_SUCCESS -> V3D_PROJ_RET_OK
2012-10-07code cleanup: grease pencil eraser had duplicated logic for getting screen ↵Campbell Barton
coords of a point, move into a static function.
2012-10-05Grease Pencil notifier/listener cleanupDan Eicher
As suggested by Campbell on the IRC gave grease pencil its own notifier type (NC_GPENCIL) and made the makesrna notifier functions actually update properly. Also got the #ifdef'd GreasePencil.layers.[new/remove] functions working.
2012-10-04make ED_view3d_project_int equivalent to ED_view3d_project_short functions.Campbell Barton
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-08style cleanupCampbell Barton
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-06-20Grease pencil and manual calibration weren't aware of clip start frameSergey Sharybin
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-11quiet 'unused' warning.Campbell Barton