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-02-17clear some unused warningsCampbell Barton
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-13many functions in blender are not marked static but should be.Campbell Barton
most local modifier,GPU,ImBuf and Interface functions are now static. also fixed an error were the fluid modifier definition and the header didnt have the same number of args.
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-12fix for more warnings.Campbell Barton
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array. - use BLI_snprintf rather then sprintf where the size of the string is known. - particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
2011-01-15Fix for [#25633] Particles display switching causes crash when Velocity disp. ONJanne Karhu
* Particle draw data wasn't freed properly in some cases. * Velocity + circle draw type also crashed due to missing null pointer check.
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-10comment/remove various unused vars,Campbell Barton
also make rna function for new images require width and hight args.
2011-01-09warning from clang, possible crash:Campbell Barton
'cd' could be NULL, all other particle draw types checked 'cd' except for PART_DRAW_AXIS, seems logical to have the check here too.
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.
2011-01-05Todo item: linked curve objects behaves incorrect with modifiersSergey Sharybin
Use object's displists for storing deformed tesselated curve. Was unable to totally get rid of curve's displist because of how texture space is calculating.
2011-01-03dont draw lamp volume when its being used as the view camera, would flicker ↵Campbell Barton
annoyingly when flying the lamp about to position it.
2010-12-23Bugfix #25341Ton Roosendaal
Child-of constraint issue: on adding, it wasn't checking owner correctly for Bones, resulting in a constraint working in wrong space; it looked as if transform was applied double when moving the object. Only adding via Py API went wrong btw. Also found a silly check for drawing constraints, which caused constraint initialization to happen for every object on every redraw! Implementation note: con->flag CONSTRAINT_SPACEONCE was only used for child-of constraints in Bones, so I've patched it on file reading to always set the flag. Marked with XXX, so it can be removed one day. Now at least things get corrected well for imported armatures.
2010-12-23remove View3D.customdata_mask, since its stored in the scene now there is no ↵Campbell Barton
need for each view to store every views combine data mask.
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-14Fix for [#25198] Smoke gets shown before simulation startsJanne Karhu
* Smoke is now only drawn/rendered after the simulation frame range starts. * This does not apply to simulation end frame though, so that any remaining smoke can for example be faded away nicely through material settings.
2010-12-08fix [#25088] Add spot lamp causing crashCampbell Barton
this is actually an assert not a crash, when the lamp and view axis were aligned, the quat could not correctly be converted into a matrix. Now fallback to the X axis in this case.
2010-12-07Fix #25085: Enabling "Show Cone" on dupliverted buffer spots crashes BlenderSergey Sharybin
Cone can't be drawn for duplicated lamps, because lamps with cone are drawn after main draw function (from view3d_draw_transp) and list of duplicated object gets freed to this moment. Disable cone draw for lamps which are from dupli.
2010-12-06bugfix [#25057] Vertex paint - Cannot select or paint vertices of obscured ↵Campbell Barton
vertices, even when obscuring faces are hiddden
2010-12-05fix for camera border going outside the clipping range while in camera view.Campbell Barton
2010-12-04remove shadowed definitions but keep them as zero this time.Campbell Barton
2010-12-03Bugfix #2508Ton Roosendaal
Campbell's cleanup commit 33442 today broke axes drawing. Restored code.
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-27Particle draw was calling glColorMaterial(...) after ↵Campbell Barton
glEnable(GL_COLOR_MATERIAL), this is documented to be incorrect. On my system it set the ambient color value to 1.0.
2010-11-26fix [#24900] Texture paint mode brokenCampbell Barton
own commit r33070 broke this.
2010-11-21Fixed missed selection oulines for curves/surfaces/fonts/armature when ↵Sergey Sharybin
texture shading is active
2010-11-19Tsk! Circle, cross and axis draw types for particles weren't using the ↵Janne Karhu
particle draw size.
2010-11-18fix [#24780] Metaballs are not drawn correctly in new scenes Campbell Barton
this is a can of worms, at the moment blender depends on broken behavior for metaballs: find_basis_mball() can return a metaball object that fails a is_basis_mball() check which makes this logic very confusing (added note about this in mball.c). Metaballs needs a refactor however at least make drawing fail consistently, For wire draw is_basis_mball() wasn't being checked, for solid drawing it was (hence the strange wire frame). For now the motherball needs to exist in the main scene else it wont work.
2010-11-15fix [#24712] 3ds_import fixCampbell Barton
Rather then applying the proposed fix, enabling 'Apply Transform' works in almost all cases including the reported one. There are some files that don't work with 'Apply Transform', which is why the option is worth keeping. also remove unneeded calls to paint_facesel_test()
2010-11-11BLF_draw functions take an extra length argument, so the console drawing ↵Campbell Barton
doenst need to swap in NULL chars to draw word wrapping.
2010-11-08fix for not being able to select the camera while in the camera view, also ↵Campbell Barton
draw the camera unscaled in the 3D view.
2010-11-08- when orbiting the view out of camera mode use the ortho/persp setting of ↵Campbell Barton
the camera. - display the physical size of a ortho camera since, unlike a perspective camera the ortho scale can be converted into a plane with real size.
2010-11-07use RV3D_CAMOB define, theres no reason to use >= comparison either.Campbell Barton
also fixed opengl render ortho test.
2010-11-05centralize function for calculating pixel size. (no functional changes)Campbell Barton
2010-11-03use c90 compatible static initializers.Campbell Barton
2010-10-31Minor speedups for 3D view text drawing ~10-15% improved frame-rate with ↵Campbell Barton
particle display. - ascii text drawing functions, slightly faster since they dont have to do hash lookups & utf8 conversions for each char. - used ascii drawing functions for the view3d's number display. - each text item was using fixed 128 chars, now only allocate the string length needed.
2010-10-25Fix for [#24383] Particles using "circle" as display, are disabled on ↵Janne Karhu
opening file
2010-10-24Make sure separation between modifier keys is communicated from GHOST ↵Nathan Letwory
upwards too (BGE at least uses this).
2010-10-24Fully disable AUD's FFTW3 usage.Guillermo S. Romero
2010-10-19Fix for bugs [#24316] Changing particles path step in particle mode makes ↵Janne Karhu
lines invisible and [#24318] Particle lines disappear if view particles are enabled.
2010-10-19bugfix [#24314] Motion path (ghosting/onioning) numbers are displayed with ↵Campbell Barton
offset
2010-10-18Camera object drawing now shows shift (not especially important but the ↵Campbell Barton
tracker is being unusably slow)
2010-10-14remove unused args in draw*.c and some in view*.c, tag some as UNUSED().Campbell Barton
2010-10-11weight-paint in solid draw mode would draw the wire twice, also change wire ↵Campbell Barton
drawing to draw all edges and better visibility over yellow areas.
2010-10-07misc fixes found with clang's static checker.Campbell Barton
2010-10-05bugfix [#23506] Bevel Modifier display problemCampbell Barton
This is a more general problem that drawing functions would skip faces when the original index could not be found, screw result for example wasnt visible in editmode too. Fixed by adding a material set argument to DerivedMesh->drawMappedFaces(), this was already being done in some of the other drawing functions.
2010-10-01minor adjustment to camera object drawing so arrow stays same size ↵Campbell Barton
independent of aspect.
2010-09-28bugfix [#23908] Irratic manipulator scale at far out distancesCampbell Barton
2010-09-21Fix #23754: glsl + constructive curve modifier not drawing correct.Brecht Van Lommel