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
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).
2011-11-20UI:Brecht Van Lommel
* Add theme option to show panel header background. * Draw panel collapse widget a bit smaller. * Add theme option to draw icons muted. * Code tweak: replace U.themes.first by UI_GetTheme() calls.
2011-11-16Fix #29288: armature draw type wire + manipulator draw issue.Brecht Van Lommel
2011-11-07replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy ↵Campbell Barton
functions for int & char.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-19fix for armatures in wire draw mode not displaying in solid mode.Campbell Barton
note, this isn't a showstopper bugfix.
2011-10-07spaces -> tabs (whitespace only changes)Campbell Barton
2011-09-25added bone envelope to the editbone UI, also use more BLI_math functions for ↵Campbell Barton
armature drawing.
2011-09-25correction to armature drawing code, was implicitly casting the bone flag to ↵Campbell Barton
a short when it contains flags in the int range. also was converting pose bone constflag to an int which is harmless but may as well not to it.
2011-09-11minor edits / cleanup - no functional changes.Campbell Barton
- use 'const float *' and array size in some function declarations. - replace macros for BLI_math functions INPF, VECCOPY, VECADD etc. - remove unused VertRen.clip struct member. - remove static squared_dist() from 2 files, replace with BLI_math function len_squared_v3v3(). - use vertex arrays for drawing clipping background in the 3D viewport.
2011-09-10use vertex arrays for wireframe octahedral bone drawing.Campbell Barton
2011-08-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.
2011-08-27- fix for BL_Shader::SetUniform() missing out the last part of the matrix.Campbell Barton
- particle.c wasn't setting all components of the vector when reading cache and setting dummy velocity values. - some functions incorrectly took a float[3] argument when the 4th value was set. - remove a few redundant lines of code.
2011-07-24== RNA Property Updates get called by Animation System now ==Joshua Leung
This fixes bug #26764 and several others like it, where modifier properties (and others, but most visibly modifiers) would not do anything when animated or driven, as modifier properties require the RNA update calls to tag the modifiers to get recalculated. While just adding a call to RNA_property_update() could have gotten this working (as per the Campbell's patch attached in the report, and also my own attempt #25881). However, on production rigs, the performance cost of this is untenatable (on my own tests, without these updates, I was getting ~5fps on such a rig, but only 0.9fps or possibly even worse with the updates added). Hence, this commit adds a property-update caching system to the RNA level, which aims to reduce to the number of times that the update functions end up needing to get called. While this is much faster than without the caching, I also added an optimisation for pose bones (which are numerous in production rigs) so that their property updates are skipped, since they are useless to the animsys (they only tag the depsgraph for updating). This gets things moving at a more acceptable framerate.
2011-07-06Bugfix [#27825] Pose Mode Armatures different fill colorsJoshua Leung
Old light-blue colouring for "keyed" bones is no longer applied, even if the flags were set in earlier versions of Blender. This was a legacy feature used to get around some ancient issues, which isn't needed anymore. Instead, it ends up causing confusion, so removing.
2011-07-05Merging from trunk up to r38119.Joerg Mueller
2011-07-05Fix #27810: bones drawn blue in 2.49 file, was still checking stride boneBrecht Van Lommel
flag for drawing even though that feature is no longer in 2.5.
2011-06-21Merge with trunk r37677Joerg Mueller
2011-06-17fix for drawing bones names twice in object with viewport 'Outline' option ↵Campbell Barton
enabled.
2011-05-26New experimental drawtype for armatures: "Wire"Joshua Leung
This is equivalent to using B-Bones which are all scaled to have xwidth=zwidth=0, which can be useful to see how some limbs will bend, without the overhead of blocks blocking the view or having to scale down bone sizes first.
2011-05-04pass colors to glColor as vectors where possible.Campbell Barton
2011-04-28Bugfix [#27194] Difficulty selecting bones with boneshapes enabled andJoshua Leung
some bones made un-selectable Pose Bone selection (like object selection) used OpenGL to draw wireframes with different colours into an offscreen buffer and then from that identify which item was clicked on. The bug here was that unselectable bones were getting drawn for this step too, so they were getting caught instead of the control bones that were selectable.