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
2011-10-23use defines for keying set names to avoid confusing them with text and ↵Campbell Barton
having some incorrect names (as fixed in last commit)
2011-10-21Cleaning i18n code.Bastien Montagne
Previous state: Right now, there are "memories" of the "old" (less than a month!) translation way: * A few remaining calls to BLF_gettext() (only UI_translate_do_iface and UI_translate_do_tooltip should be used). * The _() macro still also calls BLF_gettext()! New state: Here are the changes made by the patch: * Removing the no more needed _() macro. * Removing most N_() and _() calls, only keeping the few needed ones (i.e. strings that are in no other way findable by xgettext and/or update_msg script). * Defining in UI_interface.h IFACE_() and TIP_() macros (resp. for UI_translate_do_iface and UI_translate_do_tooltip). * Replacing all calls to BLF_gettext by relevant IFACE_ or TIP_ one. * Replacing all calls to UI_translate_do_iface by IFACE_. * Replacing all calls to UI_translate_do_tooltip by TIP_. All this somewhat clarifies and simplifies the code. On the bf-translations scripts side, this only implies adding IFACE_ and TIP_ as detection markers for xgettext. It also allows to reduce POTFILES.in quite notably (only 20 files remaining in it). Please also have a look at those pages: * Coder POV: http://wiki.blender.org/index.php/Dev:2.5/Source/Interface/Internationalization * Translator POV: http://wiki.blender.org/index.php/Dev:2.5/Doc/How_to/Translate_Blender
2011-10-20strcpy() --> BLI_strncpy(), where source strings are not fixed and target ↵Campbell Barton
size is known.
2011-09-26replace strncpy with BLI_strncpy, in some cases strncpy was being misused ↵Campbell Barton
since it doesnt ensure \0 termination. also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-20i18n: code clean-upSergey Sharybin
- Move all translation-related declarations to BLF_translation.h - Reverted some changes to match trunk svn rev40365
2011-09-19i18n: code cleanup and fixing unneeded translation (when partial translation ↵Sergey Sharybin
is used only)
2011-09-19svn merge -r40222:40344 ^/trunk/blenderSergey Sharybin
2011-09-15Fixing issues with i18n stuff:Sergey Sharybin
- Make gettext stuff draw-time. so switching between languages can happens without restart now. - Added option to translate visible interface (menus, buttons, labels) and tooltips. Now it's possible to have english UI and localized tooltips. - Clean-up sources, do not use gettext stuff for things which can be collected with RNA. - Fix issues with windows 64bit and ru_RU locale on my desktop (it was codepage issue). - Added operator "Get Messages" which generates new text block with with all strings collected from RNA. - Changed script for updating blender.pot so now it appends messages collected from rna to automatically gathered messages. To update .pot you have to re-generate messages.txt using "Get Messages" operator and then run update_pot script. - Clean up old translation stuff which wasn't used and most probably wouldn't be used. - Return back "International Fonts" option, so if it's disabled, no gettext lookups happens on draw. - Merged read_homefile function back. No need in splitting it. TODO: - Custom fonts and font size. Current font isn't nice at least for russian locale, it's difficult to read it. - Put references to messages.txt so gettext can merge translation when name/description of some property changes.
2011-09-15svn merge -r39834:40222 https://svn.blender.org/svnroot/bf-blender/trunk/blenderSergey Sharybin
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-09-14move ED_object_pose_armature --> object_pose_armature_get to so we dont get ↵Campbell Barton
bad level calls in the weight paint branch.
2011-09-01merge with trunk r39834Xiao Xiangquan
2011-08-21Bugfix [#28309] pose lib too many keyframes in automatic keyframingJoshua Leung
mode Pose Library was checking in wrong place for what was selected and what wasn't when determining what should get autokeyed.
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-17Bugfix [#27412] PoseLib bug(maybe also corrupted data)Joshua Leung
* Find first unused frame function was failing to correctly detect conflicts with the lower bound due to the way that markers are not stored in sorted order. Fixed by performing additional search passes. * Fixed some update bugs where there were missing notifiers. Most noticable when the poselib is being viewed in an Action Editor
2011-07-023D view, graph editor, etc. doneXiao Xiangquan
2011-06-30Animation Channels Filtering Refactor - Part 5Joshua Leung
Channels can now be used as "animation containers" to be filtered further to obtain a set of subsidiary channels (i.e. F-Curves associated with some summary channel). The main use of this is that object and scene summary channels can now be defined without defining the filtering logic in three different places - once for channel filtering, once for drawing keyframes in action editor, and once for editing these keyframes. An indirect consequence of this, is that the "Only selected channels" option in Timeline will now result in only the keyframes for a selected bones getting shown (when enabled), instead of all keyframes for the active object. This was requested by Lee during Durian, and is something which has only become possible as a result of this commit.
2011-06-15translate left panelXiao Xiangquan
2011-05-26add the property as an argument to enum item functions, not used yet but ↵Campbell Barton
needed for dynamic python enums.
2011-05-182 minor glitchesCampbell Barton
- removing bone groups didnt set the next one active. - removing poselib was using int for enum rna property.
2011-03-27object/paint/misc-files: floats were being implicitly promoted to doubles, ↵Campbell Barton
adjust to use floats. - also UV angle stretching was using radians->deg which wasn't needed.
2011-03-19remove some redundant vars, assignments & checks.Campbell Barton
2011-03-03use NULL instead of 0 for pointers, (editors)Campbell Barton
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27== UI icons ==Andrea Weikert
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-27pedantic warning cleanup, also remove texspace_edit() since its been added ↵Campbell Barton
using a different method.
2011-02-25Bug fix, irc report.Ton Roosendaal
Menu Help -> Operator Cheat Sheet crashed, calling function with NULL context.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-21Revert r35003. It was just an extra semicolonJoshua Leung
2011-02-21Fixed compilation bug in r35002: C90 forbids mixed declarations and code. ↵Konrad Kleine
I've changed the order of variable declarations.
2011-02-21Bugfixes:Joshua Leung
- Fix for crash with Keying Sets when a Keying Set path has no ID- block to target - Info window now indicates the types of the reports shown by colouring their entries if the entries are not selected.
2011-02-19Bugfix #26150Ton Roosendaal
Crash in hovering over the menu "Pose -> Poselib" sub-items. NULL context passed on to function and read before the test.
2011-02-16sphinx doc gen: multiple examples possible and include the scripts docstring ↵Campbell Barton
inline in sphinx. also tag unused vars
2011-02-16PoseLib Bugfixes, Cleanups, and Missing OperatorsJoshua Leung
* All the various index-related issues should finally be sorted now. It seems you cannot just partially implement some of these active index getter/setters... * Standardised the call used by PoseLib operators to get the Object from which they get the active PoseLib data from * PoseLib operators which require some existing data to work now use a poll() which checks for this * Added back the operator used to make standard actions into ones usable by PoseLib * Added a dummy operator for the apply active pose button which really just calls the same backend functions as "Browse Interactive", but which has a nicer frontend (naming + description) for the purpose of being used in this way * Also, removed some useless code from here
2011-02-16Fix for compiler warning: forgot to hook up a poll callback I definedJoshua Leung
for unlinking PoseLib data
2011-02-16PoseLib UI and Bugfixes:Joshua Leung
- Added operator button to show the current pose. This runs on top of the interactive pose browse functionality, so the tooltip may be a bit obtuse... - Specifying a pose for the Pose browse functionality to set now works correctly. Previously, some old depsgraph hacks were actually interferring with correct updating (only the armature updated correctly, but deforms didn't occur) - Fixed a case of accessing freed memory, which I'm surprised no static checkers have reportedly picked up on yet, or that nobody has really had issues with (probably due to low memory "turnaround" so far)
2011-02-16Pose Lib: Start of PoseLib UI in Armature buttonsJoshua Leung
This presents a UI from which PoseLibs can be assigned/removed from Objects. From here, it is also possible to see the list of poses and add/remove poses from this list. Known Issues: - [Py/RNA/Operators BUG ALERT!] If after immediately starting Blender you try to remove a pose from the PoseLib using the UI buttons, you'll get a an error the first time you do so (but not for subsequent attempts). This seems to be caused by the "pose" enum (dynamically generated) of the POSELIB_OT_pose_remove operator, which does not seem to be getting initialised when the operator's exec gets called without the invoke having been called previously - Changing the active Pose Library still seems to be broken (to be fixed soon) Todos: - Operator button to make the selected pose get shown in the 3d view - Restore the "validate action" operator and add that to this panel - Rename pose access
2011-02-15PoseLib: Adding support for custom propertiesJoshua Leung
Custom properties are now supported by Pose Library. They will get saved and restored correctly during previewing and pose adding. To do this, I've changed PoseLib over from using the "LocRotScale" Builtin Keying Set to the "Whole Character" one instead. One consequence of this, is that now entire poses are stored in the Pose Lib, irrespective of whether you only selected part of a pose to store (i.e. facial controls only, or hand poses only). If this is enough of a problem, I'll make a second Keying Set that does take selections into account, and use that here instead.
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-07PoseLib Bugfix:Joshua Leung
When using Pose Lib with a search string, if the search fails after typing a character and then you try to backspace to get back to the previous search string, the pose does not refresh until you type in another valid letter such that the search works again. Did a logic reshuffled in the get next preview pose function so that this is dealt with properly
2011-02-07PoseLib Preview/Browse Bugfixes:Joshua Leung
- [#25951] Hardcoded Keys in PoseLib modal operator register twice per use Now only the KM_PRESS events are handled. KM_RELEASE events for these are ignored... - While checking the above, I also found that the view-manipulation while previewing functionality was broken. This was one of the benefits of this UI approach over a fixed screenshot-only listview. Fixed now :)
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-23use ICON_NULL define rather then 0, makes UI calls less confusing. (no ↵Campbell Barton
functional change) eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
2010-12-08Changed armature active bone so it is separate from selection this is ↵Campbell Barton
consistent with active object, mesh editmode, curves & metaballs. - active is no longer assumed to be selected. this fixes a simple bug - eg: Adding a new armature, entering pose mode and toggling selection failed. - outliner editbone selection now works like object and pose mode. - mouse selection sets the bone active even when the tip is selected. - active, unselected bones draw as wire color with a 15% tint of the selected color.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-10-31initialize structs to zero rather then using memset().Campbell Barton
2010-10-15bugfix [#24256] Wrong bone subdivision number in tweak panel.Campbell Barton
there were 3 operators for armature subdivision, now only have 1 (as with mesh). + remove unused warnigns.
2010-10-15tag UNUSED() for operator exec() and invoke() functions.Campbell Barton
2010-10-08bugfix [#21610] alt-r for bone (reset rotation) doesnt work in weight ↵Campbell Barton
painting mode pose operators now run in weightpaint mode when the weight paint objects pose armature is in pose mode.