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-04-17Viewport Text Drawing: replace single allocs with a memarenaCampbell 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-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-11Fix T39070: Custom bone shapes appear only one sidedSergey 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-09Fix T37727: z-offset problems with camera viewCampbell Barton
2013-10-11code cleanup: use const's for static arraysCampbell Barton
2013-09-13Moved 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-19Remove unneeded include, was a residual from some WIP patch in the pastSergey Sharybin
2013-08-12Merging r58778 through r59080 from trunk into soc-2013-depsgraph_mtSergey Sharybin
2013-08-11use 'greater/less then or equal to' operators rather then adding 1.Campbell Barton
2013-07-29Merging r58475 through r58700 from trunk into soc-2013-depsgraph_mtSergey Sharybin
2013-07-25adjust 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-21Merging r58362 through r58463 from trunk into soc-2013-depsgraph_mtSergey Sharybin
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-07-15Made armatures evaluation safe(r) for threadingSergey 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-09add 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-08add 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-04code cleanup: use bools, (float)sin/(float)cos -> sinf/cosf, more meaningful ↵Campbell Barton
var names.
2013-03-22code cleanup: use booleans and const's for operator vars.Campbell Barton
2013-03-21code cleanup: use bool where values are true/false, for view3d and related ↵Campbell Barton
functions.
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-10-26style cleanupCampbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-07style cleanup: if();Campbell Barton
2012-09-09style cleanup:Campbell Barton
also remove some redundant conversions int -> short -> int
2012-08-30Bugfix [#32440] Segmentation fault when moving bone in pose mode when GhostJoshua 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-26Fix #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-09style cleanupCampbell Barton
2012-07-05style cleanupCampbell Barton
2012-07-03More spell and typo fixes (mostly visualise->visualize, grey->gray, ↵Bastien Montagne
normalise->normalize).
2012-06-10code cleanup: rename flag --> dflag (draw flag), since this is overly ↵Campbell Barton
generic name and was passed about to many functions.
2012-06-07fix for armature specular material color overriding the wire color when ↵Campbell Barton
instanced in a dupli
2012-06-07dont draw bone names/axis inside duplicatorsCampbell Barton
2012-06-07fix 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-06replace glGetFloatv(GL_CURRENT_COLOR, col_f); with the current wire color arg.Campbell Barton
2012-06-06pass 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-25style cleanupCampbell Barton
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-05code cleanup: naming - pose/armature/image Campbell Barton
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-04Renamed "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-26style cleanup: mostly whitespace around operatorsCampbell Barton
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-18spelling cleanupCampbell Barton
2012-03-11style cleanup: + some warning fixes, also remove unused metaelem extern.Campbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-03-02style cleanupCampbell 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-22code cleanyp - no functional changes.Campbell Barton
2012-01-19style edits - < 120 line widthCampbell Barton
2012-01-19rename 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).