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
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2014-01-15Code Cleanup: use iroundfCampbell Barton
also increase precision of rctf print functions
2013-12-20Fix for border select doesn't work with normalization enabledSergey Sharybin
Some lazy developer named Sergey typed zero instead of actual mapping flag in unit mapping function in the original f-curve normalization commit.
2013-12-20UI: restore confirmation popups for delete operators.Brecht Van Lommel
It turned out this was leading to accidental deleting in some cases when the info message was missed by users. Fixes T37801.
2013-12-11User Interface: add colon separator for number buttonsCampbell Barton
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-25UI: remove unnecessary confirmation popupsEmanuel Claesson
This makes a number of operators no longer ask for confirmation, rather it will show an info message after performing the operation. Ref T37422 for decision. In particular, these were changed: * Delete objects, bones, keyframes, masks, mask curves, motion tracks, markers. * Clear and delete keyframes in the 3D view. * Align bone to parents. * Separate bones from armature. * Group/ungroup metastrips in sequencer. * Copy/paste objects to/from buffer. Reviewed By: brecht, dingto Differential Revision: http://developer.blender.org/D35
2013-11-04Fix for uninitialised varJoshua Leung
2013-10-29Project Pampa request: FCurves normalized displaySergey Sharybin
Added two options to a header of FCurve editor: - Normalize which makes it so every individual curve is fit into -1..1 space. - Auto-normalize, which probably is to be called "Lock" which "locks" curve normalization scale. This is useful to prevent curves from jumping around when tweaking it. It's debatable whether it need to be a button to normalize curves n purpose only, and it's fully depends on animator's workflow. Here during Project Pampa we've got Francesco who get used to auto-renormalization and Hjalti who prefers locked behavior. Docs are to be ready soon by Francesco. Thanks Brecht for the review!
2013-10-29Make anim system safer for threadingSergey Sharybin
Remove usages of ANIM_unit_mapping_apply_fcurve in favor of runtime scale factor apply. There're still calls to ANIM_nla_mapping_apply_fcurve are hanging around, they're the next t be cleaned up!
2013-10-26remove null checks for macro definitions, if these fail then something is ↵Campbell Barton
broken elsewhere, better not fail silently.
2013-10-22Ctrl+Alt+SelectMouse now does "Select all keyframes in same channel" inJoshua Leung
DopeSheet too Previously, it only worked in the Graph Editor, though I thought I had implemented it here too.
2013-10-22Adding comments to clarify each set of modifier mappings for animation editorsJoshua Leung
selection ops
2013-10-02fix [#36919] Cannot delete keyframe of animated simulation parameter if ↵Campbell Barton
simulation has been disabled
2013-09-16fix [#36444] view3d.viewnumpad operator should not animateCampbell Barton
when running viewport operations with exec() rather then invoke(), perform the action immediately rather then using smoothview. makes viewport operations usable from python scripts.
2013-09-05code cleanup:Campbell Barton
- add missing headers from cmake (own omission) - quiet rna_test.c unused define warnings. - minor style edits - spelling corrections and ignore all uppercase words with spell checking script.
2013-09-03Bugfix: When deleting all keyframes from F-Curves, don't delete the F-Curve ifJoshua Leung
it has a driver
2013-09-03Graph Editor: Preserve active curve when using AKEY to toggle selection statusJoshua Leung
of keyframe verts Previously, every time you toggled the selection of all keyframes (using AKEY), the active curve would get deselected and deactivated. However, this was a pain when trying to tweak the shape of a particular curve, as doing this would cause that curve to either fade into the background or into the jumble of other curves.
2013-08-27ghash/bli-listbase edits, rename BLI_ghash_pop -> BLI_ghash_popkey (since it ↵Campbell Barton
takes a key as an arg and isnt popping any element from the hash as you might expect). add BLI_pophead/tail, since getting the first element from a list and removing it is a common task.
2013-08-23Fix [#36538] Discontinuity (Euler) Filter - never ends - (deadlock?)Bastien Montagne
Code could enter in an infinite loop when curve value was an odd multiple of PI (i.e. 180°)... Current code was also factorized and got rid of fabs calls! ;)
2013-08-11display an error with python driver expressions when script execution is ↵Campbell Barton
disabled.
2013-07-28use '_exec' suffix for operator execute callbacks, also picky change to ↵Campbell Barton
sizeof() use in BLI_array.h
2013-07-28remove unneeded NULL checks, add one for give_matarar() return value.Campbell Barton
2013-07-27Code cleanup: Remove unused and unneeded codeJoshua Leung
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-07-01Bugfix [#35744] FCurve select changes on Graph Editor ResizeJoshua Leung
Selection state of F-Curves is lost when resizing the Graph Editor. The problem was that SIPO_TEMP_NEEDCHANSYNC was getting set in the graph_init() callback, which gets called everytime the view resizes, and not just the very first time this happens. However, setting this flag forces the selection state to the updated/pulled from the scene data. In the past, it was necessary to set this flag so that we could force F-Curve colors to get initialised correctly. However, things probably changed at some point, so this behaviour is no longer needed. At worst now, opening a new graph editor may not show F-Curve selection correctly synced with the viewport, though that's easily worked around by reselecting whatever it is in the 3d view.
2013-07-01minor change for high res displays, scale fcurve handles and view3d axis size.Campbell Barton
2013-06-27Fix a few DPI/retina scaling issues in the graph editor and movie clip editor.Brecht Van Lommel
Patch #35889 by David Jeske.
2013-06-25Fix unnecessary 3D viewport redraws in various cases, in particular when editingBrecht Van Lommel
node materials. Area and region listener callbacks now get the screen and area pointers passed, so they can do more fine grained checks to see if redraw is really needed, for example depending on the 3D view drawtype.
2013-06-12Bugfix [#35668] Tooltip for Euler Discontinuity Filter was misleadingJoshua Leung
The tooltip seemed to hint that this tool is able to resolve all manner of gimble-lock situations by untangling the curves (i.e. performing some kind of equivalent-angles resolution, keeping in mind the nearest situations nearby). However, this tool currently only performs corrections for the most basic case when large jump+flip discontinuity artifacts appear in euler rotation curves as a result of rotation values getting clipped to +/- 180 degrees, which arises when these rotation curves are the result of baking some physics sim or so. (Also, fixed an unrelated "replace-all" typo in a comment)
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-18Fix #35390: sequencer end frame of preview range was not drawing correct.Brecht Van Lommel
2013-05-11only use OSKEY as a replacement for CTRL on Apple (was already the case in ↵Campbell Barton
many areas).
2013-05-10Fix #35267: cmd+v, cmd+c on OS X for copy/paste worked in some editors like ↵Brecht Van Lommel
the 3D view and text editor but not in the animation editors, node editor and sequencer.
2013-05-09Partial revert of own commits r56604 and r56603:Thomas Dinges
* Reverted the changes to code comments, as suggested by Campbell. It makes it more hard to follow. * Only keep changes to actual UI messages.
2013-05-09UI naming consistency:Thomas Dinges
* DopeSheet -> Dope Sheet. No need to glue the words together. Only changed comments and UI strings, no functional changes. Request by Dalai Felinto.
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton
2013-04-22Bugfix [#34836] Crash when driver variable has path == 'data'Joshua Leung
Most of the places which relied on RNA_path_resolve() did so believing that if it returned true, that it had found a valid property, and that the returned pointer+property combination would be what the path referred to. However, it turns out that if the property at the end of the path turns out to be a "pointer" property (e.g. "data" for Object.data), this would automatically become the pointer part, while the prop part would be set to null. Hence, if a user accidentally (or otherwise) specifies a path for the single-property driver variable type like this, then Blender would crash. This commit introduces two convenience functions - RNA_path_resolve_property() and RNA_path_resolve_property_full() - which mirror/wrap the existing RNA_path_resolve() functions. The only difference though is that these include a check to ensure that what was found from resolving the path was in fact a property (they only return true iff this is the case), and make it explicitly clear in the name that this is what they will do so that there's no further confusion. It is possible to do without these wrapper functions by doing these checks inline, but the few cases that had been patched already were pretty hideous looking specimens. Using these just make it clearer and simpler for all. I've also beefed up the docs on these a bit, and changed these to using bools.
2013-04-10Fix #34941: Space.draw_handler_add now supports PRE_VIEW and POST_VIEW callbacksBrecht Van Lommel
for more editors: timeline, graph, action, NLA, sequencer, image, clip.
2013-03-27I18n fixes for C panels & menus (we have to specify the default bpyrna ↵Bastien Montagne
context here, else we get the horrible "empty" string (as translation_context of panels is an array, not a pointer, so it's never NULL).
2013-03-22correct enums which were in fact variables defined in headers.Campbell Barton
2013-03-22Tweak to previous commit - make range check less strict so that indicators don'tJoshua Leung
flicker off so easily when target moves off screen
2013-03-22Graph Editor: Draw indicators on the active Driver F-Curve which show theJoshua Leung
relationship between the result of driver evaluation (NKEY region stuff) and the end result applied to the driven properties. Example: http://www.pasteall.org/pic/47687
2013-03-16Assorted anim editor fixesJoshua Leung
* Click-select operators don't have "register" flag anymore * Graph Editor click select can be undone, just like everything else * "Current frame" -> "Current Frame" for consistency with rest of menu
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton