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-01-06rename normal calc functions.Campbell Barton
comparing bmesh to trunk, mesh_calc_normals() in bmesh is a much more comprehensive function, calculating mpoly,mface normals, where trunk only calculated vertex normals. renamed: * mesh_calc_normals() --> mesh_calc_normals_mapping_ex * mesh_calc_tessface_normals --> mesh_calc_normals_tessface() - only calculates normals from tessface * added mesh_calc_normals() - only calculates normals from poltys this way we can have mesh_calc_normals() remain fast for parts of the code which only need vertex normals to be updated. only refactor, no func changes- didnt replace mesh_calc_normals_mapping_ex() with mesh_calc_normals() anywhere yet.
2012-01-05svn merge ^/trunk/blender -r43124:43160Campbell Barton
2012-01-05add _default versions of sequence sound functions since most of their uses ↵Campbell Barton
passed along the same args from sequence strips. (no functional changes)
2012-01-05disable recent attempt to static link mingw DLL's causes errors for some users.Campbell Barton
also remove break statement, mistake on last commit.
2012-01-05replace double prints in readfile.c with a BKE_reportf wrapperCampbell Barton
2012-01-05This patch creates an interface for ["Text"] properties in Font objects.Dalai Felinto
Interface: http://www.pasteall.org/pic/show.php?id=23785 Simple test file: http://www.pasteall.org/blend/10616 (I'll commit this to the text suite later) Code Explanation: --------------- (1) it adds a toggle to add/remove a "Text" gameproperty. - internally this property is just another game property (so we can find it within the game.properties lookup). - the property itself has no 'value', the interface shows the content of ob.data.body instead (why? because gameproperties are per object, while the text is per data). (2) at BGE converter time it sets the current value of the object.data.body to the ["Text"] property. (3) if you change object.text (bge text property) it automatically convert ["Text"] to a CStringValue. *** that means if the original property was a CIntegerValue, it will be converted to CStringValue forever *** * the only to do I can think of is to add a warning at doversion time if user has ["Text"] property for a Font object * * when that happens we print a warning in console/popup.*
2012-01-02dont save MFace's from BMesh, this means they stay used but only for ↵Campbell Barton
tessface cache. also saves on undo memory and disk space.
2011-12-31svn merge ^/trunk/blender -r43009:43033Campbell Barton
2011-12-31svn merge ^/trunk/blender -r42991:43009Campbell Barton
2011-12-31workaround for error building with clang and quiet some warnings building ↵Campbell Barton
without libmv.
2011-12-29cache customdata checks to avoid looking up on each call to ↵Campbell Barton
mesh_loops_to_mface_corners()
2011-12-29Fix compile error from commit 42941Howard Trickey
2011-12-28Merging r42896 through r42944 from trunk into soc-2911-tomatoSergey Sharybin
2011-12-28svn merge ^/trunk/blender -r42935:42940Campbell Barton
2011-12-28correct defineCampbell Barton
2011-12-28files from bmesh now load in trunk, this way loading (2.64 (or whenever ↵Campbell Barton
bmesh is merged)), wont crash 2.62.
2011-12-28svn merge ^/trunk/blender -r42927:42931Campbell Barton
2011-12-28WIP loading bmesh in trunk, some conversion functions for this purpose.Campbell Barton
2011-12-28merge in customdata changes from BMesh - biggest change is caching the layer ↵Campbell Barton
index values in a typemap.
2011-12-27saving to legacy mesh format is now functionalCampbell Barton
2011-12-27svn merge ^/trunk/blender -r42886:42902Campbell Barton
2011-12-27option to save as older mesh format (ifdef'd for now)Campbell Barton
2011-12-27Merging r42800 through r42895 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-27option to save bmesh files in older mesh format so they can load in older ↵Campbell Barton
versoons of blender. - saves UV's and VCols - skips NGons - resulting files load in both BMesh and Trunk. TODO - add an option in the UI to access this.
2011-12-26svn merge ^/trunk/blender -r42839:42871Campbell Barton
2011-12-24replace u_int64_t with cc99's uint64_t as suggested by Nicholas Bishop.Campbell Barton
2011-12-23svn merge ^/trunk/blender -r42778:42839Campbell Barton
2011-12-22split >120 length lines (mostly if statements)Campbell Barton
2011-12-21Merging r42770 through r42799 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-21Added Record run no gaps timecode for movie clips.Sergey Sharybin
Also get rid of hardcoded constants in readfile and use constants from ImBuf headers.
2011-12-20Merging r42723 through r42769 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-20svn merge ^/trunk/blender -r42742:42757Campbell Barton
2011-12-20Cucumber, first batch of merge - UI changes and custom exit keyDalai Felinto
--------------------------------------------------------------- This was a test drive to see how painful the merge will be. Next batches are: - use desktop option for fullscreen - multisampling option - bullet collision mask - python - storage (vbo, dl, ...) - lighting [lighting still needs review] [python could use review, although it should be straightforward] [storage should be tested more I think] Merged /branches/soc-2011-cucumber:r 36991,37059,37157,37416,37497-37499,37501,37522,39036,40593 36991: ==UI== * Made some options available in Blender Game that were only available in Blender Render (camera resolution, animation fps) * Created a panel for the embedded player * Renamed the FPS option for the standalone player to Refresh Rate * Moved framing options to display * Made a button to launch the blender player from within blender (only tested on windows for now) 37059: ==UI== * Added the option to change the exit key for the BGE. The UI currently just sets a number, and this feature most likely does not work for blenderplayer yet. More work on this to come. * Removed the physics settings from the scene panel for the BGE. * Added an Add menu in the logic brick header. 37157: Making the bake options available in Blender Game 37416: Making the exit key UI element accept key presses instead of numbers. It still does not work for the Blenderplayer, and it does not limit the input to key presses (other events don't work for exiting) 37497: Some more work on getting the exit key to work in the Blenderplayer. Input is now restricted to keyboard events only for the exit key UI. 37498: Some clean up from the last commit. The exit key setting affects the Blenderplayer now. 37499: Cleaning up some duplicate code. Now the reverseTranslateTable for converting blender key codes to ketsji key codes is only defined in BL_BlenderDataConverter. 37501: Centralizing the exit key methods to the keyboard devices. This should make it easier to get exit key control to the python API. [37517: committed previously] 37522: Moved control of the exit key away from the keyboard devices, and moved it to ketsjiengine. Added setExitKey and getExitKey to the python API 39036: A couple of the doversions were in the wrong spot. This should fix some issues with the exit key not being set. [not committed entirely, see below]] 40552: space_logic.py (* fixed an error in space_logic.py *) 40593: launch blenderplayer from ui not working in OSX fix - by Daniel Stokes and me ######################################################## code left behind (to be included in next commit): ######################################################## { /* Initialize default values for collision masks */ Object *ob; for(ob=main->object.first; ob; ob=ob->id.next) ob->col_group = ob->col_mask = 1; }
2011-12-20svn merge ^/trunk/blender -r42722:42742Campbell Barton
2011-12-19Object tracking: configurable scale for object solutionSergey Sharybin
Added slider to define scale of object solution which is used to define "depth" of object relative to camera position. This slider effects on all "users" of object solution such as bundles display, constrained objects and so. Added new operator called "Set Solution Scale" to set real scale for object solution based on real distance between two bundles reconstructed for this object. New slider and operator can be found on "Object" panel in toolbox when in reconstruction mode and active tracking object isn't a camera.
2011-12-19Automatically hide unused (=unlinked) node sockets in collapsed ("hidden") ↵Lukas Toenne
nodes. This is to make nodes with many sockets cleaner and simpler, which is the purpose of collapsing nodes in the first place. The hiding code uses the SOCK_IN_USE flags already present. These were only temporarily set by the shader node code for determining needed texture coordinate types. Now they are used persistently and updated along with the sock->link pointers.
2011-12-16svn merge ^/trunk/blender -r42617:42655Campbell Barton
2011-12-15Object tracking: object with object solver constraint is now parented to ↵Sergey Sharybin
scene's camera Made Object Solver operator parent object to scene's camera. Behavior is pretty much familiar to Child Of constraint -- it stores inverted transformation matrix which gives constant offset in parent's space. Current files would open incorrect, to make object aligned well again, just press "Set Inverse" button in Object Solver constraint. Fixed orientation operators so now they should work in all cases. Also changed behavior of Set Origin operator which now sets origin to the median point of all selected tracks/
2011-12-15Merging r42621 through r42647 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-15vertex group changes,Campbell Barton
use more api functions more (some vertex group editing functions were copied about), also make some functions int oapi calls. - remove defgroup_find_index(), use BLI_findlink instead since they both work the same way. - move static function getNearestPointOnPlane() to BLI_math api function closest_to_plane_v3() - ED_vgroup_give_parray() added option to return an array where unselected verts are NULL (simplifies code & works for lattice when it didn't before). - more consistant error checking of ob->actdef.
2011-12-13Merging r42533 through r42601 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-11svn merge ^/trunk/blender -r42550:42564Campbell Barton
2011-12-10Fix #29516: Twist brush giving crazy resultsSergey Sharybin
- Rotation now happens around initial stroke location rather than around scene origin - Added slider for rotation strength which helps in cases only few rotation is needed to be to increase the precision of such strokes
2011-12-06Quiet annoying warning:Campbell Barton
Warning! Tesselation uvs or vcol data got out of sync, "had to reset! This would happen on every editmode edit with UV's and wasn't too reassuring that blender was handling uvs/vcols correctly. From looking into the problem I found that creating the undo mesh would act as if it was tessellating the existing mesh each time and complain that the data was out of sync, when infact the mesh was just created and being filled in. Also, allocating uv and vcol customdata arrats for tessfaces isn't needed for undo mesh, so save some memory and dont allocate these in the first place.
2011-12-05Object tracking; initial commitSergey Sharybin
This commit implements basis stuff needed for object tracking, use case isn't perfect now, interface also should be cleaned a bit. - Added list of objects to be tracked. Default there's only one object called "Camera" which is used for solving camera motion. Other objects can be added and each of them will have it;s own list of tracks. Only one object can be used for camera solving at this moment. - Added new constraint called "Object Tracking" which makes oriented object be moving in the save way as solved object motion. - Scene orientation tools can be used for orienting object to bundles. - All tools which works with list of tracks or reconstruction data now gets that lists from active editing object. - All objects and their tracking data are available via python api.
2011-12-05svn merge ^/trunk/blender -r42426:42439Campbell Barton
2011-12-05fix for dscale which was set to 0,0,0 from files saved between Nov 29 and Dec 4.Campbell Barton
2011-12-05svn merge ^/trunk/blender -r42416:42422Campbell Barton
2011-12-04remove mesh PartialVisibility, it wasnt being version patches or used ↵Campbell Barton
anywhere, other then save/load/free.
2011-12-04svn merge ^/trunk/blender -r42372:42416Campbell Barton