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
2015-03-23Use dupli overrides also for the selection drawing code.alembic_pointcacheLukas Tönne
Now clicking a cached dupli instance also selects the duplicator object as expected.
2015-03-21Merge branch 'master' into alembic_pointcacheLukas Tönne
2015-03-21Cleanup: constify view3d/cameraCampbell Barton
2015-03-21View3D: fix view-selected zoom logicCampbell Barton
- Correct logic converting radius to view distance. - Wasn't taking view-zoom into account converting lens to angle. - Support framing the selection in the camera bounds (for camera locked views). Add ED_view3d_radius_to_dist to handles these details.
2015-03-20Remove unused armature codeCampbell Barton
ED_armature_deselect_all now simply de-selects
2015-03-20Avoid per-draw allocation when drawing currently rendering tilesSergey Sharybin
2015-03-20Take cache library items into account when baking caches.Lukas Tönne
This means we don't bluntly store all the data in a group, but use the selection from the cache library. It also helps to avoid issues with object visibility which is not yet stored in the cache.
2015-03-20Fix/Improve FKey bone creationCampbell Barton
- new bone is now made active - previous selection cleared - bone direction places the tip on the active bone (if available)
2015-03-20Use the temporary 'is_dupli' flag to prevent objects from freeingLukas Tönne
overriden data that is owned by the cache. This is not at all nice ... Hopefully it doesn't get too complicated to work around all these drawing code and depsgraph issues, so the code can be understood and replaced at some point in the future.
2015-03-20Replacing boundbox temporarily during drawing is dangerous, since itLukas Tönne
can be freed at any point. Luckily we only need the boundbox locally for testing dupli visibility.
2015-03-20Fully reset the OB_FROM_DUPLI flag for each dupli instance, in caseLukas Tönne
later duplis can not be found in the cache.
2015-03-20Fix T43786: Cycles bake disregards Auto Smooth (vertex per-face normals)Sergey Sharybin
Added an utility function which performs vertex split based on the loop normal so now backing API matches to what's happening in Cycles and BI in terms of autosplit. Reviewers: dfelinto, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1174
2015-03-20Add missing update adding a shape-keyCampbell Barton
Noticeable when pin is enabled.
2015-03-20Cleanup: warnings bit-shift int overflowCampbell Barton
2015-03-19Cleanup remove unused variableAntony Riakiotakis
2015-03-19Combined storage of render and realtime data in caches.Lukas Tönne
Caches now create 2 new roots below the main 'top' object of Alembic: root and root_render for realtime and render data respectively. This makes it easy to switch the whole archive to either of the modes during baking and for constructing dupli caches. Alternatively individual objects could store hires versions of their data. This would also be more efficient if the cache contains many simple objects which don't have 2 different variants. However, such design decisions are difficult to make at this point and the implementation can be modifier later.
2015-03-19Fix T43989: Sequencer - Ctrl snapping a sequencer strip does not work if you ↵Bastien Montagne
specify the x axis. New 'strip' snapping was simply not computed in case of constrained transform, hence init '0' value was used as frame offset in this case. This commit reorganizes a bit that snapping, to keep it more 'confined' into `snapSequenceBounds()` dedicated function. It still needs a minor hack (setting snapping mode to something else than defualt `SCE_SNAP_MODE_INCREMENT`, to avoid this snapping to be called by contraint code). Thanks to Antony for review and enhancements. This fix should be backported to 2.74.
2015-03-19Make sure the cache baking job cancels properly when interrupted in theLukas Tönne
first stage.
2015-03-19Remove deleted list for palette colorsCampbell Barton
was used because of UI memory access only.
2015-03-19Allow cache libraries to store both render and realtime (viewport) data.Lukas Tönne
This is the default now. It should make workflow a lot more foolproof and convenient, since having only one of these modes active at a time very easily leads to broken renders and confusing situations. The problem is mostly due to the complicated way the depsgraph layer feature is used to handle duplicator visibility. The duplicator is declared as a child of its group's objects (even though no real dependency exists!), so that a visible duplicator triggers updates of invisible group objects, making instances of hidden groups possible. However, dupli caches have to disable this dependency in order to avoid unnecessary costly updates in hidden layers which are overridden by cached data anyway. At the point where these dependencies are created the evaluation context is unknown though, which means we cannot distinguish between render and realtime evaluation for the purpose of cache reading ...
2015-03-19Armature select-hierarchy now uses connected bonesCampbell Barton
Traverse down connected child bones (when available) Also remove redundant bone loops.
2015-03-19Correct recent armature symmetrizeCampbell Barton
Duplicating part of a chain could have invalid 'connected' flag.
2015-03-19Speedup for constraints update from python scriptSergey Sharybin
General idea is to avoid actual calculation from property update() callback and tag things for update later instead. That said, pose constraint flags are now tagged for update and handled as a part of object update. In the new depsgraph it'll be a nice dedicated operation node. Also avoid updating disabled flags for all the modifiers. This part of the path is not totally optimal since it'll still need to iterate over bones in order to get pchan, but to optimize it further would be nice to find a way to avoid pchan requirement all together. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1191
2015-03-19UI cleanup and a bit nicer workflow by treating read/write mode likeLukas Tönne
an enum toggle.
2015-03-19CleanupCampbell Barton
2015-03-19Disable the bake operator if cache reading is enabled.Lukas Tönne
Re-baking cache results is not technically prohibited, but not useful and allowing only read or write selectively gives a nicer workflow.
2015-03-19Transform: Shift for precision PET adjustmentCampbell Barton
Patch T36753 by @hjaarnio
2015-03-19Merge branch 'master' into alembic_pointcacheLukas Tönne
2015-03-19Armature Symmetrize toolCampbell Barton
D1147 by @julien, with fixes/improvements Duplicate bones where needed, otherwise use existing. Keeps parent relations intact, can operate on parts of an armature.
2015-03-19Cleanup: style (armature duplicate)Campbell Barton
2015-03-19Freestyle: pass Main struct to new/copyCampbell Barton
2015-03-19Cleanup: spelling grey -> grayCampbell Barton
2015-03-19Revert part of recent color-management commitCampbell Barton
This adds back rgb_to_grayscale, not all color is managed or depends on the current loaded blend file's CM options. Noted in comments that this is only to be used outside the CM pipeline.
2015-03-18Select nth option to skip stepsCampbell Barton
Patch T43752 @codemanx, added matching curve option.
2015-03-18Skip drawing of particle systems (including hair) when using cacheLukas Tönne
duplis. Particle systems can not be overridden from caches easily, there are too many strings attached to the data and code to make this reliable. Instead, a new simplified data structure for reading hair from caches will be added, which replaces drawing and rendering of particle data. The original particle data is not updated through duplis, so is usually out of sync and should not be displayed.
2015-03-18Calculate bounding boxes for cached DMs to avoid visual popping whenLukas Tönne
using the original Object's bb.
2015-03-18Test for NULL archive pointer when writing as well.Lukas Tönne
This should not usually happen because the operator asks for permission to delete the file prior to writing, but should be checked nevertheless.
2015-03-18Safeguard against crashes from invalid Alembic file paths by returningLukas Tönne
NULL archive pointers. This allows writer/reader code to test against obvious archive errors easily and is unmistakable.
2015-03-18Removed group pointer from cache libraries and use object->cachelibLukas Tönne
pointer instead. This change makes it possible to have group duplicators using different versions of a cache.
2015-03-18Support UV island selection in UV synch and face select mode.Antony Riakiotakis
Enough said, people wanted this for ages, enjoy!
2015-03-18RNA: palette colors apiCampbell Barton
Methods so Python can manage colors. palette.colors.new()/remove()/clear()/active
2015-03-17Removed the now redundant "Read" toggle from cache libraries.Lukas Tönne
At this point the reading is toggled on the side of group duplicators.
2015-03-17Removed the explicit duplicache rebuild operator.Lukas Tönne
The cache is now updated on frame changes automatically, the operator should no longer be needed.
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-17Enable frame updates of duplicache through use of an invalidation flag.Lukas Tönne
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-16Mesh overrides for duplis from cached Alembic data.Lukas Tönne
If a duplicator has cached data it will now replace the derivedFinal mesh of objects with the cached version for drawing. This is a compromise atm: It would be better to actually draw derived meshes directly, so that we don't have to modify objects. Then we could also have multiple different instances of the same orignal object (in whatever way these might be defined). DNA Objects would then be totally separate from duplis, but at this point the drawing and render code makes this unfeasible.
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-16Simplification of the archive init functions in writers and readers.Lukas Tönne
Now the base types for readers/writers are not nominally forming the interface any more (they may be removed entirely later). This makes possible a cleaner init method directly in the Abc Writer/Reader classes. Further work may be required in this area.
2015-03-16PyConsole: double-click to select wordCampbell Barton
patch T43641 by @v-disp with own edits