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
2013-08-28should fix builds for osxCampbell Barton
2013-08-28include slop-space in debug statistics (gcc/clang only)Campbell Barton
2013-08-28Fix for #36589 Node Editor displays incorrect Material name when Pinning.Lukas Toenne
The material button displayed in the node editor header is the "active_material" of the active object. When pinning the node tree this should ideally be the pinned node tree's material slot, but this would require adding even more confusing info in SpaceNode to find the correct slot in addition to the id_from datablock. Solution for now is to just disable these buttons when pinning to communicate better.
2013-08-28Fix #36584, in python inputs/outputs of created node group not accessable by ↵Lukas Toenne
their names. The lookupstring function for node sockets and node tree interface items was using the identifier strings of bNodeSocket. This would ensure uniqueness, but doesn't work nicely because the identifier is not the RNA name property and differs for node groups (with regular nodes it only differs if socket names are duplicate). Now removed the specialized callbacks, so that inputs/outputs collections simply use the name property. In cases where socket names are duplicate (e.g. math node "Value" + "Value") only the first socket is returned, but in such cases access by index is the preferred method anyway.
2013-08-28Fix for #36387, User Preferences "Addons" panel bogs down the whole interface.Lukas Toenne
The addons panel draw function calls addon_utils.modules() which in turn retrieves a list of fake modules from the script paths every time. This can become costly when network paths are included for addons. Solution is to put the scanning process into a dedicated "refresh" function and disable it in frequently called draw and filter functions, i.e. in these cases the cached addons_fake_modules list will be used instead. Note that this may lead to invalid addon lists if script paths are changed (which is not working 100% without restart anyway according to Campbell). For this there is now a "Refresh" operator button in the addons preferences. If necessary and feasible such forced refreshes can be added later too.
2013-08-28cmake: set python, llvm and osl libs as advanced.Campbell Barton
2013-08-28warn when applying transformation does nothing, confusion pointed out in ↵Campbell Barton
[#36583]
2013-08-28remove callback BLI_localErrorCallBack from scanfill, was here for years and ↵Campbell Barton
only ever wrapped printf.
2013-08-28scanfill curves, ngons, masks had their own memarena code and would allocate ↵Campbell Barton
a new one for every fill. now use BLI_memarena and support passing the arena into the fill function, so the arena is re-used, when scanfill is called in a loop.
2013-08-28remove unused function. also typoCampbell Barton
2013-08-28array modifier was adding vertices to the 'targetmap' multiple times.Campbell Barton
this is supported by weldop but would prefer not to allow multiple keys in the map.
2013-08-28remove doubles: source/target can be swapped, check both flags.Campbell Barton
2013-08-28mesh remove doubles was adding verts into the weld_verts.targetmap multiple ↵Campbell Barton
times (new paranoid asserts find this stuff).
2013-08-28internal bmesh operator change, always initialize ghash for mapping slots, ↵Campbell Barton
save having many checks.
2013-08-28style cleanupCampbell Barton
2013-08-28tweak to dragging the ui-list, would lag behind the mouse noticeably.Campbell Barton
2013-08-28avoid calling CustomData_bmesh_get to get CD_PAINT_MASK per vertex while ↵Campbell Barton
sculpting, store offset directly.
2013-08-27Small enhancement to grab-resize of uiLists, suggested by plasmasolutions: ↵Bastien Montagne
do not effectively apply auto-size until we stop grabbing, avoid size of uiLists to switch between rows and maxrows while dragging.
2013-08-27Get rid of madness about fnmatch: BLI_fnmatch did not do the OS checks, they ↵Bastien Montagne
had to be done in every file using fnmatch (autoexec.c did not, wonder how it could work under unix???). Thanks to Brecht for noting this!
2013-08-27uiLists enhacements: dragresize and better GRID layout.Bastien Montagne
Many thanks to Brecht for the review! * You can now drag-resize uiLists (in default or grid layouts). ** Note about "default" size: when you drag below minimal size of the uiList, it will automatically reset to automatic sizing (i.e. size between rows and maxrows, depending on the number of items to show). This often means (e.g. in Materials list with many mat slots) that the list will grow again to maxrows! * Grid uiLists now have a customizable number of columns (previously it was a fixed value of 9), and they will respect the rows/maxrows settings as well (i.e. show a scrollbar when needed), instead of growing indefinitly!
2013-08-27Icons: add a "grip" one.Bastien Montagne
2013-08-27add icons utility make target.Campbell Barton
2013-08-27Cycles / Standalone:Thomas Dinges
* Rename test to standalone. Note: New CMAKE flag is WITH_CYCLES_STANDALONE.
2013-08-27fix [#36301] Mirror modifier does not mirror vertex normals when there are ↵Campbell Barton
no faces.
2013-08-27fix [#36409] Continuous Grab problem with arrow keys.Campbell Barton
2013-08-27fix [#36528] crash when reinitializing bmesh from meshCampbell 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-08-27fix for error reading from freed memory when deleting a screen, would free ↵Campbell Barton
then notifier then check its contents in the notifier queue loop.
2013-08-27Followup to r59536: make "is_argument_optional" available to py, and use it ↵Bastien Montagne
in API doc generation. Thanks Campbell for the much better name suggestion!
2013-08-27This commit adds optional parameters for pyfunc implementations of RNA API ↵Bastien Montagne
(i.e. callbacks, e.g. draw functions of panels, uiLists, or exec/poll/etc. of operators). Thanks to Brecht for he review! Any parameter after the first flagged with PROP_PYFUNC_OPTIONAL will be considered as optional, hence the python code does not have to define/use it. This will ease API evolutions by avoiding to break existing code when adding non-essential new parameters. Note: this will need some update to API doc generation, patch is ready, will have it reviewed by Campbell asap.
2013-08-27Mask primitivesSergey Sharybin
Currently only circle and square, might be easily extended in the future. New primitives are creating at cursor location. This also implied adding 2d cursor to space clip. Also fix set 2D cursor location which didn't work in image editor's mask mode since 2.67. TODO: draw_image_cursor better be moved to some more generic file, but it's not so much important for now and might be solved later. Thanks Campbell for the review!
2013-08-26quiet warnings when building as a python moduleCampbell Barton
2013-08-26RNA fixes regarding dynamic array properties in functions parameters ↵Bastien Montagne
(reviewed by Brecht, thanks!): * It was not clear that RNA_parameter_length_get() & co only affected dynamic properties, renamed them to RNA_parameter_dynamic_length_get() and such. * Fixed RNA_function_find_parameter(), we can't use BLI_findstring() here, need to call RNA_property_identifier()! * Fixed RNA_parameter_get() and RNA_parameter_set(), which were completely wrong for dynamic properties. * Fixed RNA_parameter_dynamic_length_get/set_data(), they did not check the property was actually a dynamic one and were using again ugly blackmagic casting intead of ParameterDynAlloc structure! * makesrna was still using an ugly hackish (and perhaps not always working) code when handling dynamic parameters, now synchronized with RNA_parameter_dynamic_length_get_data and RNA_parameter_get code.
2013-08-26Fix [#36308] Custom hotkey "Set Object Mode" - "Object Mode" doesn't work ↵Bastien Montagne
properly There was actually two different issues: * mode and toggle options had "remanant" values, when e.g. you used MODE_EDIT/toggle, these would be used again with the newly defined keymap (which sets eg MODE_OBJECT/notoggle)... Defining those props as PROP_SKIP_SAVE fixed this. * Toggling was not supported for MODE_OBJECT, fixed this (can indeed be handy to have a shortcut to toggle between current mode and Object one ;) ).
2013-08-26Don't check for an object mode that is excluded as a prerequisite forAntony Riakiotakis
entering this branch of code.
2013-08-26Remove unused function NewBooleanMeshSergey Sharybin
2013-08-26Remove dirty normals assert from drawobject.cSergey Sharybin
Dirty normals already being checked in DerivedMesh.c, and this things really rather be localized in one single place than being checked all over the code.
2013-08-26Cleanup: move defines into anon enums, as suggested by Joshua, thx.Bastien Montagne
Note I let a few as defines for now (esp. base options are not clear to me, how they should be aranged in groups).
2013-08-26Fix cmake Inkscape auto generate of SVG on OS X giving an error popup, the ↵Brecht Van Lommel
binary that is found by find_program is a shim that doesn't take command line arguments.
2013-08-26Cleanup (bitflags are *so much* easy to handle and clear as bit-shift ↵Bastien Montagne
operations than raw values!).
2013-08-26internal changes to ghash/edgehash, reorganize to split out resizing the ↵Campbell Barton
hash from insertion.
2013-08-26Fix uiList labels themed colors.Bastien Montagne
r57760 broke usual labels, and r59511 broke again uiList labels! :P Hopefully every one works as expected now!
2013-08-26Revert r59500, has too much drawbakcs in term of speed... This bug ↵Bastien Montagne
([#36289]) is not really solvable for now, will mark it as todo. :/
2013-08-26Remove (comment out) auto-generating png form svg (r59382) in CMake, handy ↵Bastien Montagne
but gives nasty "false changes" in svn. Let's try not to forget to update PNGs when needed, then!
2013-08-26Bugfix #36324Ton Roosendaal
Commit 57760, June this year, broke Theme colors for Label Buttons. All labels, in every editor or region, now were using same color. These colors have to be derived from the Editor settings. Code for this was mistakingly removed.
2013-08-26add some safety checks in debug mode to ensure sets/hashes aren't confused.Campbell Barton
2013-08-26BGE: Cleaning up the vsync code a little.Mitchell Stokes
2013-08-26no remove double property lookups in ED_fileselect_set_params and redundant ↵Campbell Barton
NULL check in file_main_area_draw.
2013-08-26another header edit neededCampbell Barton
2013-08-26blenderplayer builds againCampbell Barton