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
2016-08-26Code CleanupJoshua Leung
* Stroke editing functions should be in gpencil_edit.c not gpencil_data.c (the latter is only for handling "CRUD" operations on things like layers, brushes, and palettes) * Deduplicate the GP_STROKE_BUFFER_MAX define
2016-08-26Fix: Color of frame/selected object indicator in 3D View didn't indicate ↵Joshua Leung
GPencil keyframes when there was no active object
2016-08-26GPencil: Select Grouped -> By ColorJoshua Leung
Added a way to select all the currently visible strokes that use the same color as the selected stroke. This can be accessed via the Select Grouped (Shift-G) operator as an alternative to selecting by layer.
2016-08-26GPencil RNA: Set pressure and strength to 1.0 by default for new stroke ↵Joshua Leung
points added via stroke.points.add() This commit adds optional "pressure" and "strength" arguments to the stroke.points.add() method. These are given default values of 1.0, so that old scripts can be ported over to the new API with less effort while reducing confusion about why auto generated strokes won't appear.
2016-08-25Fixed little error in commentSybren A. Stüvel
"amount" is for uncountable things, "number" is for countable things.
2016-08-25Depsgraph: Prioritize evaluation of the new scheduled nodesSergey Sharybin
The idea here is again to finish objects evaluation as soon as possible. Seems to be giving another 3% speedup in the barber scenes.
2016-08-25Depsgraph: Merge some traversal back onSergey Sharybin
After previous commit there is no longer measurable difference in speed and doing all stuff in one go is preferrable here anyway.
2016-08-25Depsgrpah: Use deque for the flush queueSergey Sharybin
The idea of the change is to avoid queue growing too long and handle all the operations as quick as possible. Gives about 3% speedup on one of the barber shots here.
2016-08-25Fix T48788: Diffuse color in BI Textured Solid mode is not updating properly ↵Sergey Sharybin
in Sculpting mode Was caused by 6276726, so for the time being revert the optimization part of change.
2016-08-25Fix T49112: Alembic unicode path issues on Windows.Kévin Dietrich
Now we pass streams to Alembic instead of passing the filename string. That way we can open the stream ourselves with the proper unicode encoding. Note that this only applies to Ogawa archive, as HDF5 does not support streams. Differential Revision: https://developer.blender.org/D2160
2016-08-24Fix T49148: Blender Crash With B select on Skeleton SketchingSergey Sharybin
2016-08-24Fix T49128: Ghost of Previous Mask appears in Double Edge MaskSergey Sharybin
Patch by Ted Schundler (tschundler), thanks! Differential Revision: https://developer.blender.org/D2163
2016-08-24Fix T49130: "Inner Edge" / "Buffer Edge" options in the Double Edge Mask are ↵Sergey Sharybin
wired to the wrong settings Patch by Ted Schundler (tschundler), thanks! Differential Revision: https://developer.blender.org/D2141
2016-08-24Fix T49121: VSE and border render incompatibleSergey Sharybin
For now just check for such incompatible configuration, real fix requires quite some work to be done.
2016-08-23Fix T49150: make new 'operator categories' in search menu i18n-aware.Bastien Montagne
2016-08-23Cleanup: Output argument name and const qualifierSergey Sharybin
2016-08-23Fix T49140: Noise and jitter present at some areas when using ambient ↵Sergey Sharybin
oclusion in Blender internal renderer
2016-08-23attempt to fix compilation error on windowsSergey Sharybin
2016-08-232D stabilization: Fix broken auto-scale all the recent workSergey Sharybin
Auto-scale is expected to work just fine now. Only thing changed now is the pivot point for the scale: it is now the same as rotation pivot, so scaling happens around weighted median of the translation tracks. This seems to be what is actually required for the VFX workflow.
2016-08-23Change Request: use weight centre of location tracks as pivotIchthyostega
Previously, this extension used the translation compensated image centre as reference point for rotation measurement and compensation. During user tests, it turned out that this setup tends to give poor results with very simple track configurations. This can be improved by useiing the weighted average of the location tracks for each frame as pivot point. But there is a technical problem: the existing public API functions do not allow to pass the pivot point for each frame alongside with the stabilisation data. Thus this change implements a trick to package a compensation shift into the translation offset, so the rotation can be performed around a fixed point (center of frame). The compensation shift will then shift the image as if it had been rotated around the desired pivot point.
2016-08-232D stabilization: by default init anchor_frame to frame 1Ichthyostega
It is common in blender to use 1-based counting for frame sequences (while 0-based is allowed). Thus initializing to use frame 1 as reference for stabilization is likely to produce smooth start values in most cases
2016-08-232D stabilization: change presentation of target_scale in UIIchthyostega
Alongside with this change, we fix disabling of Autoscale, because this feature works even when rotation/scale is disabled.
2016-08-232D stabilization: flip orientation of the scale parameterIchthyostega
values > 1 will zoom in and values < 1 zoom out Rationale: the changed orientation is more natural from a user POV and doing it this way is also more consistent with the calculation of the other target_* parameters. Compatibility: This will break *.blend files saved with the previous version of this patch from the last days (test period). It will *not* break any old/migrated files: Previously, the DNA field "scale" was only used to cache autoscale. Only with the Stabilisator rework, "scale" becomes a first class persistent DNA field. There is migration code to init this field to 1.0
2016-08-23Fix inconsistency: expected scale not be subject to scale influenceIchthyostega
We should treat all three "target" ("expected") parameters in a similar way: The "influence" control should only work on the measurement part of stabilisation, i.e. it should only control the automatic part of stabilisation, while the target parameters are deliberately set by the user and thus should even be in effect when the automatic stabilsation is turned down. It used to be so for location and rotation, but for the scale part, I re-used the existing code for autoscale, which also had the scale influence work on the autoscale factor. This was sensible in the old version, since scale_influence was the only way to control the result. But now, the user has always total control trough the "target_*" parameters and thus we should prefer to treat all similar.
2016-08-22Sculpting: Avoid calculating and chaching viewport matricesJulian Eisel
Really couldn't find where this was used.
2016-08-21Cleanup: let's try to avoid too much indirect header imports, makes things ↵Bastien Montagne
harder when some cope changes...
2016-08-20Fix T49060: crashes during render with no apparent reason...Bastien Montagne
Was a concurrent access of pointcache from both particle system and UI (time space). Pointcache not being threadsafe is really an issue to be addressed for its next version, for now simply locking spacetime (like we already do with 3DView), not ideal fix but it's working and safe for release.
2016-08-20Fix crash in OpenVDB highres smoke cache when seeking to frame 0.Alexander Gavrilov
This code obviously should also use the cache_fields flag variable, like the code for reading the lowres data in the same function. This is because fluid_fields actually represents the old state before smoke was reallocated to match cache_fields read from the file, and if it has some fields enabled that aren't allocated any more, it crashes. This also fixes a reverse glitch: when a file was loaded with the current frame in the middle of a baked smoke+fire simulation, smoke appeared immediately, but the fire didn't until the frame was changed. The reason is the same: after file load no fields are initially allocated and thus fluid_fields is 0.
2016-08-20Alembic export UI: avoid displaying empty box.Kévin Dietrich
2016-08-20Fix T49090: color picking draws wrong when using subsurf in material draw mode.Brecht Van Lommel
ccgDM_drawMappedFacesMat was missig a smooth shade model restore, some other functions were redundantly setting it since we can assume it to be the default state already.
2016-08-19Fix T49105: Array modifier displayed in Edit mode crashes on selection, with ↵Bastien Montagne
End Cap enabled. Origindex can be invalid, code was not fully protected against it...
2016-08-19Fix broken keymap loading with disabled ndof - revert part of recent ↵Bastien Montagne
rBb10d0058d72da30 ifdef’ing out defines in DNA/RNA is not a good idea, was breaking alternative keymaps loading from splash screen e.g. (reported by Sergey over IRC, thanks).
2016-08-19Alembic: fix crash accessing invalid objects.Kévin Dietrich
2016-08-19Fix T49111: Automatically add file path suffix for Alembic and ColladaKévin Dietrich
export. This aligns the behaviour of the file selection with the other exporters. The Alembic case would fail if the filepath did not have an extension set. Also set a default file name for the Alembic export operator in case the Blender file was not saved before exporting.
2016-08-19Cleanup: Remove redundant commentJulian Eisel
2016-08-18Cleanup: some bad sizeof() usages.Bastien Montagne
2016-08-18Cleanup/security fix: do not use strcpy (at least in new code).Bastien Montagne
This function is only really secure in a very limited amount of cases, and can especially bite you later if you change some buffer sizes... So not worth bothering with it, just always use BLI_strncpy instead.
2016-08-18Cleanup for previous commit (nasty IDE replacing tads with spaces, tsst)Bastien Montagne
Sorry for the noise :|
2016-08-18Two fixes for optional ndof & fix bplayer for that...Bastien Montagne
Seriuosly, guys... Please always check that kind of changes with and without affected option, and in full build case.
2016-08-18Freestyle: fix wrong arg order, and cleanup confusing loop (both reported by ↵Bastien Montagne
coverity). Error: `origin` and `edge` args were swapped in final `FindOccludee()` call of `ViewMapBuilder::ComputeRayCastingVisibility()` Cleanup: main for loop in `Strip::createStrip()` was really confusing (though correct), generated a false positive in coverity scan, now should be cleaner how it loops over its vprev/v/v2 triplet of consecutive items.
2016-08-18Final UI messages fixes (for this session...).Bastien Montagne
2016-08-18Fix bplayer (c) after NDOF changes from merwinThomas Beck
2016-08-18Cleanup: ifdef function which is only used from ifdef-ed codeSergey Sharybin
2016-08-18NDOF: compile 3D mouse code only if WITH_INPUT_NDOFMike Erwin
When WITH_INPUT_NDOF is disabled, 3D mouse handling code is removed from: - GHOST (was mostly done, finished the job) - window manager - various editors - RNA - keymaps The input tab of user prefs does not show 3D mouse settings. Key map editor does not show NDOF mappings. DNA does not change. On my Mac the compiled binary is 42KB smaller after this change. It runs fine WITH_INPUT_NDOF on or off.
2016-08-18Fix compiler warning after fix for T48913.Brecht Van Lommel
2016-08-18Fix T48913: cycles viewport render stuck in loop due to non-unique dupli ID.Brecht Van Lommel
2016-08-18Fix T49104: normal problem in imported Alembic objectsKévin Dietrich
Recompute the normals if the normals are supposed to be varying (e.g. in the ISchema).
2016-08-17Alembic import: fix scene min/max time computation to take objects withKévin Dietrich
transform animations into account.
2016-08-17Fix T49081: Alembic sampling times are not taking start frame intoKévin Dietrich
account. This resulted in animations always starting at frame 0.
2016-08-17Fix Bevel crashes T49088 and T48858.Howard Trickey
Was calling the fast path for finding edge order in cases where it should not have been called.