Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-17 | Merge branch 'master' into soc-2014-viewport_context | Campbell Barton | |
2014-09-02 | Fixes localview and view-local layers | Campbell Barton | |
- Drawing grease pencil fail without scene-lock. - Converting to curve failed without scene-lock. - Outliner drag into viewport failed with local-view. | |||
2014-07-26 | SCons support for Ghost context refactor | Jason Wilkins | |
Tested on OSX Only tested the default options and did not implement code needed to link with EGL, but that can be done later | |||
2014-07-24 | Merge branch 'master' into soc-2014-viewport_context | Jason Wilkins | |
2014-07-23 | [Ghost Context Refactor] initial commit based on code review of ↵ | Jason Wilkins | |
https://developer.blender.org/D643 | |||
2014-07-19 | Defines: replace ELEM3-16 with ELEM(...), that can take varargs | Campbell Barton | |
2014-06-13 | Sequencer: add support for grease pencil rendering in previews | Campbell Barton | |
2014-06-13 | Code cleanup: use ED_gpencil_ prefix for grease pencil | Campbell Barton | |
2014-05-01 | Another issue with includes | Campbell Barton | |
OSX needs userdef for pixelsize, adjusted header to avoid this happening again. | |||
2014-04-30 | Code cleanup: remove unused includes | Campbell Barton | |
Opted to keep includes if they are used indirectly (even if removing is possible). | |||
2014-04-27 | Code cleanup: const args and arrays | Campbell Barton | |
2014-04-21 | View2d: API Cleanup for view<->region conversion | Campbell Barton | |
View2D had some inconsistencies making it error prone in some cases. - Inconstant checking for NULL x/y args. Disallow NULL args for x/y destination pointers, instead add: - UI_view2d_region_to_view_x/y - UI_view2d_view_to_region_x/y - '_no_clip' suffix wasn't always used for non-clipping conversion, switch it around and use a '_clip' suffix for all funcs that clip. - UI_view2d_text_cache_add now clips before adding cache. - '_clip' funcs return a bool to quickly check if its in the view. - add conversion for rectangles, since this is a common task: - UI_view2d_view_to_region_rcti - UI_view2d_region_to_view_rctf | |||
2014-04-21 | Fix for UI_view2d_to_region_float (was ignoring x,y args) | Campbell Barton | |
use this for grease pencil stroke conversion to avoid float->int->float conversion. | |||
2014-04-07 | Code cleanup: project gpencil in float coords & delete outdated comments | Campbell Barton | |
2014-04-01 | Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define | Campbell Barton | |
2014-03-31 | Code cleanup: use bool | Campbell Barton | |
2014-02-28 | Proper solution for crash of GP when marker is not exist on current frame | Sergey Sharybin | |
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. |