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-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.
2011-04-28Mwahahahaha! I think I've found the cause of that awful purple/pinkJoshua Leung
"glow" that was appearing on bones drawn using "octahedral" from certain angles. It seems to have been caused by a typo in the code used to "clear spec colour"
2011-03-27object/paint/misc-files: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats. - also UV angle stretching was using radians->deg which wasn't needed.
2011-03-23fix [#26456] weightpaint mode with armature modifier, armature modeCampbell Barton
disable bone selection in weightpaint mode when the armature is not in pose mode.
2011-03-02Tsk! glGetFloatv() gives alpha too for GL_CURRENT_COLOR, so a four long ↵Janne Karhu
vector is needed!
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-20fix [#25283] Edge length display difficult to readCampbell Barton
- made theme colors for mesh edge len & face angle/area display. - use %g rather then %f for float display, trims unneeded zeros. - store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context. - use unsigned char for more color functions, avoids casting to glColorubv().
2010-12-14[#25211] Impossible to select an armature with shapesCampbell Barton
broke since 2.49b, highly confusing function. Stick bones dont draw solid so cant run glLoadName() in this case. Tested pose/object mode with all armature draw types and view draw modes.
2010-12-12Bugfix #25179Ton Roosendaal
Armature properties: layer buttons now show which ones are in use, like object layers.
2010-12-08Changed armature active bone so it is separate from selection this is ↵Campbell Barton
consistent with active object, mesh editmode, curves & metaballs. - active is no longer assumed to be selected. this fixes a simple bug - eg: Adding a new armature, entering pose mode and toggling selection failed. - outliner editbone selection now works like object and pose mode. - mouse selection sets the bone active even when the tip is selected. - active, unselected bones draw as wire color with a 15% tint of the selected color.
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-11-15Bugfix (IRC report)Ton Roosendaal
Bone drawing code failed to check the correnct parent pointer, causing NULL pointer to be read. Thanks Wahooney!
2010-11-03fix [#24499] Consistency Issue with LassoSelect/ExtendOptionCampbell Barton
Added extend option to lasso. also... - selecting bones wasn't checking their layer of if they were hidden in a number of places. - fixed memory leak. small unrealed changes - added PBONE_VISIBLE macro - renamed functions used for paint selectoin from *_tface to paintface_*. sine they no longer have anything todo with tface's. - removed scanfill include from BLI_blenlib.h, this is only used in very few places and quite specific. Noticed lasso select is broken for metaballs and face mask mode but this has been the case for a while, will look into it next.
2010-10-19bugfix [#24314] Motion path (ghosting/onioning) numbers are displayed with ↵Campbell Barton
offset