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-18spelling cleanupCampbell Barton
2012-03-18ngons draw with uniform normals in object mode now, I had this code disabled ↵Campbell Barton
for speed (it was being called when it didnt need to), but for CDDM meshes without face normal layers this should still be called.
2012-03-18code cleanup:Campbell Barton
* replace 2D vector copy with copy_v2_v2(). * use puts rather then printf for single strings. * style cleanup for drawobject.c indentation.
2012-03-18SVN maintenance.Guillermo S. Romero
2012-03-18better not to use rgb_float_to_uchar() from last commit (comment as to why)Campbell Barton
2012-03-18fix for weightpaint color with recent loopcolor abgr --> rgba conversion.Campbell Barton
2012-03-18bmesh py api:Campbell Barton
use different types for bm.verts.layers, bm.faces.layers, otherwise the layers look to have customdata type that isnt compatible, UV's on edges for eg.
2012-03-18code cleanup: not all mathutils callback creation functions tool unsigned ↵Campbell Barton
char for type & subtype args.
2012-03-18fix for invalid use of strncat (N == how many bytes may be appended, not the ↵Campbell Barton
final string size).
2012-03-18fix: UV Islands not selected properly with Ctrl-L. A simple misplacement of ↵Antony Riakiotakis
the BMFace iterating variable. Also cleaned up an unused nverts variable.
2012-03-18update vertex paint code for last commit, was still using ABGR order.Campbell Barton
2012-03-18swap BMLoopCol r/b color, requires subversion bump.Campbell Barton
old mesh MCol 'r' was blue, 'b' was red, but theres no reason to keep this for bmesh with MLoopCol. Loading old files works, saving legacy format works too. What wont work is loading a file after this revision and loading it in an older revision since the bmesh merge. (it wont crash but the blue and red will be swapped on vertex color layers).
2012-03-17bmesh py api:Campbell Barton
access to MLoopCol as mathutils.Color type
2012-03-17== Sequencer ==Peter Schlaile
Bugfix: [#28159] sequencer strip crop values on proxy not scene render size Also: IMB saturation change moved into imbuf-module.
2012-03-17UI messages: unification of select/deselect stuff.Bastien Montagne
Previously we had three versions, Select/Deselect, Select or Deselect, and (De)select, choosen the third (shortest) one for now.
2012-03-17dont disable python when addons aren't found (addons are not needed for ↵Campbell Barton
python to run)
2012-03-17Fix 30562: bevel was infinite looping when adjacent faces had incompatible ↵Howard Trickey
normals The fix is to check for cases where BME_Bevel_Dissolve_Disk was trying to join faces with opposite normals and reverse one. This isn't a great fix, and the example blend has strange corners at the top after beveling, but at least it stops the infinite loops.
2012-03-17Big step forward nodes UI translation:Bastien Montagne
*Add menu is now translated. *Nodes' title is now translated. *Nodes' sockets' labels are now translated. However, about the last point, and unless I’m mistaking, we’ll have to add the "i18n tag" N_() to all sockets' names, in the input/ouput templates declaration, in all nodes' files, as those sockets are collections created at runtime, I think po-generating script has no way to access that from bpy.types... Quite a piece of (borring) work. :/
2012-03-17Minor UI messages fixes, and enabling i18n for all modifier_setError() error ↵Bastien Montagne
messages.
2012-03-17compile fix for 44939Jens Verwiebe
2012-03-17Fix for yesterday i18n own commit (r44924): we now need to define ↵Bastien Montagne
WITH_INTERNATIONAL everywhere TIP_/IFACE_ macros are used (else, we get non-international, dummy NOP macros instead!). Also fixed in main CMakeList file, when no addon dir found, we want to disable WITH_PYTHON (I guess, certainly not WITH_INTERNATIONAL ;) ).
2012-03-17minor mathutils code cleanup - use mathutils callbacks as unsigned chars ↵Campbell Barton
everywhere.
2012-03-17Make grumpy gcc happy again! :pBastien Montagne
2012-03-17bmesh py api:Campbell Barton
added per loop UV layer access
2012-03-17#collada instance_node import, partially fixes #27629Arystanbek Dyussenov
Patch applied in r37663 caused loss of <instance_node>s. All parts of the smaller test file attached in the report now import.
2012-03-17bmesh py api:Campbell Barton
split up BMElemSeq into BMVertSeq, BMEdgeSeq, BMFaceSeq and BMLoopSeq Was becoming cumbersome since each needed their own new() function, and other methods only worked for some of these types. Added BMesh.loops - since you cant iterate over loops this is for customdata access only.
2012-03-17Reduce poly map memory usage (used by sculpt smooth brush.)Nicholas Bishop
Changed the create_vert_poly_map function to return a more compact structure. Memory saved will vary depending on the mesh, but typically it should be about one third of the old size.
2012-03-17minor improvement to image info color sample drawing, draw a grey outline.Campbell Barton
2012-03-17Fix for size of VBO index type when drawing multires in sculpt mode.Nicholas Bishop
The VBO index type can be either ushort or uint depending on the grid size. The comparison was checking how many quads are in the array, but this was incorrect; the size of the index elements should depend on the maximum value they reference, i.e. the maximum coord/normal element.
2012-03-17add select invert for latticeCampbell Barton
2012-03-17fix for own silly mistake with face creation (wasnt checking more then 1 ↵Campbell Barton
vert was selected)
2012-03-17style cleanup: py/capiCampbell Barton
2012-03-17bugfix. Brush zoom could fail if uv sculpting was onAntony Riakiotakis
2012-03-17Follow up to fix in r44919: use standard stats in paint modes.Nicholas Bishop
Removed the special case for header statistics in sculpt/paint modes. The information provided was less useful, and less accurate even because it didn't reflect multires.
2012-03-16Patch by Psy-Fi + my minor changesAlexander Kuznetsov
Adds conformation on exit for windows. Needs to be enabled in user perf. Tried to edit blender.exe.manifest for more modern dialog look, but didn't work out.
2012-03-16i18n stuff: adds translation_context to RNA structs (used for there ui ↵Bastien Montagne
name), and a first default "Operator" one for all operators' label. The fact is, operators' label are nearly always verbs, while properties labels are nearly always nouns. So this should already solve many translations' problems regarding noun/verb confusion. This commit also simplifies a bit i18n usage: *Now IFACE_ and TIP_ macros (or there context versions, CTX_IFACE_/TIP_) are used nearly everywhere (with one exception, where code is a bit complex and needs to manually test whether ui/tip translations is allowed, so no need to redo it later through those macros). *Also, those macros are now defined to NOP in case WITH_INTERNATIONAL is false, which avoid testing that define everywhere in code!
2012-03-16== Python API docs ==Luca Bonavita
Small fixes (thanks Terry Wallwork for reporting) - adding logger filehandler in main () so that ARGS.output_dir exists, otherwise we get an IOError - the zip was not including files in a container directory
2012-03-16Allow merging two tracks in cases when they've got overlapping tracked/keyframedSergey Sharybin
frame ranges using average position of both tracks as position/
2012-03-16Fix #30561 Modifiers with use_apply_on_spline = True do not work on curve ↵Sergey Sharybin
with shapekeys
2012-03-16== Python API docs ==Luca Bonavita
Committing a patch similar to revision 44887 with fixes to my own bugs (sorry Campbell, and thanks for reviewing :) Fixes ------ - examples/ svn directory not removed anymore (in-source builds possible again) - fixed "include references somehow stopped working" + using shutils.makearchive() to zip the file New command line options ------------------------ -l: Log the output of the api dump and sphinx|latex warnings and errors If given, save logs in: * OUTPUT_DIR/.bpy.log * OUTPUT_DIR/.sphinx-build.log * OUTPUT_DIR/.sphinx-build_pdf.log * OUTPUT_DIR/.latex_make.log (using only one log directive instead of -l for bpy and -L for sphinx) -P: builds the pdf -R: pack the files in a dir ready for online deployment (including the zip and the pdf eventually) Example usage: ./blender.bin -b -P doc/python_api/sphinx_doc_gen.py -- -p bmesh* -o ./<OUTPUTDIR> -B -P -R -l
2012-03-16Fix object mode check in stats_update.Nicholas Bishop
Was checking object flag rather than mode.
2012-03-16bmesh py api:Campbell Barton
initial support for editing bmesh customdata per vert/edge/face/loop shapes, crease, bevel weights working, missing UVs and Vertex Colors still.
2012-03-16fix for building bmesh bevel with scons (source file was left out)Campbell Barton
2012-03-16bmesh py api:Campbell Barton
Wrap customdata, so far you can access the data layers in a pythonic way but not manipulate the customdata yet. provides dictionary like access to customdata layers, eg: texpoly = bm.faces.tex["UVMap"] print(bm.verts.shape.keys()) # un-intended pun, keys() works on all layers. print("MyInt" in bm.edges.int) # __contains__ layer = bm.faces.get("CheckForLayer")
2012-03-16py api:Campbell Barton
modify bpy.path.display_name_from_filepath() to accept bytes
2012-03-16Fix for multires VBO drawing in sculpt mode.Nicholas Bishop
Forgot to use return value of function creating the index buffer.
2012-03-16bmesh: being back bevel modifier from 2.62 stable.Campbell Barton
this is no big improvement but at least its not a regression. using the new operator for the bevel modifier can be enabled again be uncommenting a define.
2012-03-16*picky* fix for edge rotateCampbell Barton
- Edge rotate would leave verts selected, this would give problems because those selections would leave edges that would try to rotate when run again. now de-select old verts on edge rotate. - Rotating into hidden verts gave odd results, now make sure hidden state is ok. - BMO_slot_buffer_hflag_disable / BMO_slot_buffer_hflag_enable now have flushing for the hide flag too.
2012-03-16Commit patch from Nicholas Bishop with some small modificationsSergey Sharybin
to make nicer displaying of brush names.
2012-03-16quiet debug print(), reported as [#30552], but infact is harmless.Campbell Barton