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
2010-04-02[#21840] When clicking to move a Node it sticks to the mouseMartin Poirier
Add hidden property to be able to force confirm on release (drag immediately is a silly name) on or off. Streamline method for adding common properties to transform operators.
2010-04-02Tiny fix [#21871] Mesh tools, merge, use of "vertices" where only a single ↵Matt Ebb
vertex has been removed.
2010-03-27Fix #21792: changed subdivide operator properties order to reflectBrecht Van Lommel
the order in which smooth and fractal are applied.
2010-03-26Fix [#20829] "Select Vertex Path" EDGE LENGTH not selecting the proper Matt Ebb
vertices (as it did in 2.49b) Removed popup and fixed code to actually use the operator properties.
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-21Fix syntax for ID keyword.Guillermo S. Romero
2010-03-17Fix [#21285] Assigning an Edge Rotate (clockwise) shortcut also deletes ↵Matt Ebb
affected faces when used
2010-02-21[#21269] Alt E extrude options don't appear without Tool Shelf visibleMartin Poirier
Vertex selection count wasn't properly updated after extrude.
2010-02-12correct fsf addressCampbell Barton
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-02-01Mesh Extrude menuMartin Poirier
Todo for Campbell: - Make menu context sensitive - Make menu automatically run the operator if there is only one option Note: Saved configurations and keymaps with references to "Extrude and Move" operator needs to be updated to either call the menu or one of the new extrude macros.
2010-02-01added extrude enum function, cant be used yet because macros have no way to ↵Campbell Barton
expose in a way that lets transform run after.
2010-01-28PROP_ENUM_NO_CONTEXT flag for rna properties, forcing enum item functions to ↵Martin Poirier
be passed a null context (to return non-contextual items). This is set on keymap item operator properties and macro definition operator properties to make them non-contextual (since the context at definition time is most likely not the same then at execution time, it's better to have all options visible). This removes some more errors in keymap export and import. This commit also sanitize some enum item function, making sure they can cope with null context and have usable defaults in that case.
2010-01-26Rename Beauty Fill to Beautify Fill like in 2.4x, more accurateBrecht Van Lommel
description of what it does since it doesn't actually fill, only change an existing one.
2010-01-16Fix: MESH_OT_DELETE wasn't working since rev. 26027, ↵Dalai Felinto
MESH_OT_select_by_number_vertices neither for the MESH_OT_select_... ENUM text fix (s/Triangles/Quads) and invoke added (WM_menu_invoke).
2010-01-16generic operator menu was searching for "type" and using the first enum ↵Campbell Barton
property if it wasnt found. this is too arbitrary and could break if roperty order is changed. store the property in the operator type that is to be used for menu and enum search func's. python function for searching operator enums on invoke. (just need dynamic python enums now) wm.invoke_search_popup(self)
2009-12-15solidify would only work as expecyed if all faces were selected, added an ↵Campbell Barton
override to extrude that means it runs without removing selected faces first, even on a partial selection
2009-12-10rename operators TFM_OT_* --> TRANSFORM_OT_*Campbell Barton
2009-12-03Fix for [#20180] Wrong multiplicator in Random SelectionMatt Ebb
Also: Added extend select option to select random (off by default) Tweaked 'Select Axis' to use an enum for axes
2009-11-30Assorted tweaks for subdivide operator ranges - soft/hard ranges were swapped. Joshua Leung
2009-11-13Bugfix #19871: Extrude does not extrude on normal anymoreJoshua Leung
Just moving some old commented-out code over from the invoke() callback for extrude to the macro operator.
2009-11-11Fix tris to quads not working, operator still needs to get properties,Brecht Van Lommel
but at least now executes with the defaults.
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-11-05operator to select pos/neg verts on any axis relative to the active vertexCampbell Barton
- useful to select the center verts of a model without having to attempt to border select - useful for selecting one half or a model
2009-10-27Shape Propagate to all back in vertex menuCampbell Barton
2009-10-26Fix bug #19715: remove doubles was not working.Brecht Van Lommel
2009-10-18Bugfix #19673: Blender crashes when I open "operator cheat sheet"Joshua Leung
Missing check before using 'obedit' pointer for shape_itemf() (i.e. shapekey enum generator)
2009-10-17simple fix for blend from shape when no keys existCampbell Barton
2009-10-16Add back Blend From Shape in mesh edit mode.Brecht Van Lommel
2009-10-14RNA:Brecht Van Lommel
* Enums with an _itemf callback now never get context NULL passed in, rather a fixed list of enum items are defined which should contain all items (if possible), from which the _itemf callback can then use a subset.
2009-10-13Various warning fixesNicholas Bishop
2009-10-12realized some parts of the code might use screen/vert projection on instance ↵Campbell Barton
objects which dont use the object matrix normally. moved functions outside *_foreachScreen' funcs into their callers (mainly selection tools)
2009-10-05edge loop delete, should be a c macro but they cant do settings atmCampbell Barton
2009-09-28added missing notifyer/depsgraph call to loopcut, fixed tweaking the edge ↵Joseph Eagar
slide operator in the last operator panel, and uncommented a line in the remove doubles op that was making it not work (and tweaked the rna limits a bit there, too).
2009-09-23remove rna function convert_to_triface because it uses an internal editmesh ↵Campbell Barton
function and only the OBJ exporter called this. Converting to tri's on export isnt very important.
2009-09-22minor fixes for merge of soc-2009-kazanbas, rev23422Campbell Barton
- Use CTX_data_main(C) over G.main - no need to define object_type_items inline. - rna_mesh.c - dynamic length array was commented out, not sure why this was needed. Povray and PLY scripts rely on faces having 3/4 verts rather then checking the 4th index is 0 (ok in C, not nice in py).
2009-09-22brought back edge slide.Joseph Eagar
2009-09-18VecAngle3_2D, VecAngle2 and VecAngle3 returned degrees, in arithb.c degrees ↵Campbell Barton
are most common. - These now return radians - added macro RAD2DEG(rad) - renamed VecAngle3_2D to Vec2Angle3 since Vec2* is used in arithb.c for 2D vector functions.
2009-09-17Warning fixes for blenkernel and editors.Brecht Van Lommel
Note sure what to do with this one, and personally think we should avoid using macros for this kind of thing: V_GROW(edges); source/blender/editors/mesh/loopcut.c:232: warning: value computed is not used
2009-09-14remove doubles uses an operator property for the merge distance. it no ↵Joseph Eagar
longer reports number of merged verts to the user, as this violates operator nonmodality and messes up last operator panel workflow.
2009-09-142.5 mesh cleanup: merge tools all work againJoseph Eagar
2009-09-052.5Brecht Van Lommel
Notifiers --------- Various fixes for wrong use of notifiers, and some new notifiers to make things a bit more clear and consistent, with two notable changes: * Geometry changes are now done with NC_GEOM, rather than NC_OBJECT|ND_GEOM_, so an object does need to be available. * Space data now use NC_SPACE|ND_SPACE_*, instead of data notifiers or even NC_WINDOW in some cases. Note that NC_SPACE should only be used for notifying about changes in space data, we don't want to go back to allqueue(REDRAW..). Depsgraph --------- The dependency graph now has a different flush call: DAG_object_flush_update(scene, ob, flag) is replaced by: DAG_id_flush_update(id, flag) It still works basically the same, one difference is that it now also accepts object data (e.g. Mesh), again to avoid requiring an Object to be available. Other ID types will simply do nothing at the moment. Docs ---- I made some guidelines for how/when to do which kinds of updates and notifiers. I can't specify totally exact how to make these decisions, but these are basically the guidelines I use. So, new and updated docs are here: http://wiki.blender.org/index.php/BlenderDev/Blender2.5/NotifiersUpdates http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DataNotifiers
2009-08-17mesh operator documentation patch from Ron walker, (edited a few of the ↵Campbell Barton
descriptions)
2009-08-172.5: Added operator ui() callback for defining own ui layoutBrecht Van Lommel
to show properties. * One problem is that we currently have 3 different kinds of property layouts, single column, two column, and single column with text inside button, probably best to reduce this.. * Last operator panel now shows operator name in the header. * Fix extrude operator to not include transform properties anymore, since they are already there now due to macro system.
2009-08-152.5: warning fixesBrecht Van Lommel
Directories intern/ and source/blender/ now compile warning free again here with scons/gcc.
2009-07-31fix for warnings and implicit declarationsCampbell Barton
also fixed smoke comparing a float's mem-location rather then its value.
2009-07-292.5Ton Roosendaal
Operator goodies! --- Macro operators Operators now can consist of multiple operators. Such a macro operator is identical and behaves identical to other opererators. Macros can also be constructed of macros even! Currently only hardcoded macros are implemented, this to solve combined operators such as 'add duplicate' or 'extrude' (both want a transform appended). Usage is simple: - WM_operatortype_append_macro() : add new operatortype, name, flags - WM_operatortype_macro_define() : add existing operator to macro (Note: macro_define will also allow properties to be set, doesnt work right now) On converting the macro wmOperatorType to a real operator, it makes a list of all operators, and the standard macro callbacks (exec, invoke, modal, poll) just will use all. Important note; switching to a modal operator only works as last in the chain now! Macros implemented for duplicate, extrude and rip. Tool menu works fine for it, also the redo hotkey F4 works properly. --- Operator redo fix The operators use the undo system to switch back, but this could give errors if other actions added undo pushes (buttons, outliner). Now the redo for operator searches back for the correct undo level. This fixes issues with many redos. Note for brecht: removed the ED_undo_push for buttons... it was called on *every* button now, which is probably too much? For example, using the 'toolbar' redo also caused this...
2009-07-212.5: Make shade smooth/flat operators consistent,Brecht Van Lommel
and add object mode operators.
2009-07-192.5Ton Roosendaal
Bugfix: extrudes failed when called a 2nd time, missing statistics update. Reported by Sanne in irc, thanks!