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-06code cleanup - give edge split more helpful var names and replace edgetag ↵Campbell Barton
macros with static functions.
2012-03-06Fix sculpt partial redraw in viewport not working, my mistake, found by ↵Brecht Van Lommel
Nicholas.
2012-03-06Camera tracking: wall scene orientation operatorSergey Sharybin
Made Set Floor a bit more general and name it Set Plane which defines orientation from 3 selected tracks and makes them belong to specified plane (wall or floor).
2012-03-06Fix to knifetool when intermediate point in space.Howard Trickey
Before, if you cut the same edge multiple times with an intermediate point in space, it wouldn't get all of the edges.
2012-03-06Fix for 30439, Cycles node group conversion wasn't checking node->id pointer ↵Lukas Toenne
(group node without internal node tree). This is a somewhat unusual case (UI buttons don't allow unlinking group tree), but not entirely forbidden. Also fixed similar issue in node_templates.c where the group tree is used to generate a button name.
2012-03-06Disable interpolation of customdata layers on edge slideSergey Sharybin
This option might be useful in some cases like keeping UV coordinated in kind of "correct" state so sliding edge loop will also slide edges in UV. But for other layers like shapekeys and vertex colors it's arguable it's actually needed. The way it's currently done isn't actually acceptable because it doesn't take flags like UVCALC_TRANSFORM_CORRECT into account and also makes extra unwanted things like interpolating shapekeys which leads to propagating changes into basis keys and also results with slide applied twice for relative keys because offset is also applying on loading edit mesh. Also discussed with Brecht who agreed with marking this things as TODO and disabling for now. This should fix issue reported in #30387: Edge Slide propogates to Basis Shape Key
2012-03-05RegionView3D.update call, to address issue in report:Campbell Barton
[#30454] perspective_matrix not update in real time with bpy.ops.view3d.zoom This is so you can modifify the view settings and get the view matrix after without waiting for a redraw.
2012-03-05fix [#30457] Smooth normals wrongly exported to wavefrontCampbell Barton
mesh.calc_normals() wasnt calculating vertex normals (only face normals), now only calculate vertex normals. added a define incase we want to have poly normals back again.
2012-03-05edge rotate now keeps edge properties (like seam, crease, bevel weight.. etc)Campbell Barton
2012-03-05Added option to fit frame to the whole clip editor viewport instead of zoomingSergey Sharybin
to a power-of-two factor. Shortcut is F.
2012-03-05Track cleanup operators are now moved to the global clip editor shortcutsSergey Sharybin
which makes it possible to cleanup tracks from curve view.
2012-03-04Movie clip editor: implemented border select operator for curves viewSergey Sharybin
2012-03-04* rename BM_face_other_loop --> BM_face_other_edge_loopCampbell Barton
* optimize BM_face_other_edge_loop to do about half as many iterations for quad heavy meshes, with ngons the gain is much more since searching around the entire ngon when the edge already stores its loop is silly. ... also nicer in cases where edge has no face users it avoids a loop on all face corners.
2012-03-04switch arg order for BM_face_other_* funcs (make face come first), and add ↵Campbell Barton
nice ascii art for BM_face_other_vert_loop since this stuff is hard to grasp as text.
2012-03-04Small feature for the viewer linking operator: When no viewer node is ↵Lukas Toenne
present in the tree, it automatically adds a new one next to the output socket. Also changed the poll function of that operator to make sure it actually only works on compositor trees (others don't have viewer nodes).
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-04Whitespace tweaksJoshua Leung
2012-03-04bmesh: add back feature from 2.4x Ctrl+Shift+T subdivides quads in the ↵Campbell Barton
alternate direction.
2012-03-04changes to ED_mesh_update() to work with OBJ import.Campbell Barton
* calculate vertex normals (previously was calculating face normals only) * clear tessfaces unless theres an argument to build them. since no tessfaces is the default state right now. * if convert_mfaces_to_mpolys() runs, dont calculate edges, since it already does that.
2012-03-04Many i18n fixings, based on [#30428] [2.62] Translation Issues.Bastien Montagne
In fact, most "UI special cases" are not well translated, currently. :/ This affects especially the "Properties" panels. This commit should address problems in Graph editors, and 3D View (but probably not yet all of them). Yet it already adds more than 100 new messages (and fixes translated drawing of more). Also done some style edits…
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-03-03bmesh support for rotating multiple edges at once.Campbell Barton
2012-03-03style cleanup - spelling corrections & update some incorrect comments.Campbell Barton
2012-03-03option for the Armature Actuator to change the influence of a bone constraint.Dalai Felinto
Also adds DampedTrackTo to the list of supported constraints in the BGE Test file: http://www.pasteall.org/blend/11715 Patch developed as part of a project to NF-UBC Nereus Program. Development time 'sponsored' by the project. www.nereusprogram.org
2012-03-03"Fix" [#30431] UI string spelling & similar fixes.Bastien Montagne
All suggested changes looked good to me, thx to Michael Färber for this list of changes!
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02mesh.update() now has option to calculate tessellation faces.Campbell Barton
2012-03-02code cleanup:Campbell Barton
replace casts: '((Mesh *)ob->data)->edit_btmesh' with 'BMEdit_FromObject(ob)' also minor style edits.
2012-03-02bmesh minor changesCampbell Barton
* dont check selection and hiddent state (select + hide isnt allowed and api ensures this) * MESH_OT_noise had incorrect check for texture (checked if slot [0] was filled but then used active texture)
2012-03-02Fix [#30419] Median wrongly setting lattice vertex weights.Bastien Montagne
In fact, the same bug affected curves' weights too. Now using the same method as for setting mesh edges' crease and bevel weights. Also factorized/simplified that part of code by defining a new utility func computing the scale factor. Also greatly simplified UI code in same v3d_editvertex_buts() function, was really over-complicated (this fixes btw a few minor UI bugs in the transform editmode panel, like missing tips, etc.).
2012-03-02Code Cleanup: update to mempool, use flag rather then bool args.Campbell Barton
2012-03-02bmesh - changes to mempool allocationsCampbell Barton
* double default edge allocation size (double the number of verts/faces). * CustomData_bmesh_init_pool was using allocsize & chunksize as the same variable. Now use type specific chunk size. * bmesh copy and editmode conversion now allocate the BMesh mempool size needed for the entire vert/edge/loop/face arrays since its known already.
2012-03-02bmmesh api - use struct rather than int[4] to initialize mesh sizes.Campbell Barton
also correct bad assert() in previous commit.
2012-03-01bmesh api:Campbell Barton
* name bmesh operator func's BMO_slot_buffer_* rather then BMO_slot_* since it wasnt obvious some only dealt with buffer, some both. * more typechecks and asserts of BMO_ functions (I lost some time calling a map with a buffer function that failed silently). * small speedup for extrude check - test if the edge is wire _before_ doign a hash lookup.
2012-03-01bmesh regression with extrude.Campbell Barton
Extruding an edge where both verts were clipped would not create a face for this edge. This is ok when a connected face is also extruded but not when the edge is selected on its own.
2012-03-01style cleanupCampbell Barton
* add extra argument to BMO_slot_map_to_flag() to filter by vert/edge/face * made BMO_slot_map_* / BMO_slot_buffer_* functions stricter with type checking.
2012-03-01Spelling CleanupCampbell Barton
2012-03-01A number of improvements for the file output node(s).Lukas Toenne
1) Old CMP_NODE_OUTPUT_FILE and CMP_NODE_OUTPUT_MULTI_FILE have been merged, only CMP_NODE_OUTPUT_FILE remains. All functions renamed accordingly. 2) do_versions code for converting single-file output nodes into multi-file output nodes. If a Z buffer input is used, the node is made into a multilayer exr with two inputs. (see below). Also re-identifies multi-file output nodes with the CMP_NODE_OUTPUT_FILE type. 3) "Global" format is stored in node now. By default this overrides any per-socket settings. 4) Multilayer EXR output implemented. When M.EXR format is selected for node format, all socket format details are ignored. Socket names are used for layer names. 5) Input buffer types are used as-is when possible, i.e. stored as B/W, RGB or RGBA. In regular file output the format dictates the number of actual channels, so the CompBuf is typechecked to the right type first. For multilayer EXR the number of channels is more flexible, so an input buffer will store only the channels it actually uses. 6) The editor socket type is updated from linked sockets as an indicator of the actual data written to files. This may not be totally accurate for regular file output though, due to restrictions of format setting.
2012-03-01Fix crash on edge slide when object has got multires modifierSergey Sharybin
Issue was caused by fix for slide+automerge bug resulted in accessing to freed memory from multires projection code. Solved by moving multires projection from cleanup callback to special_aftertrans_update. Patch by Antony Riakiotakis with some own corrections.
2012-02-29Changes to startup.blend:Sergey Sharybin
- Pinch/Magnify brush isn't available from vertex paint mode anymore. - Switch default texture to Low Quality bump method The same method is used for new textures and it makes possible to view bump in 3D viewport with GLSL shading. - Anisotropic filtering is set to 2x by default.
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-29UI: change shortcut to clear value in button with mouse over it (for the secondBrecht Van Lommel
time, sorry), from delete to backspace. Delete did not work on buttons in nodes, because it would delete the node itself or if we changed the priority interfere with deleting nodes if the cursor was placed accidentally over a button in a node. Patch by Damir Prebeg.
2012-02-29Refactor of proxies build operatorsSergey Sharybin
Split proxy build operator into three parts: - Prepare context (IMB_anim_index_rebuild_context) which prepares all needed data and stores it in an anonymous structure used by specific builder lately. - Build proxies/timecodes into temporary files (IMB_anim_index_rebuild) This function will build all selected proxies/timecodes into a temporary files so old proxies will be still available during building. - Finish building proxies (IMB_anim_index_rebuild_finish) which copies temporary files over old proxies filed and releases all resources used by a context. Context creation and finishing building happens in a main thread so it's easy and safe to close all opened handles of proxies files and refresh cache after rebuilding is finished. This should finally fix #30315: Temporary proxy files are not erased and old proxys are not updated if the proxy is built more then once (windows)
2012-02-29Bugfix: vertexpaint blur brush was broken.Nicholas Bishop
Just a minor loop iteration bug.
2012-02-29Code cleanup for the neighbor_average() sculpt function.Nicholas Bishop
Moved some of the code into a couple new mesh functions for searching in poly loops to simplify the function, the rest is just cosmetic changes.
2012-02-29Fix a couple typos in comments.Nicholas Bishop
2012-02-29Add solid background behind text in search menu.Nicholas Bishop
This fixes the issue of text being hard to read due to (e.g.) black text on a dark icon. Example: http://www.pasteall.org/pic/show.php?id=27401 Reviewed by Brecht: http://codereview.appspot.com/5699098/
2012-02-28code cleanup: de-duplicate bmesh face creation code,Campbell Barton
2012-02-28bmesh: re-arrange headersCampbell Barton
2012-02-28code cleanup: use float vector size in function definitions, and const's ↵Campbell Barton
where the values are unchanged.