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
2012-11-03style cleanup: tabs & whitespaceCampbell Barton
2012-11-03Render API: shader script node for custom shaders.Brecht Van Lommel
* Shader script node added, which stores either a link to a text datablock or file on disk, and has functions to add and remove sockets. * Callback RenderEngine.update_script_node(self, node) added for render engines to compile the shader and update the node with new sockets. Thanks to Thomas, Lukas and Dalai for the implementation.
2012-11-03RNA/C++: string property writing was missing.Brecht Van Lommel
2012-11-03BPY/RNA: determine callback functions that are allowed to write data by a flagBrecht Van Lommel
on the function instead of checking the name.
2012-11-03Bugfix (own collection)Ton Roosendaal
Adding new image texture to Meshes didn't initialize UVs to 0-1 default. This makes initial display of textures on meshes not work. This fixes my favorite demo case: Open Blender, drop image from desktop on cube.
2012-11-03remove unneeded string in datatoc.c and correct some of the context types in ↵Campbell Barton
our documentation.
2012-11-03OSX: take back 51826 for now, does not fix dalai's problemJens Verwiebe
2012-11-03OSX: a more friendly way to get mounted volumes, alo allows for whitespaces etc.Jens Verwiebe
2012-11-03Fix for [#32992] Switching language does nothing under Windows.Bastien Montagne
Our current intl build for windows is quite old (don't know the exact version), and does not have the new setlocale overwrite. Problem is, new windows dll have no more the gettext_putenv helper, which is currently mandatory to make it work for this OS. So back for now to the ugly long_locales for win. Best fix is probably to build our own static version of libl, but this is not trivial and will require some time. :/ PS: I had a look over i18n/translation in wxWidget, Qt and boost: all implement their own system, even though wxWidget and boost use po/mo files...
2012-11-02Fix #33040: baking selected to active could miss at pixels at the edge of facesBrecht Van Lommel
when there was a tiny mismatch between low and high poly models, maybe because of float precision when editing the mesh. Added a small epsilon now to avoid this.
2012-11-02RNA C++: fixes for lookup_int/lookup_string which were not working in some ↵Brecht Van Lommel
cases, and don't use ReportList for function arguments.
2012-11-02UV editor: change unwrap warning about object non-unit size to only warning ↵Brecht Van Lommel
about non-uniform scale, otherwise it gives warnings for cases when it's not needed.
2012-11-02fix for own recent commit checking bounds off-by-one.Campbell Barton
2012-11-02fix for compositor regression where blur note offset the image one pixel to ↵Campbell Barton
the top right.
2012-11-02own recent commit to add pointer passing between py-rna and our C code, ↵Campbell Barton
broke function calls for C++ rna api. reported as [#33048] Cycles crashes when rendering
2012-11-02OSX: suppress meaningless /net and /home in fileselector also on 10.5+Jens Verwiebe
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-11-01Bugfix #24030Ton Roosendaal
Greasepencil mode 'hold d' was also inserting drivers (hotkey D) on mouse over. The modal operator was default passing on all events, I made it swallowing it. Doesn't seem to be affecting use at all.
2012-11-01all library data now gets the PointerRNA's invalidated on removal.Campbell Barton
2012-11-01Fix for Hue/Sat/Val compositor node. This was using the wrong input socket ↵Lukas Toenne
for the color constant (Fac instead Image).
2012-11-01fix for release buildingCampbell Barton
2012-11-01Bugfix [#33036] Invalid memory read in wm_handlers_do (valgrind warning)Ton Roosendaal
2012-11-01fix for long standing problem with blender 2.5x py api.Campbell Barton
Removing data then accessing would allow invalid memory access and often crash. Example: import bpy image = bpy.data.images.new(name="a", width=5, height=5) bpy.data.images.remove(image) print(image.name) Now access to the removed data raises an error: ReferenceError: StructRNA of type Image has been removed This is the same level of error checking that was done in blender 2.4x but was made difficult by RNA functions not having access to the PyObject's.
2012-11-01Bugfix #33038Ton Roosendaal
TIMER events could get keymodifier set - in this case the user assigned spacebar modifier for setting views (running smoothview timer) Also: cleaned op old hacks from event checking code. The rule should be: 1) generate event properly, frozen state 2) pass on to handlers without exceptions or changing internal state The only exception currently is for the "CLICK" (map key-release to unhandled key-press). Also: made --debug-event print OK. Slight cleanup in eventprinting in general. It was putting the wmEvent state print in wrong place, doing it 4 or 8 times.
2012-11-01remove BLI_utildefines from BKE_DerivedMesh.h headerCampbell Barton
2012-11-01Bugreport - Christian Krupa in irc:Ton Roosendaal
Curves behaved totally bad suddenly. Caused by Campbell code cleanup, replacing this: /* this is for float inaccuracy */ if (t < knots[0]) t = knots[0]; else if (t > knots[opp2]) t = knots[opp2]; with: t = (t < knots[0]) ? knots[0] : knots[opp2]; Tss!
2012-11-01fix for possible buffer overflow in gpu_nodes_get_vertex_attributes() and ↵Campbell Barton
hair_velocity_smoothing() and a unlikely NULL pointer dereference in unlink_material_cb().
2012-11-01style cleanupCampbell Barton
2012-11-01fix for own error - vertex custom-data flag wasnt working with the decimatorCampbell Barton
2012-11-01minor edits to mesh operatorsCampbell Barton
- Rename 'mesh.select_nth' operator menu item 'Every N Number of Verts' to 'Checker Deselect', since its not just de-selecting verts (works on edges and faces too) and the term 'checker' gives a better description of the result. - Rename 'mesh.select_by_number_vertices' to 'mesh.select_face_by_sides', since this is a face selection tool, which wasnt obvious from its name. also remove dissolve by type menu since the option has been removed from the operator and was giving an error.
2012-11-01fix for crash in own recent commit to add comparison options for ↵Campbell Barton
select-similar, missing NULL terminator item in the array.
2012-11-01fix [#30910] Problems: Add Shortcut(s) for "Ctrl Tab" menuCampbell Barton
comparing keymaps was too sloppy or too strict, now sloppy keymap comparison works by setting all the operator properties to their default values if they are not already set, then compare this with the keymap item (ignoring values missing from either one). ... this way any non default keymap setting wont match with an operator menu item which doesnt set this operator at all (a problem sighted in this bug report). developer notes: - IDP_EqualsProperties_ex() function adds an argument to treat missing members of either group to act as if there is a match. - WM_operator_properties_default() function to reset RNA values to their defaults. - add IDP_spit(), debug only function to print out ID properties.
2012-10-31code style: use switch for IDP_EqualsProperties()Campbell Barton
2012-10-31add IDP_MergeGroup(dst, src, overwrite) function,Campbell Barton
like PyDict_Merge()
2012-10-31Bugfix #33031Ton Roosendaal
Holding down non-modifer keys was generating double-clicks - my fault!
2012-10-31Fix blender internal strand render issue with deep shadow buffers, and AA ↵Brecht Van Lommel
samples smaller than the number of shadow sample buffers. There was not enough shadow in such cases, as some of the sample buffers were not filled in.
2012-10-31Bugfix #33032Ton Roosendaal
(since 2010) - Using 2-button mouse emulation (common for tablets) - Press LMB, start painting, press ALT, release LMB - This kept painting to run, since the release event was a MMB, not handled by paint code.
2012-10-31no longer use 'check_existing' to see if we need to have a save popup, ↵Campbell Barton
instead use 'exec' operator on a saved file and invoke on unsaved files. correct missing memset --> CustomData_reset switch too.
2012-10-31fix for asserts caused by own recent commits to use customdata typemap.Campbell Barton
2012-10-31fix for assert when rendering with cycles, caused by my recent commits.Campbell Barton
2012-10-31Fix #31482: menu with scrollers when window is too small, didn't auto scrollBrecht Van Lommel
when using the arrow keys or mouse wheel to activate the next item.
2012-10-31style cleanup and correct own invalid comment.Campbell Barton
2012-10-31UI: fix for menu scrolling when window is too small. It was not working wellBrecht Van Lommel
with arbitrary button layouts like multi column menus, because it was making assumptions about position of previous/next buttons which doesn't work in general.
2012-10-31Fix for #29056: NDOF motion events not configurable in user preferences.Brecht Van Lommel
2012-10-31fix for crash in own commit r51773. drawing VBO's used the wrong origindex.Campbell Barton
2012-10-31style cleanupCampbell Barton
2012-10-31make use customdata typeoffset more, add an assert to ensure its to date.Campbell Barton
2012-10-31don't write tessface customdata layers, since tessfaces are not written either.Campbell Barton
2012-10-31add assert if zero is passed to string copy functions, would copy into first ↵Campbell Barton
byte anyway.
2012-10-31(no commit message)Campbell Barton