Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-04-17 | Viewport Text Drawing: replace single allocs with a memarena | Campbell Barton | |
- pass label strlen since in many cases its already known. - use single linked list for cached text drawing. - add BLI_link_utils.h for single linked list macros. own tests give approx 22% overall speedup. | |||
2014-03-28 | Code cleanup: use sqrtf when input and output are float | Campbell Barton | |
2014-03-11 | Fix T39070: Custom bone shapes appear only one sided | Sergey Sharybin | |
The idea is simple -- only enable culling for bones if they're not using custom shape or if culling is enabled in shading panel. | |||
2013-12-09 | Fix T37727: z-offset problems with camera view | Campbell Barton | |
2013-10-11 | code cleanup: use const's for static arrays | Campbell Barton | |
2013-09-13 | Moved and renamed ED_pose_channel_in_IK_chain() -> | Joshua Leung | |
BKE_pose_channel_in_IK_chain() This was needed for depsgraph work, and it's cleaner for RNA to have fewer dependencies on editors | |||
2013-08-19 | Remove unneeded include, was a residual from some WIP patch in the past | Sergey Sharybin | |
2013-08-12 | Merging r58778 through r59080 from trunk into soc-2013-depsgraph_mt | Sergey Sharybin | |
2013-08-11 | use 'greater/less then or equal to' operators rather then adding 1. | Campbell Barton | |
2013-07-29 | Merging r58475 through r58700 from trunk into soc-2013-depsgraph_mt | Sergey Sharybin | |
2013-07-25 | adjust createSpaceNormalTangent so it can take values from a matrix without ↵ | Campbell Barton | |
having to negate the plane first. also add ED_armature_ebone_to_mat3/4 since there were quite a few places that did this inline. | |||
2013-07-21 | Merging r58362 through r58463 from trunk into soc-2013-depsgraph_mt | Sergey Sharybin | |
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-07-15 | Made armatures evaluation safe(r) for threading | Sergey Sharybin | |
Apparently, some routines in armature deformation code were using static arrays. This is probably just an optimization thing, but it's very bad for threading. Now made it so bbone matrices array is allocating in callee function stack. This required exposing MAX_BBONE_SUBDIV to an external API, This is not so much crappy from code side, and it shall be the same fast as before. | |||
2013-06-09 | add editmode wire color, | Campbell Barton | |
also changed lattice to use this, it used a hard-coded green color which was hard to see over the default background. | |||
2013-05-08 | add in asserts when rv3d->viewmatob, rv3d->persmatob are not initialized. | Campbell Barton | |
This is often hard to spot since in many cases it works correctly even when not initialized but may still fail in other situations. | |||
2013-04-04 | code cleanup: use bools, (float)sin/(float)cos -> sinf/cosf, more meaningful ↵ | Campbell Barton | |
var names. | |||
2013-03-22 | code cleanup: use booleans and const's for operator vars. | Campbell Barton | |
2013-03-21 | code cleanup: use bool where values are true/false, for view3d and related ↵ | Campbell Barton | |
functions. | |||
2012-12-11 | define the size of matrix args for both rows/cols. | Campbell Barton | |
2012-10-26 | style cleanup | Campbell Barton | |
2012-10-21 | style cleanup: trailing tabs & expand some non prefix tabs into spaces. | Campbell Barton | |
2012-10-07 | style cleanup: if(); | Campbell Barton | |
2012-09-09 | style cleanup: | Campbell Barton | |
also remove some redundant conversions int -> short -> int | |||
2012-08-30 | Bugfix [#32440] Segmentation fault when moving bone in pose mode when Ghost | Joshua Leung | |
Around Frame is enabled It turns out that the final "rebuild pose" at the end of each ghost drawing step was at fault here, as it resulted in bones referring to a different set of constraints after each ghost drawing step. However, most of the time, these new references pointed to non-existent locations, causing the segfaults. To fix this, I've removed this last rebuild step, which seems to work fine (no major problems seem to arise from this). Also, to ensure that the other object parameters have not changed (as a result of the reevaluation that needs to go on), we now evaluate the object once more after all the ghost drawing (but before final restore) so that object parameters (and potentially sub-data) are all restored to their original values. An upside of removing the final rebuild step is that "In Range" and "On Keyframe" ghosting options now work with proxies again. Previously, trying to move bones (but without autokey enabled) would mean that bones would snap back to their unkeyed positions. | |||
2012-07-26 | Fix #31550: Active Armature bone hardly distinguishable from other selected ↵ | Sergey Sharybin | |
bones Made active bone color a bit brighter and made it a userpref option. | |||
2012-07-09 | style cleanup | Campbell Barton | |
2012-07-05 | style cleanup | Campbell Barton | |
2012-07-03 | More spell and typo fixes (mostly visualise->visualize, grey->gray, ↵ | Bastien Montagne | |
normalise->normalize). | |||
2012-06-10 | code cleanup: rename flag --> dflag (draw flag), since this is overly ↵ | Campbell Barton | |
generic name and was passed about to many functions. | |||
2012-06-07 | fix for armature specular material color overriding the wire color when ↵ | Campbell Barton | |
instanced in a dupli | |||
2012-06-07 | dont draw bone names/axis inside duplicators | Campbell Barton | |
2012-06-07 | fix for error in previous commit. | Campbell Barton | |
- dupli-group armatures with pose bone objects set would draw with uninitialized color - also fix old bug - armature were over-riding the constcolor option - so drawing dupli-groups for eg - would ignore the DRAW_CONSTCOLOR flag. | |||
2012-06-06 | replace glGetFloatv(GL_CURRENT_COLOR, col_f); with the current wire color arg. | Campbell Barton | |
2012-06-06 | pass the object wire color along to drawing functions, too many places would ↵ | Campbell Barton | |
use glGetFloatv(GL_CURRENT_COLOR, curcol), which also become confusing to debug if in some cases the color was set beforehand. | |||
2012-05-25 | style cleanup | Campbell Barton | |
2012-05-19 | code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵ | Campbell Barton | |
replace do prefix with do_ for bool vars. | |||
2012-05-05 | code cleanup: naming - pose/armature/image | Campbell Barton | |
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used. | |||
2012-05-04 | Renamed "fake" OpenGL identifiers. | Jason Wilkins | |
Any identifier that looks like an OpenGL identifier, but isn't, causes a false alarm by the glreport.py tool. Most of these were in comments so I just rephrased the comments. There were a couple of static functions/macros that were easy enough to rename. Only the glTexco and glIndex fields of the DMVertexAttribs struct was public and had non-local uses. | |||
2012-03-26 | style cleanup: mostly whitespace around operators | Campbell Barton | |
2012-03-26 | style cleanup: add braces around checks - 'if ELEM() {...}', confuses some ↵ | Campbell Barton | |
parsers that done expand macros. | |||
2012-03-24 | style cleanup: follow style guide for formatting of if/for/while loops, and ↵ | Campbell Barton | |
else if's | |||
2012-03-18 | spelling cleanup | Campbell Barton | |
2012-03-11 | style cleanup: + some warning fixes, also remove unused metaelem extern. | Campbell Barton | |
2012-03-09 | style cleanup: spelling. | Campbell Barton | |
also remove large, duplicate comments from sunsky.h | |||
2012-03-03 | style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵ | Campbell Barton | |
already used a lot and part of proposed style guide). | |||
2012-03-02 | style cleanup | Campbell Barton | |
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used. | |||
2012-02-22 | code cleanyp - no functional changes. | Campbell Barton | |
2012-01-19 | style edits - < 120 line width | Campbell Barton | |
2012-01-19 | rename rgb_float_to_byte, rgb_byte_to_float to rgb_float_to_uchar, ↵ | Campbell Barton | |
rgb_uchar_to_float and swap args (math functions mostly have dest arg first like strcpy). |