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
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
2010-10-14remove unused args in draw*.c and some in view*.c, tag some as UNUSED().Campbell Barton
2010-10-14bugfix [#22161] Drawing of custom shapes in bonesCampbell Barton
2010-09-16bugfix [#23841] Bone envelope draws funkyCampbell Barton
2010-09-15bugfix [#23830] Border selecting bones in editmode bugCampbell Barton
was missing a call to glLoadName(-1); so drawing commands after the bone were taken into account with the selection. made some other minor changes that dont change functionality.
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-08remove unused includes from editors/space_*Campbell Barton
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-07-28Fix [#22197] empty XYZ text size changing according to distance from originMatt Ebb
Partial revert for commit r 27946 Empty/axis xyz text is now purely aligned to object space. Previous 3d view matrix manipulation stuff that I added wasn't correct, and causing more problems than it solved. Perhaps someone can tweak this later to be fixed size/screen aligned, but for now this is less annoying.
2010-04-21replace add_v3_v3v3() --> add_v3_v3() where possibleCampbell Barton
2010-04-18remove config.h references, was added for automake build system rev around ↵Campbell Barton
124-126 but isnt used by any build systems now.
2010-04-02Fix [#21852] Empty Objects slow down performanceMatt Ebb
This replaces the screen-aligned bitmap text drawing with wireframe x/y/z as part of the empty axis openGL code. It's a lot faster in all situations that draw empty axes to screen - including posing armatures with axes on (5fps vs 40fps on tracker test file).
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-16draw option to only display what is rendered, used for sequencer, opengl ↵Brecht Van Lommel
drawing by default. since we use preview renders a lot the empties & armatures can get in the way also. (commit 27511 by Campbell from render25 branch)
2010-02-19fix for empty xyz axis text drawing ontop of everything.Campbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-02-07Fixed display of IK DOF limits for bones. The old rotations were using ↵Joshua Leung
M_PI/360 instead of M_PI/180 in many places, which I overlooked when porting this over to using radians only.
2010-02-06Bugfix #20971: IK Joints Inexplicably Stiff In Recent Blender 2.5 BuildsJoshua Leung
- IK-Solver interfaces were still converting units from degrees to radians. Made these all use radians now. - Tried to fix the DOF limits drawing. This is still not totally functional again yet, but at least there are visible lines now.
2010-02-05Armature Drawing - Active Bone:Joshua Leung
Active bones are now only highlighted if they are also selected. This reduces confusion over when something will get moved/edited.