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-02-12correct fsf addressCampbell Barton
2010-02-11[#21095] r26789 'copy vertex group to selected' crash blenderCampbell Barton
2010-02-11More tooltip editingDaniel Salazar
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-02-10rename Nurb to Spline in RNA since Nurb also stores bezier and poly lines.Campbell Barton
2010-02-10copy vgroups to selected objects as long as they have aligned arrays.Campbell Barton
access in the vertex group panel menu.
2010-02-09J-key render switching back, now with 10 slots.Brecht Van Lommel
Implementation note: this was done by giving each Render a slot number, and for every slot a new Render will be created. Not sure if this is ideal, but it ensures that all passes, render info, etc are separate so you can also compare render layers and passes, in 2.4x only whatever it was currently displaying was backed up.
2010-02-08Warning fixes, one actual bug found in sequencer sound wave drawing. AlsoBrecht Van Lommel
changed some malloc to MEM_mallocN while trying to track down a memory leak.
2010-02-03Missed a few places in previous constraints commitJoshua Leung
2010-02-03Bugfix #20902: In PoseMode, ObjectMode constraints can't be deleted or moved ↵Joshua Leung
up/down
2010-02-03[#20905] Blender 2.5 - Crash on drag an dropCampbell Barton
Only allow dnd' adding objects in object mode.
2010-02-03Bugfix #20942: Unassigned Vertex Groups crash Blender on sortJoshua Leung
This commit fixes the crash, but it seems that the sorting doesn't work correctly with or without any vertices assigned.
2010-02-03vertex group sort operator, access from the vgroup panel, sintels mesh has ↵Campbell Barton
144 vertex groups which got quite tedious to look through.
2010-02-02Fix #20932: add surface operator did not pop up type menu when invoked.Brecht Van Lommel
2010-02-02error mirrorring weight group, wasnt checking if the mirror vert was the sameCampbell Barton
2010-01-30Fix #20876: adjusting the settings after adding a new curve, surface,Brecht Van Lommel
or metaball creates duplicates, these did two undo pushes when only one is needed.
2010-01-29* More tweaks to previous cleaningMatt Ebb
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-27Two small dragdrop fixes:Ton Roosendaal
- drop material didn't send correct notifiers to refresh view - drop material gave error print
2010-01-27- duplicate window crasheing when it was full screenCampbell Barton
- keymap item was missing NULL check crash - editmode object in inactive layer crash
2010-01-27[#20728] "Export UV Layout" overwrites existing files (without feedback)Matt Ebb
The 'save over' popup was only appearing based on a string comparison of the operator name ("Save"). Changed this to use a hidden operator property: "check_existing". Python operators must have this property for the file selector confirmation too. This property can also be set to false, to prevent checking for existing files, useful in the File->Save menu item to prevent the dangerously missable confirmation popup.
2010-01-26Drag and drop 2.5 integration! Finally, slashdot regulars can useTon Roosendaal
Blender too now! :) ** Drag works as follows: - drag-able items are defined by the standard interface ui toolkit - each button can get this feature, via uiButSetDragXXX(but, ...). There are calls to define drag-able images, ID blocks, RNA paths, file paths, and so on. By default you drag an icon, exceptionally an ImBuf - Drag items are registered centrally in the WM, it allows more drag items simultaneous too, but not implemented ** Drop works as follows: - On mouse release, and if drag items exist in the WM, it converts the mouse event to an EVT_DROP type. This event then gets the full drag info as customdata - drop regions are defined with WM_dropbox_add(), similar to keymaps you can make a "drop map" this way, which become 'drop map handlers' in the queues. - next to that the UI kit handles some common button types (like accepting ID or names) to be catching a drop event too. - Every "drop box" has two callbacks: - poll() = check if the event drag data is relevant for this box - copy() = fill in custom properties in the dropbox to initialize an operator - The dropbox handler then calls its standard Operator with its dropbox properties. ** Currently implemented Drag items: - ID icons in browse buttons - ID icons in context menu of properties region - ID icons in outliner and rna viewer - FileBrowser icons - FileBrowser preview images Drag-able icons are subtly visualized by making them brighter a bit on mouse-over. In case the icon is a button or UI element too (most cases), the drag-able feature will make the item react to mouse-release instead of mouse-press. Drop options: - UI buttons: ID and text buttons (paste name) - View3d: Object ID drop copies object - View3d: Material ID drop assigns to object under cursor - View3d: Image ID drop assigns to object UV texture under cursor - Sequencer: Path drop will add either Image or Movie strip - Image window: Path drop will open image ** Drag and drop Notes: - Dropping into another Blender window (from same application) works too. I've added code that passes on mousemoves and clicks to other windows, without activating them though. This does make using multi-window Blender a bit friendler. - Dropping a file path to an image, is not the same as dropping an Image ID... keep this in mind. Sequencer for example wants paths to be dropped, textures in 3d window wants an Image ID. - Although drop boxes could be defined via Python, I suggest they're part of the UI and editor design (= how we want an editor to work), and not default offered configurable like keymaps. - At the moment only one item can be dragged at a time. This is for several reasons.... For one, Blender doesn't have a well defined uniform way to define "what is selected" (files, outliner items, etc). Secondly there's potential conflicts on what todo when you drop mixed drag sets on spots. All undefined stuff... nice for later. - Example to bypass the above: a collection of images that form a strip, should be represented in filewindow as a single sequence anyway. This then will fit well and gets handled neatly by design. - Another option to check is to allow multiple options per drop... it could show the operator as a sort of menu, allowing arrow or scrollwheel to choose. For time being I'd prefer to try to design a singular drop though, just offer only one drop action per data type on given spots. - What does work already, but a tad slow, is to use a function that detects an object (type) under cursor, so a drag item's option can be further refined (like drop object on object = parent). (disabled) ** More notes - Added saving for Region layouts (like split points for toolbar) - Label buttons now handle mouse over - File list: added full path entry for drop feature. - Filesel bugfix: wm_operator_exec() got called there and fully handled, while WM event code tried same. Added new OPERATOR_HANDLED flag for this. Maybe python needs it too? - Cocoa: added window move event, so multi-win setups work OK (didnt save). - Interface_handlers.c: removed win->active - Severe area copy bug: area handlers were not set to NULL - Filesel bugfix: next/prev folder list was not copied on area copies ** Leftover todos - Cocoa windows seem to hang on cases still... needs check - Cocoa 'draw overlap' swap doesn't work - Cocoa window loses focus permanently on using Spotlight (for these reasons, makefile building has Carbon as default atm) - ListView templates in UI cannot become dragged yet, needs review... it consists of two overlapping UI elements, preventing handling icon clicks. - There's already Ghost library code to handle dropping from OS into Blender window. I've noticed this code is unfinished for Macs, but seems to be complete for Windows. Needs test... currently, an external drop event will print in console when succesfully delivered to Blender's WM.
2010-01-26weight panel editing now supports mirroringCampbell Barton
- use mirror when the option is enabled in editmode. - fliped group names are used when they exist. - only the setting that is edited will be applied to the mirrored verts group. - copy value is applied to all mirrored verts of the selection. - normalize normalizes all vgroups and mirrors. utility functions defvert_sync and defvert_sync_mapped, similar to defvert_copy but does not remove existing groups and optionally creates groups as needed. defvert_sync_mapped uses a an int array for mapping the flipped values.
2010-01-26Fix #19802: tweaking the values of e.g. the add tube operator whenBrecht Van Lommel
entering editmode on a second mesh would create a duplicate tube. Cleaning the undo stack from the previous mesh would mess up the redo. Also, OBJECT_OT_mode_set was causing enter/exit editmode undo push to be done twice, now it leaves undo push to the operator it calls.
2010-01-26rename defgroup functions to be more consistant.Campbell Barton
* no functional changes *
2010-01-26Fix for make duplicates real, put new objects on same layers asBrecht Van Lommel
duplicator instead of original object.
2010-01-26Fix #20803: convert button in particle modifier didn't workBrecht Van Lommel
for creating duplis yet.
2010-01-26Assign automatic/envelope weights in weight paint mode is back,Brecht Van Lommel
accessible from W key and in new Weights menu in the header.
2010-01-26panel for adjusting the active vertex groups weightsCampbell Barton
2010-01-25Remove unneeded notifier data added in revision 26219.Martin Poirier
Fix a lot of notifier calls to stop abusing ND_TRANSFORM and use more appropriate data flags.
2010-01-22Cleaned up some printfs in editors/ - converted some to reports, hid others ↵Matt Ebb
behind G_DEBUG.
2010-01-22Fixed newly added group instances not getting any layers assigned.Matt Ebb
2010-01-21fix for baking crashCampbell Barton
2010-01-21Fix [#20750] adding Lattice object in Local space doesn't appearsMatt Ebb
Now add object operators take a layer parameter (hidden in UI) to determine their layer when created.
2010-01-20use a search popup for the add group menu item when there are more then 10. Campbell Barton
2010-01-19Motion Paths - (Part 3) Operators, Drawing, and FixesJoshua Leung
This commit makes the new-style Motion Paths work for Objects and Bones. Motion Paths can either be added for Objects (Object buttons) or for Selected Bones in PoseMode (Armature Buttons), and/or removed from these panels too. Changes: * Changed the way the baking code worked, since it was better to be able to bake a bunch of objects at once, instead of doing it per object * Fixed a variety of bugs regarding initialising defaults and reading old files * Added operators for Objects (like for bones), and replaced the existing code for bones. * Fixed bug with baking code that was causing it to bake the wrong ranges Todos: * Frame number drawing is currently messed up, since the "cached" text drawing takes into account the object transforms. * The new MotionPath panels currently appear as the first panels in the respective contexts, probably due to the order in which the files are included. This needs some fixing, though not sure what the best way is yet.
2010-01-18revert for last commit, this should fix the proplem properly.Campbell Barton
- selected bones on hidden layers would be selected for weight painting (confusing to the user). use the 'active' bone instead. - when no weight group was set, the index used for the bone group was off by 1.
2010-01-18fix for weight painting bug, weight painting would fail when entering weight ↵Campbell Barton
pait mode in some cases.
2010-01-17bugfix [#20639] BF25_SVN_25888 and below - OBJ and 3DS import failsCampbell Barton
blender supports type changing for textures in a way that python doesnt. add a new general function. Example usage: tex = bpy.data.textures.new("Foo") tex.type = 'IMAGE' tex = tex.recast_type() Macro to give the number of users accounting for fake user. ID_REAL_USERS(id) Use this so you can remove a datablock if it has a fake users as well as apply transformations to it in the 3D view. Move api function bpy.data.add_texture() --> bpy.data.textures.new()/remove()
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)
2010-01-15- particle drawing was using invalid memory with weights.Campbell Barton
- particle set weight operator (Shift + K) and from the menu. - mirror vertex groups operator can also flip weight group names. a number of utility functions for weight groups added int *get_defgroup_flip_map(struct Object *ob); void flip_vertexgroup_name (char *name_r, const char *name, int strip_number); // moved from modifier.c void copy_defvert (struct MDeformVert *dvert_r, const struct MDeformVert *dvert); void flip_defvert (struct MDeformVert *dvert, int *flip_map);
2010-01-15a new generic invoke function - WM_enum_search_invoke()Campbell Barton
This can search operators enum property. Make proxy menu could easily get too big. use the new search popup.
2010-01-14spelling errors, no real changes to code.Campbell Barton
2010-01-14Changed 3D View menu Duplicate Linked to use the same Matt Ebb
duplicate linked + move macro as in the default key map (alt d).
2010-01-12Fix [#20644] new curve sets itself to the origin, but the pivot to the cursorMatt Ebb
+ Cleaned up the nurbs spin operator and gave it properties rather than relying on context
2010-01-11- player building againCampbell Barton
- fix for compiler warnigns - bpath reporting was incorrect
2010-01-11Fix [#20600] First added camera is not made activeMatt Ebb
Also forced view align on when adding cameras
2010-01-11* Restored vertex parent Matt Ebb
The operator was already there and written, just didn't have a hotkey assigned. Gave it an icky popup menu like object mode parent until we get a nice non-blocking report viewer.
2010-01-10Make linked animdata working again, copies NLA too, as well as ObData ↵Campbell Barton
animdata where types match
2010-01-10- fix for crash if drivers were used in the .B.blendCampbell Barton
- fix for problem where proxy objects could enter editmode but not exit