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
path: root/source
AgeCommit message (Collapse)Author
2015-03-18Fix crash using "Copy to selected" on ID-propsCampbell Barton
2015-03-18RNA: palette colors apiCampbell Barton
Methods so Python can manage colors. palette.colors.new()/remove()/clear()/active
2015-03-18RNA: move palette into its own fileCampbell Barton
2015-03-18Fix crash using removed data as function argumentsCampbell Barton
2015-03-18Fix RNA active spline assignmentCampbell Barton
2015-03-17Fix T44028: Vertex Colors Baking errorSergey Sharybin
Was wrong color management flag used for some bakers. Actually goes back to 7997e38.
2015-03-17Fix T44027: Normal Edit Mod : Radial from object normals affected by target ↵Bastien Montagne
object scale. The way we were getting diff to apply to vcos from target object was just bad! Also, fixed another related issue - negated scale would be clamped to nearly zero, now only consider absolute version of size (we do not care about its sign here anyway). This should be backported to 2.74 (with previous commit too).
2015-03-17BLI math vec: add 'abs' functions to get absolute values of a vector.Bastien Montagne
Unseful when handling e.g. scale, sometimes.
2015-03-17Part 2 of D1082 by Troy Sobotka, remove our functions that do lumaAntony Riakiotakis
calculations and use the OCIO one instead.
2015-03-17Kick particle systems to force redistribution, needed for reliablyLukas Tönne
applying recent jitter fix.
2015-03-17Fix T44020: Crash exporting fluid sim to fbxSergey Sharybin
The issue is coming from wrong fluid modifier copy callback, which might have left some pointers shared across original and target fluid modifiers.
2015-03-17Fix T44021: Crash switching Rendering Engines while viewport rendering + ↵Sergey Sharybin
animating Make sure preview render job is cancelled before freeing the render engine associated to the viewport.
2015-03-17Cleanup: bool & constMike Erwin
Using bool when we're asking yes/no questions such as whether some GPU feature is supported. Consolidated these simple functions into gpu_extensions.c and grouped them in the header. Const-ified some args where the functions don't modify the pointed-to data.
2015-03-16reverting unintentionally changed value of enum OBJ_TEXTGaia Clary
2015-03-16fix D1130 renamed the enum OBJ_FONT to OBJ_TEXT to avoid naming conflicts in ↵Gaia Clary
Windows
2015-03-16Get rid og gluBuild2DMipmaps on game engine.Antony Riakiotakis
2015-03-16Get rid of gluBuild2DMipmaps on rna API.Antony Riakiotakis
Code here is a bit weird/simpler than GPU_draw, but we can reuse the API here, albeit with a few restrictions (no high resolution, custom filtering mode - which will probably get lost next time blender reloads textures)
2015-03-16Get rid of gluBuild2DMipmaps on gpu_draw.c (use our own imbuf scalingAntony Riakiotakis
functions instead)
2015-03-16Make sure disabling attribute arrays also resets the counter so we don'tAntony Riakiotakis
do it twice.
2015-03-16Fix an incorrect assert in lnor code.Bastien Montagne
There is one case where we do can have only two edges for two loops...
2015-03-16Fix T43178: BGE has hard-coded 60 Hz as frame rateSybren A. Stüvel
Two areas of the BGE use a hard-coded 60 Hz as frame rate. However, this 60 Hz is just a default setting, and can be changed in the Blender interface. This setting is now used instead of the hard-coded 60 Hz. CcdPhysicsEnvironment::SetFixedTimeStep() is actually never called, as we don't even support a true fixed-timestep simulation.
2015-03-16Refer to Task 43975: Deleting a Shapekey can break the relative pointersGaia Clary
This patch would reassign the relative of all keyblocks to the relative of the deleted keyblock. And it fixes the misalignement of the index values after the keyblock is deleted. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1176
2015-03-16PyConsole: double-click to select wordCampbell Barton
patch T43641 by @v-disp with own edits
2015-03-16Correct assertCampbell Barton
2015-03-16Fix T43997: Paste fcurve keeps handle selectionCampbell Barton
2015-03-16CleanupCampbell Barton
2015-03-16PyAPI: bpy.ops enum error was cut shortCampbell Barton
2015-03-16Fix T43976: Edit-mode crash /w (scene/screen.scene) mismatchCampbell Barton
2015-03-16Cleanup: warningsCampbell Barton
2015-03-16Fix T39184: Multisegment bevel profiles should curve in-plane sometimes.Howard Trickey
When the multisegment profile joins two unbeveled edges, all in the same plane, users desire that rather than the current behavior of linear interpolation between those edges, the profile should curve. This changes behavior to do that. The old behavior can be obtained by setting the profile parameter to 0.25, if desired.
2015-03-16Nodes: Shortcuts for Snap and Snap Element MenuJulian Eisel
Added Shift + Tab for Snap and Ctrl + Shift + Tab for Snap Element Menu (consistent to 3D View) NOTE: Exit Group is now Ctrl + Tab instead of Shift + Tab
2015-03-15BGE - new read-only attribute in KX_GameObject python api (LOD level)Pierluigi Grassi
Added a new "current_lod_level" property to the python api of KX_GameObject. The property returns the current lod level of the game object. The purpose of the property is activate logic routines only when an object is at a certain lod-distance from the camera, avoiding to separately recomputing the same distance in the logic script. Usage in python script might look like: owner = bge.logic.getCurrentController().owner lod_level = owner.currentLodLevel if lod_level == 0: ...do something else: ... object might be too distant Reviewers: dfelinto, kupoman, moguri Reviewed By: kupoman, moguri Subscribers: lordloki Projects: #game_engine Differential Revision: https://developer.blender.org/D978
2015-03-15BGE: Fix for T43994 Steering actuator bug with NavmeshJorge Bernal
Now the facing option is taken into account as before This is a regression and to be ported to the final release branch.
2015-03-15BGE : Fix for T43724 and T41599 addObject() with KX_FontObject andPorteries Tristan
overlay scene GetGameObjectType is overwritten in KX_FontObject to differentiate a font object into AddNodeReplicaObject function. Now, in this function, we add fonts in the appropriate list. Reviewers: campbellbarton, moguri, dfelinto, lordloki Reviewed By: lordloki Subscribers: lordloki Projects: #game_logic, #game_engine Differential Revision: https://developer.blender.org/D1130
2015-03-14Cleanup: styleCampbell Barton
2015-03-14BGE: Fix for T43788 Light casts shadow when use_shadow uncheckedJorge Bernal
Makes use_shadow usage consistent across supported lamp types (Spot and Sun) Differential D1148 Reviewers: Moguri, Brecht
2015-03-13RNA: avoid inefficient array printingCampbell Barton
2015-03-13Add argument to DM_to_mesh() function to take ownership over the DMSergey Sharybin
The idea is pretty simple: instead of making temporary copy of all the related custom data layers just pass the ownership from the DM to the mesh. This is really handy in cases when you've got DM which you need to convert to Mesh datablock and wouldn't need that DM after conversion anyway. Foe example, render database conversion, exporters and even Modifier Apply will benefit from this option. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1127
2015-03-13Add an option to mesh.calc_tessface() to get rid of polygons and loopsSergey Sharybin
The purpose of this change is to add extra possibility to render engines and export scripts to reduce peak memory footprint during their operation. This new argument should be used with care since it'll leave mesh in not really compatible with blender format, but it's ok to be used on temp meshes. Unfortunately, it's hard to get scene where it'll show huge benefit because in my tests with cycles peak memory is reached in MEM_printmemlist_stats(). However, in the file with sintel dragon it gives around 1gig of memory benefit after removing the polys which would allow other heavy to compute stuff such as hair (or even pointiness calculation) to not be a peak memory usage. In any case, this change is nice to have IMO, and only means more parts of scene export code should be optimized memory-wise. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1125
2015-03-13Cycles: Free caches used by the synchronized objectsSergey Sharybin
Issue this commit is addressed to is that particle system and particle modifier will contain caches once derived mesh was requested and this cached data will never be freed. This could easily lead to unwanted memory peaks during synchronization stage of rendering. The idea is to have RNA function in object which would free caches which can't be freed otherwise. This function is not intended to deal with derived final since it might be used by other objects (for example by object with boolean modifier). This cache freeing is only happening in the background rendering and locked interface rendering. From quick tests with victor file this change reduces peak memory usage by command line rendering by around 6% (1780MB vs. 1883MB). For rendering from the interface it's about 12% (1763MB vs. 1998MB). Reviewers: campbellbarton, lukastoenne Differential Revision: https://developer.blender.org/D1121
2015-03-13Fix T43959 jittering in 2D texture painting.Antony Riakiotakis
This is still not perfect, but should work smoother now. Previously there was visible wobbling while painting. This can be included in final release.
2015-03-13Fix unstable particle jittered distribution.Lukas Tönne
This was never working for threaded distribution.
2015-03-13Initial compilation support with C++11 featureset enabledSergey Sharybin
This commit makes some preliminary fixes and tweaks aimed to make blender compilable with C++11 feature set. This includes: - Build system attribute to enable C++11 featureset. It's for sure default OFF, but easy to enable to have a play around with it and make sure all the stuff is compilable before we go C++11 for real. - Changes in Compositor to use non-named cl_int structure fields. This is because __STRICT_ANSI__ is defined by default by GCC and OpenCL does not use named fields in this case. - Changes to TYPE_CHECK() related on lack of typeof() in C++11 This uses decltype() instead with some trickery to make sure returned type is not a reference. - Changes for auto_ptr in Freestyle This actually conditionally switches between auto_ptr and unique_ptr since auto_ptr is deprecated in C++11. Seems to be not strictly needed but still nice to be ready for such an update anyway/ This all based on changes form depsgraph_refactor branch apart from the weird changes which were made in order to support MinGW compilation. Those parts of change would need to be carefully reviewed again after official move to gcc49 in MinGW. Tested on Linux with GCC-4.7 and Clang-3.5, other platforms are not tested and likely needs some more tweaks. Reviewers: campbellbarton, juicyfruit, mont29, lukastoenne, psy-fi, kjym3 Differential Revision: https://developer.blender.org/D1089
2015-03-13CMake: unbundle LZO libraryCampbell Barton
Patch T41989 by @hasufell
2015-03-13Pass proper bmain to the updateDepgraph() of modifiersSergey Sharybin
This is mainly to make physics modifiers being able to work with it. For other cases this main is not needed.
2015-03-13Fix T43803: Crash playing smoke animation, when linked as group instanceSergey Sharybin
The issue was caused by missing relations between smoke domain and flow/source objects. This happened because smoke's modifier only iterated base objects and ignored cases when flow/source could be linked to scene via dupli-group and does not have real base. The same seems to be still needed for fluid and dynamic paint modifiers, will do it as a separate commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1172
2015-03-13BGE: Fix for T43980 MouseLook (actuator) triggers MouseMovement (sensor)Jorge Bernal
on other objects permanently only trigger mouse event when it is necessary, this way we avoid conflicts with other mouse sensors.
2015-03-13BGE: Fix for T43793 Increment frame_start/end value to 255 framesJorge Bernal
Currently, for animated textures we were allowing 16x16 tiles but we can reproduce 128 frames only. Reviewers: moguri, sergey, campbellbarton Reviewed By: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1164
2015-03-12View3D: Quad-view opposite axis switchingCampbell Barton
Pressing Numpad9 now orbits to the opposite side in any viewport, with the advantage that it can switch locked-quadview axis to their opposite side.
2015-03-12Cleanup: remove unused viewnumpad codeCampbell Barton