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
path: root/source
AgeCommit message (Collapse)Author
2011-09-15replace BLI_strncpy with BLI_strncpy_utf8 where input isnt ensured to be valid.Campbell Barton
also replace strcpy's which copy using "" with str[0]='\0'
2011-09-15fix [#28658] python can assign non utf8 and crash because of string lenth ↵Campbell Barton
limits. add BLI_strncpy_utf8() which which ensures there are no partially copied UTF8 characters, limited by the buffer size.
2011-09-15Update build rules to deal with new gettext libraries.Sergey Sharybin
2011-09-15Fix [#28654] Warp modifier does not support negative strength when Vertex ↵Bastien Montagne
Group is used. The vg weight was multiplied by org strength (i.e. neg strength was always skiping all verts!), now multiplying it with abs value of strength.
2011-09-15New C/Py api utility function PyC_Err_Format_Prefix() which raises an error ↵Campbell Barton
with the existing error as a suffix. Use this to raise errors when assigning a string property fails even though the value to assign *is* a string. Before: TypeError: bpy_struct: item.attr= val: Object.name expected a string type, not str After: TypeError: bpy_struct: item.attr= val: Object.name error assigning string, UnicodeEncodeError('utf-8' codec can't encode character '\udce9' in position 23: surrogates not allowed)
2011-09-15move utf8 string.c functions into their own file, also add python tip for ↵Campbell Barton
printing operators.
2011-09-14minor edits to ascii draw function, unused var warning.Campbell Barton
2011-09-14move ED_object_pose_armature --> object_pose_armature_get to so we dont get ↵Campbell Barton
bad level calls in the weight paint branch.
2011-09-14removed nodes from CMake's BLENDER_LINK_LIBS, rewrote find-pcre using own ↵Campbell Barton
template.
2011-09-14- removed some duplicate library links from cmake (which were needed because ↵Campbell Barton
of bad level calls) - FindXML2 we had copied from another project was always running and not using cached value, rewrote based on template used for most of our other find modules which makes use of 'FindPackageHandleStandardArgs' - mark statuc collada libs as advanced.
2011-09-14resolve bad level calls from blenkenel/ into editors/ & remove editors from ↵Campbell Barton
the include path from CMake & SCons. * ED_curve_editnurbs --> curve_editnurbs * ED_sculpt_modifiers_changed --> object_sculpt_modifiers_changed
2011-09-13fix compilation for MinGW by substituting qsort_r with qsort. What aversion ↵Antony Riakiotakis
do MinGW guys have for including '_r' variants of functions anyway? Warning: a clean build will be needed probably to account for recent merge changes, or link errors will occur.
2011-09-13fix [#28635] Mirror Modifier - Clipping still active when modifier is disabledCampbell Barton
2011-09-12Fixes #28599: Wrong re-assigning of layers in RenderLayer comp nodes when ↵Bastien Montagne
deleting a render layer. Also added the check of comp nodetree of all scenes, as others might also use that scene in their compositing!
2011-09-12correct bad maximum value, for wile-loop node, outside the range of a short.Campbell Barton
2011-09-12fix for opencollada crash with r40164, missing NULL check.Campbell Barton
2011-09-12Fix [#28614] Collada Exporter does not export Ambient termNathan Letwory
reported by Steiner Bernhard ma->ambX is calculated only on a render, so instead of relying on those values compute them manually.
2011-09-12use vector size and const args where possible (no functional change)Campbell Barton
2011-09-12Code shuffle so function has only one exit point.Nathan Letwory
2011-09-12Fix for bug #28332: Smoke Simulation rendering artifacts.Miika Hamalainen
Volume pre-caching altered shared data simultaneously in multiple threads, causing invalid scattering results when "Asymmetry" value was used. The view vector is now passed as a function argument.
2011-09-12Fix #28613: SEGFAULT: When setting Best-Quality on a Bump Map in GLSL viewportSergey Sharybin
Problem was caused by CRLF line ending instead of LF line ending. Re-generate pu_shader_material to use LF line ending and made gpu codegen treat \r as space character.
2011-09-12fix for changing font sizes with recent utf8 speedupCampbell Barton
2011-09-12Fixed "bug" #28611: Subdiv value for icosphere should not be below 1.Bastien Montagne
2011-09-12Recast: attempt to fix compilation problem in Linux.Benoit Bolsee
2011-09-12- fix for mesh_get_mapped_verts_nors copying short normals to floats without ↵Campbell Barton
scaling. - BL_SkinDeformer also did this though for that case its not a problem because the normals are later accumulated anyway.
2011-09-12replace VECCOPY -> copy_v3_v3, added copy_v*_v*_short too for typesafe ↵Campbell Barton
copying, some parts of the code are copying float -> short normals without scaling. fix coming next.
2011-09-12cleanup for object color theme (no functional changes), could set the opengl ↵Campbell Barton
color 2-3 times per object.
2011-09-12fix for passing NULL to strstr() in visualkey_can_use()Campbell Barton
2011-09-12fix for ntreeGPUMaterialNodes(), using uninitialized exec pointer.Campbell Barton
also commented some set-but-unused variables.
2011-09-12== Sequencer ==Peter Schlaile
Fixed silly bug, that activated proxies at the wrong time.
2011-09-11Found other problems similar to bug #28619 in other primitive_add ops… ↵Bastien Montagne
Will continue to chek!
2011-09-11Fixed bug #28619: values of X/Y grid size were allowed to be below 3, when ↵Bastien Montagne
adding a grid primitive.
2011-09-11Fixes for Win+SCons and disable recastnavigationif game engine is disabled ↵Sergey Sharybin
in SCons
2011-09-11Recast: fix bad level calls, Recast compiled out if BGE not enabled. SCons ↵Benoit Bolsee
updated but not tested.
2011-09-11fix for 'blender -E' crashing.Campbell Barton
2011-09-11Audio:Joerg Mueller
* Fix for high quality upsampling which was wrong. * Fix for doppler effects which were calculated wrong for scenes. * Improved animation evaluation at the beginning and end of a scene.
2011-09-11move maxseq define into DNA.Campbell Barton
2011-09-11speedup for editmesh drawing.Campbell Barton
- avoid needless context switching quad/tri, flat/smooth. - dont call glNormal3vf() lighting is disabled. gives ~2x speedup with a subdivided cube, but thats probably the best case, quad/tri smooth/flat mix will slow down a bit.
2011-09-11Game Engine:Thomas Dinges
Fixed some more abbreviations in the UI.
2011-09-11partial fix for blenderplayer linking problems (decast retour)Dalai Felinto
This fix the problem of linking the extern components for the KX module. The remaining linking issues are related to actual bad level access so the fix is a bit more complex. Remaining linking issues (osx cmake gcc) ########### Undefined symbols: "_buildNavMeshDataByDerivedMesh", referenced from: KX_NavMeshObject::BuildVertIndArrays(float*&, int&, unsigned short*&, int&, unsigned short*&, float*&, int&, unsigned short*&, int&, int&)in libge_logic_ketsji.a(KX_NavMeshObject.cpp.o) _applyModifier in libbf_modifiers.a(MOD_navmesh.cpp.o) "_polyIsConvex", referenced from: _applyModifier in libbf_modifiers.a(MOD_navmesh.cpp.o) "_polyNumVerts", referenced from: KX_NavMeshObject::BuildVertIndArrays(float*&, int&, unsigned short*&, int&, unsigned short*&, float*&, int&, unsigned short*&, int&, int&)in libge_logic_ketsji.a(KX_NavMeshObject.cpp.o) "_polyFindVertex", referenced from: KX_NavMeshObject::BuildVertIndArrays(float*&, int&, unsigned short*&, int&, unsigned short*&, float*&, int&, unsigned short*&, int&, int&)in libge_logic_ketsji.a(KX_NavMeshObject.cpp.o) KX_NavMeshObject::BuildVertIndArrays(float*&, int&, unsigned short*&, int&, unsigned short*&, float*&, int&, unsigned short*&, int&, int&)in libge_logic_ketsji.a(KX_NavMeshObject.cpp.o) KX_NavMeshObject::BuildVertIndArrays(float*&, int&, unsigned short*&, int&, unsigned short*&, float*&, int&, unsigned short*&, int&, int&)in libge_logic_ketsji.a(KX_NavMeshObject.cpp.o) ############
2011-09-11speedup font drawing:Campbell Barton
for ascii characters in a utf8 string use glyph_ascii_table lookup rather than call blf_glyph_search(), otherwise fallback to blf_utf8_next() and blf_glyph_search().
2011-09-11fix for error in own commit r40108.Campbell Barton
2011-09-11replace magic numbers for flags for uiSetRoundBox();Campbell Barton
2011-09-11bugfix: [bf-blender-Game Engine][28167] Restart game actuator don't get ↵Dalai Felinto
changed material mode http://projects.blender.org/tracker/?func=detail&aid=28167&group_id=9&atid=306 Game Actuator (restart or load a new file) will not keep some settings alive (as we had in 2.49). In 2.49 the solution used was to use Blender globals (G.fileflags) to get/set those settings. That was causing the blender file to change if you change the material mode from the game. In 2.5 this never worked, and the implementation was buggy (it's relying in the scene settings, which get reset ever time we restart/load a new file). My idea for fixing this is to create a new struct (GlobalSettings) where we store any setting to be preserver during the course of the game. This is specially important for options that require the game to restart/load new file (graphic ones). But it later can be expanded to support other things such as audio settings (e.g. volume), ... I'm also planning to expand it for stereo and dome settings, but I prefer to first get this committed and then build a new patch on top of that. I had some problems in finding a correct way for build/link the blenderplayer changes, so although it's working I'm not sure this is the best code (e.g. I couldn't make forward declaration to work in GPG_Application.h for the struct GlobalSettings so I ended up including KX_KetsjiEngine.h) [note: I talked with Brecht and he find this is an ok solution. He implemented it originally so it's good to have his go. However I still think there must be a way to make forward declaration to work. I will see with other devs if there is a better solution] [also I'm likely renaming glsl to flags later if there are more settings stored in the flags to be used. But for now we are only handling glsl flags]
2011-09-11use vertex arrays for 3d view grid floor, reduce calls to glColor3ubv. ↵Campbell Barton
clanup some unrelated odd formatting in draw_rotation_guide.
2011-09-11draw grid lines in 1 loop rather then 2.Campbell Barton
2011-09-11change grid floor loopCampbell Barton
- split out axis drawing into its own loop (makes it more readable) - left GRID_MIN_PX at 1.0 by mistake last commit.
2011-09-11simple changes to grid drawing logic.Campbell Barton
- make ortho grid drawing use vertex arrays - make perspective view floor drawing cache result of UI_ThemeColorShade so its not called on every line. - make perspective view floor only loop once on each axis when the grid floor isnt being drawn (was looking over all grid lines for no reason). - add UI_GetColorPtrShade3ubv() to replace UI_GetColorPtrBlendShade3ubv() when no blending is needed.
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-11cmake edits to navmesh so includes are not added unless the game engines ↵Campbell Barton
enabled.