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-07-16Renamed CTX_data_linestyle_from_scene() to BKE_get_linestyle_from_scene().Tamito Kajiyama
The function is to retrieve the active line style ID datablock from a scene and there is nothing related to bContext.
2014-06-13Code cleanup: spellingCampbell Barton
2014-05-03Patch D246: Texture Marks for freestyle strokes, written and contributed by ↵Tamito Kajiyama
Paolo Acampora. Reviewers: brecht, kjym3, #freestyle Reviewed By: brecht, kjym3 Differential Revision: https://developer.blender.org/D246
2014-04-22Add type checks for Python context overridesCampbell Barton
it was too easy to use invalid types which would crash or fail silently.
2014-04-07Fix own broken rB95b25e7333c4 (crash on any undo op :/).Bastien Montagne
Issue here was that buttons_texture_context_compute() was getting scene from (button-customized) context, before the button paths (and hence, context) had been updated. So after an undo, it was getting an invalid (freed by undo) scene pointer. Now update BCONTEXT_SCENE path before calling buttons_texture_context_compute().
2014-04-07Fix T39562: Properties panel Pinning is brokenBastien Montagne
'scene' was simply not handled in button context.
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
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-07-27fix for reading outside allocated memory when switching to the 3D view.Campbell Barton
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-06-10fix [#35691] Context Override replaces instead of overridesCampbell Barton
2013-04-13code cleanup: remove unused string formatting in bli_adddirstrings(), also ↵Campbell Barton
remove unused initializations and comment unused vars.
2013-03-07use bool for rna funcs.Campbell Barton
2013-02-19Another huge bunch of new UI translations (some reported by Leon Cheung, ↵Bastien Montagne
thanks!)...
2012-12-28revert r53356, this stopped the leak but still wasn't working nice.Campbell Barton
Add asserts when CTX_data_pointer_get/CTX_data_collection_get are incorrectly used. disable context inspection for now, Will enable again when its working properly.
2012-12-28The new feature printing changed properties in python history list didn't free Ton Roosendaal
a list of context properties. Give lots of leaked small blocks...
2012-12-19improve info view property output for properties.Campbell Barton
- Include RNA properties when checking for matches. - Don't include the context's property store (these are normally set by the UI code and not accessible by a script author) Note: added CTX_data_dir_get_ex() which has options for returning different members from the context.
2012-11-16Python/Context: do not allow any UI context access from threads like renderBrecht Van Lommel
or baking. This basically means you will only have access to bpy.data and bpy.context.scene, not current window, active object, etc, as those are not thread safe anyway and were likely to cause issues already. This fixes #30858, where the UI would lose buttons due to context getting corrupted when editing objects in pre/post render or using luxrender. The context access they did (indirectly) was only using the current scene or data so they still work.
2012-10-25hide text overlays when 'Only Render' option is enabled.Campbell Barton
2012-07-29code cleanup:Campbell Barton
- building without python works again - rename maxi/mini to i_max/i_min (so thay are available for function names) - some minor edits to IK stretch setting (no functional changes).
2012-07-24warn when getting a context member fails because of type mismatchCampbell Barton
2012-06-04mask mode for clip editor developed by Sergey Sharybin, Pete Larabell and ↵Campbell Barton
myself. see: http://wiki.blender.org/index.php/User:Nazg-gul/MaskEditor note - mask editing tools need continued development, feather option is not working 100%
2012-05-27style cleanupCampbell Barton
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-06style cleanup: blenkernelCampbell Barton
2012-05-02Fixes for recent cycles and python/context commits.Brecht Van Lommel
2012-05-02Python/context: tweak code further so that when you set screen/area/regionBrecht Van Lommel
from python, it actually gets data context from there as well.
2012-05-02Python/context: allow overriding window/screen/area/region context for ↵Brecht Van Lommel
running operators from python, this is useful to run an operator in a particular place in the UI.
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-03Popup menu layout inherits context store from button.Lukas Toenne
When adding extra context data in a layout using uiLayoutSetContextPointer, this info was not inherited by popup menus generated in this layout. While operators from regular buttons work fine, the data is missing in operators from menus and such. This patch copies the bContextStore from buttons to the new uiLayout used for popups.
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-01-30Fix #28733, #29885: fix missing scene in context in python. The window managerBrecht Van Lommel
would indirectly clear it when clearing the window from the context. This makes some sense when we support multiple scenes properly, but currently there's still many places assuming there is a single active scene, so keep it available to avoid crashes.
2011-11-07Camera tracking integrationSergey Sharybin
=========================== Commiting camera tracking integration gsoc project into trunk. This commit includes: - Bundled version of libmv library (with some changes against official repo, re-sync with libmv repo a bit later) - New datatype ID called MovieClip which is optimized to work with movie clips (both of movie files and image sequences) and doing camera/motion tracking operations. - New editor called Clip Editor which is currently used for motion/tracking stuff only, but which can be easily extended to work with masks too. This editor supports: * Loading movie files/image sequences * Build proxies with different size for loaded movie clip, also supports building undistorted proxies to increase speed of playback in undistorted mode. * Manual lens distortion mode calibration using grid and grease pencil * Supervised 2D tracking using two different algorithms KLT and SAD. * Basic algorithm for feature detection * Camera motion solving. scene orientation - New constraints to "link" scene objects with solved motions from clip: * Follow Track (make object follow 2D motion of track with given name or parent object to reconstructed 3D position of track) * Camera Solver to make camera moving in the same way as reconstructed camera This commit NOT includes changes from tomato branch: - New nodes (they'll be commited as separated patch) - Automatic image offset guessing for image input node and image editor (need to do more tests and gather more feedback) - Code cleanup in libmv-capi. It's not so critical cleanup, just increasing readability and understanadability of code. Better to make this chaneg when Keir will finish his current patch. More details about this project can be found on this page: http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2011 Further development of small features would be done in trunk, bigger/experimental features would first be implemented in tomato branch.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-05-02reverse string lookup listbase function BLI_findstring counterparts, added ↵Campbell Barton
BLI_rfindstring, BLI_rfindstring_ptr, these search from the end of the listbase (like pythons rfind).
2011-05-02Fix for revision 36403, using BLI_findstring. This loop looks for the lastBrecht Van Lommel
found entry, not the first, made this a bit more explicit in the code now.
2011-05-01replace inline string searches with BLI_findstring(), strcmp(..., ""), with ↵Campbell Barton
char comparisons.
2011-04-01while looking into adding back brush tool keys found mixed texture/image ↵Campbell Barton
paint rna vars, using 'image paint' internally.
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-01-05edits for BPY_extern.h functions, no functional changesCampbell Barton
- remove unused code. - BPY_run_python_script() split in 2, BPY_filepath_exec, BPY_text_exec - renamed funcs.
2010-12-07pass along the context to extension functions, this was already being done ↵Campbell Barton
in all cases except for the render engine. this allows python to NULL its internal context while scripts are not running.
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-10-31initialize structs to zero rather then using memset().Campbell Barton
2010-10-31rename and negate DISABLE_PYTHON --> WITH_PYTHONCampbell Barton
2010-09-27added CTX_wm_operator_poll_msg_get/set so failing poll functions can set ↵Campbell Barton
messages when poll fails, at the moment only python uses this but theres nothing python specific. only added 1 message to a poll function, so messages still need to be set in many more places to be useful.