Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-07 | ListBase API: add utility api funcs for clearing and checking empty | Campbell Barton | |
2014-02-03 | Code cleanup: use bools where possible | Campbell Barton | |
2014-02-03 | Use bool where appropriate | Joshua Leung | |
2014-01-28 | Code cleanup: remove references to svn and code style | Campbell Barton | |
2014-01-27 | Code cleanup: use booleans where appropriate | Campbell Barton | |
2014-01-21 | Code Cleanup: use bool for return values and correct comments | Campbell Barton | |
also remove CDDM_Check, theres no need for it. | |||
2014-01-21 | Minor cleanup from latest coverity checks - if we have a previous curve, we ↵ | Bastien Montagne | |
can safely assume we also have a previous stroke! Better to assert here, than checking this randomly... | |||
2014-01-15 | Fix for mistake in recent shadow addition in tabs | Campbell Barton | |
2014-01-15 | Code Cleanup: use iroundf | Campbell Barton | |
also increase precision of rctf print functions | |||
2014-01-15 | Code cleanup - Commented out some code which wasn't actually doing anything | Joshua Leung | |
gpf->framenum is an int, not a float. Hence, this type of rounding has no effect. | |||
2014-01-12 | Fix T38124: Grease Pencil Line thickness | Bastien Montagne | |
Issue was in GP draw code: line thickness was not initiated properly (and a null one makes OGL draw a unity-width line). Also tweaked threshold (when to start a new, width-different OGL linestrip), to make it inversaly proportional to thickness (so that now, it's 0.2 for a thickness of 1, 0.1 for a thickness of 2, etc.), avoids too big steps when using large thickness. | |||
2014-01-12 | Style Cleanup: whitespace | Campbell Barton | |
2014-01-10 | Fix clang warning for (harmless) use of uninitialized variable. | Brecht Van Lommel | |
2014-01-09 | Cleanup: mostly, prefer array syntax to pointer arithmetic (keep the later ↵ | Bastien Montagne | |
only where it really makes sense). | |||
2014-01-09 | Fix T38135: Global start and end point of the curve was set to zero radius & ↵ | Bastien Montagne | |
weight, when using 'linked' option. This was (more or less) OK with hand-drawn strokes, as the number of points made it nearly unoticable, but broke completely with line and poly strokes! Did this when I implemented linked curve feature because it was easier! Now, convert code always adds a heading and trailing point to the curve, to get initial/final zero radius. Adds even more complexity to those functions... :/ | |||
2014-01-09 | Grease pencil 'convert to curve' code: some cleanup & refactor. | Bastien Montagne | |
2014-01-09 | Cleanup: Remove tabs in empty lines, use bool when possible instead of int, ↵ | Bastien Montagne | |
and mark const values/parameters as such. | |||
2014-01-04 | RNA API: use bool's for enum itemf callbacks. | Campbell Barton | |
2013-11-25 | Code Cleanup: rename vars for detecting change to be more consistent | Campbell Barton | |
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float. | |||
2013-11-25 | UI: remove unnecessary confirmation popups | Emanuel Claesson | |
This makes a number of operators no longer ask for confirmation, rather it will show an info message after performing the operation. Ref T37422 for decision. In particular, these were changed: * Delete objects, bones, keyframes, masks, mask curves, motion tracks, markers. * Clear and delete keyframes in the 3D view. * Align bone to parents. * Separate bones from armature. * Group/ungroup metastrips in sequencer. * Copy/paste objects to/from buffer. Reviewed By: brecht, dingto Differential Revision: http://developer.blender.org/D35 | |||
2013-10-31 | code cleanup: spelling | Campbell Barton | |
2013-10-31 | remove return argument from wmOperatorType->cancel, was only ever returning ↵ | Campbell Barton | |
OPERATOR_CANCELLED. | |||
2013-10-26 | rename give_cursor to ED_view3d_cursor3d_get | Campbell Barton | |
2013-09-07 | rename cursor setting functions to make modal set/restore more clearly ↵ | Campbell Barton | |
related functions. | |||
2013-08-24 | style cleanup: space around for loop wrappers | Campbell Barton | |
2013-08-24 | Related to [#36548] "Grease Pencil" Problems | Bastien Montagne | |
Use scene's GPencil when active object is deselected. Else it can be tricky and not user-friendly to access to the scene's GPencil once some objects have GPencil data (you have to select/active a non-gpencil object, or switch to a layout without active object...). | |||
2013-08-20 | Fix GPencil part of [#36101] BSurface Throw an Error When Press "Add Surface" | Bastien Montagne | |
gpencil_data_get_active and gpencil_data_get_active_v3d did not have consistent behavior when we had an active object, but not on any visible layer (the first would return the default scene gpd in this case, while the first was still returning active object's one). Now they both return scene's one. | |||
2013-07-19 | style 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-06-10 | code cleanup: use boolean for intersection functions. | Campbell Barton | |
2013-06-09 | Bugfix [#35686] Grease pencil to curve conversion causes NAN weights on vertices | Joshua Leung | |
When you convert a grease pencil stroke to a polygon curve and look at the vertices, the first and last vertex have weight = 0, but all others have a -NaN value. This was caused by division by zero issues when minmax_weights[0] == minmax_weights[1]. | |||
2013-05-28 | move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading) | Campbell Barton | |
remove MEM_sys_types.h which was a duplicate. | |||
2013-05-28 | Fix #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-05-20 | code cleanup: split scons includes onto multiple lines, reduce chance of ↵ | Campbell Barton | |
include conflicts later on. | |||
2013-05-08 | code cleanup: use 'const float[2]' where possible. | Campbell Barton | |
2013-04-16 | Random number generator: replace a bunch of usage of the global random number | Brecht Van Lommel | |
generator with a local one. It's not thread safe and will not give repeatable results, so in most cases it should not be used. Also fixes #34992 where the noise texture of a displacement modifier was not properly random in opengl animation render, because the seed got reset to a fixed value by an unrelated function while for final render it changed each frame. | |||
2013-04-05 | code cleanup: include order | Campbell Barton | |
2013-03-26 | I18n: various "new data translation" fixes... | Bastien Montagne | |
2013-03-26 | grease pencil eraser mouse-wheel resize was inverted compared to circle-select. | Campbell Barton | |
2013-03-26 | grease pencil xray option wasn't being applied to single points in the 3d view. | Campbell Barton | |
2013-03-26 | style cleanup: | Campbell Barton | |
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function. | |||
2013-03-26 | fix [#34658] GreasePencil eraser deletes strokes through geometry, surfacemode | Campbell Barton | |
add depth check to grease pencil eraser when xray option is disabled. | |||
2013-03-21 | code cleanup: use bool where values are true/false, for view3d and related ↵ | Campbell Barton | |
functions. | |||
2013-03-20 | add option to convert grease pencil into poly line directly. | Campbell Barton | |
Without this, bezier curves at 12 resolution are very high detail for many tasks when converted from freehand strokes. so add the option to convert 1:1 grease pencil points to curve polygons. also add use_handles option to curve conversion which is used when converting beziers to poly lines. | |||
2013-03-20 | code cleanup: use booleans for mesh and selection code. | Campbell Barton | |
2013-03-19 | Grease Pencil UI | Pablo Vazquez | |
The recent addition of the up/down arrows wasn't aligned. Before/After: http://www.pasteall.org/pic/show.php?id=47512 Patch by Francesco Siddi. | |||
2013-03-13 | code cleanup: use const events for modal and invoke operators. | Campbell Barton | |
2013-03-09 | code 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-08 | style cleanup | Campbell Barton | |
2013-03-07 | GPencil feature request: | Ton Roosendaal | |
Allow layers to be moved up and down, so you can control drawing order nicer. | |||
2013-03-01 | style cleanup: braces with multi-line statements, also add some comments. | Campbell Barton | |