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
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-26Fix T38619: Confusing logic for Keying Set keyframing SettingsJoshua Leung
The logic used for determining whether certain keyframing settings (i.e. visual, only needed, xyz -> rgb) got applied was wonky. The original intention here was that the Keying Set settings would override the global settings, and the path settings would override what was used for the Keying Set. However, that was not happening in all cases previously, as it was only possible to add flags and not to turn them off. This commit fixes that by introducing separate toggles to control whether the Keying Set/Path's settings override the settings inherited from its parent (i.e. the Keying Set for the Path, and the User Prefs for the Keying Set). The icons used for these toggles could get revised a bit (we need something which communicates "override this"; the current one is the closest I could find) WARNING: If you have old keying sets, this may cause some breakage!
2015-01-26Bugfix T43343: Buttons for Keyframing Settings are Mutually ExclusiveJoshua Leung
Since 1c3f2354f83b3e79dee31d837ca4d7c08d2c3f26 the keyframing settings on Keying Sets have been incorrectly displayed as a clump of toggle buttons, which are usually only used when only one of the options apply. Reverting this back to how it was, while leaving bl_options in place still for the one case where it makes sense to do it that way (i.e. for KeyingSetInfo)
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-08RNA API: remove unused PROP_NEVER_CLAMP flagCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-01-16Code Cleanup: no need to pass empty strings as default valuesCampbell Barton
2013-09-20code cleanup: quiet rna warnings, remove remove_strict_flags() for cmake/rna.Campbell Barton
also set_source_files_properties() wasn't working for rna_*_gen.c files, set dna.c and generated data files with generated property too.
2013-04-23Bugfix [#34869] Switching actions does not trigger animation refreshJoshua Leung
Changing actions via RNA (or apparently from the Action Editor browse menu too) didn't perform all the necessary updates/tagging/recalc needed to have the results of the new action get immediately applied in the 3D view. This caused problems for exporters, as the first frames exported would be incorrect (though this could probably be worked around by manually stepping the current frame forward one frame then back again).
2013-03-16Assorted small fixesJoshua Leung
* Incorrect comment (copy+paste error) in nla_edit * Whitespace in rna_gpencil * The icon for AnimData is now attached to its RNA definition
2013-03-07use bool for rna funcs.Campbell Barton
2013-01-09remove uiPanelClearType(), instead redraw all windows when ↵Campbell Barton
registering/unregistering.
2013-01-09add RNA_def_struct_ptr(...) to use for runtime struct registration, saves ↵Campbell Barton
over 2000 string lookups on startup and gives overall ~10% speedup for starting blender on my system.
2013-01-05Remove some uneeded/irrelevant "PROP_TRANSLATE".Bastien Montagne
This sub-type is actually *only* needed for the "text" property of UI rna api (maybe we should rename it to "PROP_PY_TRANSLATE", as it is anyway only 'active' during conversion from py string to RNA string property...). In fact, I think it should only be used in RNA func properties anyway, as it stores the translated string into the property, it should only be used with "one time" RNA stuff...
2012-12-23Add keying "options" parameter to keyframe_insert() bpy_rna function, so now ↵Bastien Montagne
you can enable 'INSERTKEY_NEEDED', 'INSERTKEY_VISUAL' and/or 'INSERTKEY_XYZ_TO_RGB' when you directly key some property from python script (previously those options were only available through keyingsets). Thanks to Campbell for review!
2012-11-07UI message fixes...Bastien Montagne
2012-11-07code cleanup: use min/max functions rather then macros.Campbell Barton
2012-11-06Bugfix [#33043] Changing the name of a keying set does not change group nameJoshua Leung
This now works for absolute Keying Sets (Builtin Keying Sets are highly context dependent, and usually cannot be renamed, so this shouldn't be a problem there)
2012-11-02all remove functions now invalidate the RNA objects passed, to help script ↵Campbell Barton
authors to avoid bugs with accessing removed data.
2012-10-21A final bunch of UI messages fixes and tweaks, and some ↵Bastien Montagne
BKE_report()<->BKE_reportf() fixes.
2012-09-23fix for incorrect declaration rna_Object_free_duplilist() in cycles.Campbell Barton
2012-06-29code cleanup: bge builds with clang without warnings / errors.Campbell Barton
2012-05-17KeyingSets UI stuff - Replaced names used in RNA enum instead of redefiningJoshua Leung
manually in UI files
2012-05-12style cleanup: mostly whitespace in rnaCampbell Barton
2012-05-05code cleanup: naming - pose/armature/image Campbell Barton
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05Bugfixes for various ID-block references (Constraints, NLA)Joshua Leung
* ID-blocks referenced by Constraints but not being used as the target objects (such as Actions in the Action Constraint, or Text Blocks in PyConstraints) now get usercounts for being referenced in this way. This should fix ancient bugs such as [#19205] and [#8593]. More tests still needed to verify that this does now play nicely with proxies. * Changing actions used by NLA strips should now update the usercounts accordingly
2012-03-30Node socket values now only have soft limits, rather than hard limits, so youBrecht Van Lommel
can type in any value, and only when sliding the number value there is a limit. It was already possible to assign any value to a socket with node linking, so this shouldn't cause any new issues. Also raised the limits on the math nodes, with a patch by Agustin Benavidez.
2012-03-18Code style edits (mostly spliting long lines, and removing trailing spaces).Bastien Montagne
Note about long lines: I did not touch to two pieces of code (because I don’t see any way to keep a nicely formated, compact code, with shorter lines): * The node types definitions into rna_nodetree_types.h * The vgroup name functions into rna_particle.c
2012-03-08Fixing several issues with keyingsets:Bastien Montagne
*Add a new idname to keyingsets, keeping name as label-only (using same string for both made lookup fail when using i18n other than english, as it tried to compare an untranslated static string id against a translated RNA name). Also adding a description string (can be helpful with custom keyingsets, imho). *Fixed a few other bugs related to that area (namely, you can’t deselect current keyingset from the shift-ctrl-alt-I popup menu, and insert/delete key ops were using a rather strange way to get chosen custom keyingset…). *Fixed UI code so that it always uses (RNA) enum, and simplified menu-creation code.
2012-03-06Code cleanup in rna files (huge, higly automated with py script).Bastien Montagne
Addresses: * C++ comments. * Spaces after if/for/while/switch statements. * Spaces around assignment operators.
2011-10-20replace RNA function string lookups with direct assignments, currently the ↵Campbell Barton
lookup returns the same pointer every time. some of these functions - panel/operator poll for eg, are called many times per redraw so while not a bottleneck its unnecessary.
2011-09-28use __func__ rather than function names in rna prints, some were incorrect.Campbell Barton
also replace use of strlen() where checking first char is enough.
2011-09-21add missing define for last commit and tag bl_label & bl_descriptions for ↵Campbell Barton
translating too
2011-09-19/blender/makesrna: Removed final points in UI strings and messages.Bastien Montagne
Plus a few splits of very long lines…
2011-09-15replace BLI_strncpy with BLI_strncpy_utf8 where input isnt ensured to be valid.Campbell Barton
also replace strcpy's which copy using "" with str[0]='\0'
2011-08-12Bye bye vile relics of extinct version control systems,Joshua Leung
Causing a flurry of refresh file prompts post-commit, Confusing local diffs and causing merge conflicts, Stating the obvious; redundant and useless... We shall not miss thou, blasted expand $keywords$
2011-07-07Outliner RMB Menu - AnimData mangementJoshua Leung
* When clicking on "Animation" items in the Outliner, there's now a menu containing from which you can change the action used, and refresh/delete all drivers. * Moved action-setting logic for AnimData actions to a single utility function in anim_sys, since this was starting to be done in too many places already. * Fixed Outliner refresh bug after changing the active action
2011-07-01Icons!Joshua Leung
Animation Editor toggle tweaks: * By popular request, curve visibility toggles in the Graph Editor are now represented using the eyeball icons * Muting is now represented by a speaker icon (a speaker for this purpose seems fairly common?) New icons: * Keying Sets now have their own icons (as found in a proposal on jendrzych's "Pixel Sized" blog) * Drivers also have their own icon now. This is just a hacky one I've devised which doesn't look that great. Suggestions on this are very welcome.
2011-06-09Bugfix: Setting action for AnimData via RNA didn't change theJoshua Leung
usercounts. Cheers to Atom on BA for noticing this.
2011-05-18RNA: make mechanism used by operators to keep python instance alive more ↵Brecht Van Lommel
generic, to be used by render engine later.
2011-05-18RNA: pass Main rather than Context to register/unregister callbacks.Brecht Van Lommel
2011-04-28rename duplicate header defines & remove unused var.Campbell Barton
2011-04-26Adding support for adding copies of existing drivers to other animdataJoshua Leung
blocks via PyAPI/RNA For example: ob = bpy.context.active_object # assumes default cube has some drivers added already before running script dst = bpy.data.objects["Camera"] adt = dst.animation_data_create() for driver in ob.animation_data.drivers: new_driver = adt.drivers.from_existing(driver)
2011-04-19Bugfix [#25960] Action/NLA Editor issues with animdata contextJoshua Leung
Actions now get tagged with an ID-code, which is used to determine what ID-blocks they can be assigned to. This ensures that material actions cannot be assigned to the object-level for example. * Action lists in general will now show only the actions that can be set for that particular slot. This prevents selection of invalid actions, and helps cut down the list of actions. ** An exception here is the Add Action Clip in NLA Editor, which will show all actions but will only add where appropriate. This is because it's not easy/possible to tell in advance which blocktypes to filter for when building this list. (TODO?) * The "Action Editor" is now strictly for object-level action editing+setting now. This avoids repeateded confusion by people who try using this to view their shapekey actions, which should go to the Shape Key Editor instead! ** A context switcher for the legitimate times where this capability might come in handy is still being investigated. * "Floating" actions (i.e. actions in some action_library.blend) are NOT able to be automatically tagged until they are assigned to some datablocks (i.e. loaded onto the rig + played back once). It is possible to write scripts that check for certain RNA-paths and "guess" what datablocks they work on, but it is recommended that you load up the Datablocks Viewer, and go through such actions by hand, setting the "ID Root Type" property as appropriate per action.
2011-03-13Inconsistent use of array_index vs index with animation keyword args.Campbell Barton
Settle with 'index' even though the attribute is array_index.
2011-03-03replace 0 with NULL when used as a pointerCampbell Barton
2011-02-27doxygen: blender/makesrna tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-01Bugfix: Renaming Keying Sets didn't update timelineJoshua Leung
Keying Set RNA props were missing update notifiers