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
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-01Cleanup: use unsigned types in 3D view editorCampbell Barton
2019-02-28Fix T61878: Selection does not allways work in wireframe modeClément Foucault
This draw surfaces if the xray option is disabled even in wireframe mode.
2019-02-21Fix T61786: local view not exiting correctly after recent changes.Brecht Van Lommel
2019-02-20Local view: add operator property to disable framing selected objects.Brecht Van Lommel
Default behavior is unchanged still, but can be changed in the keymap. From testing I think this needs better visual feedback to indicate that you are in local view, if the view does not move it's not as clear.
2019-02-20Local view: don't restore selection when exiting local view.Brecht Van Lommel
Losing the selection can be inconvenient, and it's easy to select all local objects before exiting local view if needed.
2019-02-18Wireframe: Fix selection broken since recent wireframe refactorClément Foucault
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-16DNA: rename near/far -> clip_start/clip_endCampbell Barton
Rename for Camera, View3D (also CameraParams & Render not DNA)
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-02Cleanup: use G_FLAG_*/G_FILE_* for G.f/fileflagsCampbell Barton
Was confusing eg: G_AUTOPACK belonged to G.fileflags, G_PICKSEL to G.f.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-24Fix T60807: Can't select when active pose object is hiddenCampbell Barton
Object mode locking wasn't accounting for the 3D view context which doesn't have an active object once its hidden.
2019-01-16Preferences: remove OpenGL select method preference.Brecht Van Lommel
Deprecated GL_SELECT no longer works in OpenGL core profile, so there is no reason to have this.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-08Fix inconsistent naming and behavior for base visible/selected/editable.Brecht Van Lommel
Fixes T60251.
2019-01-07Cleanup: add trailing commas to structsCampbell Barton
2018-12-19Fix T58739: Camera Location, keyframe BugSergey Sharybin
This was originally caused by fix for T53788. Not sure why extra `where_is` is needed there, the object is supposed to be evaluated already.
2018-12-12Merge branch 'master' into blender2.8Campbell Barton
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-12-07Fix T58325: Local view BugDalai Felinto
Aka all the thousand of reports duplicated here. I should have seen this coming, since I had to add a hack in the first place because things were "not working". I should have figured out earlier that COW handles base in a really special way, with its own special object_runtime_backup hack.
2018-11-30Merge branch 'master' into blender2.8Brecht Van Lommel
2018-11-30Revert "3D View: locked camera was using the original view offset"Campbell Barton
This reverts commit 3f31c28a025cf61e2c4df33f28467771ae603965. Gives issues zooming, could be resolved but it mostly worked OK before, and it's not a priority to spend time on, so leave as is for now.
2018-11-30Merge branch 'master' into blender2.8Campbell Barton
2018-11-303D View: locked camera was using the original view offsetCampbell Barton
Now used the original dist instead, since using the distance between the camera and the views offset may seem random from the users POV. This addresses strange behavior noticed in T56934.
2018-11-30Remove from Local View operatorDalai Felinto
This was the old, obscure, little known, M shortcut operator when in local view back in the 2.7x days.
2018-11-28Local View: Objects to be selected once back to regular viewDalai Felinto
They were already selected, but we needed to bump depsgraph.
2018-11-263D View: remove 3D cursorCampbell Barton
Use 3D cursor from the scene (was previously used for local-view).
2018-11-25Local ViewDalai Felinto
Bring back per-viewport localview. This is based on Blender 2.79. We have a limit of 16 different local view viewports. We are using both the numpad /, as well as the regular /. Missing features: * Hack to make sure lights are always visible. * Make rendered mode with external engines to support this as well (probably just need to support this in the RNA iterators). * Support over 16 viewports by taking existing viewports out of local view. The code can use a cleanup pass in the future to unify the test to see if an object is visible (or we can use TESTBASE in more places).
2018-11-23Correct missing NULL check in recent changesCampbell Barton
2018-11-23Fix for weight paint object occluding pose bonesCampbell Barton
This makes it so weight paint + pose mode can't switch to other weight paint objects.
2018-11-23Fix bone selection w/ mixed wpaint & pose modeCampbell Barton
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14WM: enforce descriptions being NULL or definedCampbell Barton
Without this bugs slip through that don't null check the descriptions since many were set to empty strings.
2018-10-05UI: rename Border Select -> Box SelectCampbell Barton
See: T56648
2018-09-27Fix T56915: Selectability in Solid Xray ModeClément Foucault
This was caused by the object center being selected by the wireframe pass. The wireframe pass is now only drawn if we search for the nearest surface. This makes all wire objects (like non-meshes objects) higher priority than mesh surfaces.
2018-09-26Wireframe/Xray: Make Xray option local to wireframe modeClément Foucault
This commit make the Xray option for the wireframe different from the other shading mode. This makes it possible to rapidly switch between wireframe + Xray and Solid mode without Xray. Xray alpha is also decoupled. Both variables are duplicated and exposed separately through RNA.
2018-09-05Fix T56695: Selecting an occluded object in xray causes crashClément Foucault
2018-09-04Xray: Add possibility to select wires in priority before surfacesClément Foucault
If no wires were found, try to select surfaces in a second loop.
2018-07-17Cleanup: moving shading type into View3DShading.Brecht Van Lommel
So all shading settings are in this struct and can be reused in the OpenGL render engine.
2018-07-15GPU_matrix: use Blender's naming conventionsCampbell Barton
Thanks to @sergey for review
2018-07-03View3D: Remove v3d->zbufClément Foucault
This is because depth test is set before drawing anything now. There is no case where we want to draw without depth test that is not selection and this case is not handle by v3d->zbuf anymore. UI assume depth test is off by default. The DRWManager assume it's on. This should fix T55623.
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
2018-06-28GLRefactor: partially remove gl calls from source/blender/editors.Ray Molenkamp
This translates the gl calls to the new GPU_ wrappers from D3501. Given it's tedious and repetitive work, this patch does as much as it can with search + replace, the remainder of the gl calls will need to be manually dealt with on a case by case basis. This fixes 13 of the 28 failing editors when building without opengl. For the list of substitutions see D3502 Reviewers: brecht Differential Revision: https://developer.blender.org/D3502
2018-06-25Cleanup: Nuke most of G.main from GPU code.Bastien Montagne
2018-06-22Fix T55547: "Fit camera to selected" failsCampbell Barton